### Android framework version .NET 11 ### Affected platform version NativeAOT runtime ### Description Track on-device test coverage that is still excluded when running `Mono.Android.NET-Tests` with NativeAOT. - [x] Run the `Java.Interop-Tests.dll` assembly - Enabled by https://github.com/dotnet/android/pull/10496 - One trimmable-typemap fixture remains excluded by name; see below - [x] Enable the `GCBridge` category - Enabled by https://github.com/dotnet/android/pull/10494 - GC bridge flakiness is tracked separately by https://github.com/dotnet/android/issues/10567 - [ ] Restore the remaining GC/JNI concurrency test - `Java.InteropTests.JnienvTest.ToLocalJniHandleSurvivesConcurrentCollection` - This test has both `GCBridge` and `NativeAOTIgnore` categories - [ ] Enable the `SSL` category - It is still excluded for NativeAOT in `TestInstrumentation.ExcludedCategories` - https://github.com/dotnet/android/pull/12058 replaced an external HTTPS dependency with a local test server, so this category should be retried - [ ] Enable the `NTLM` category - It is still excluded for both CoreCLR and NativeAOT - Related CoreCLR test tracker: https://github.com/dotnet/android/issues/10069 - [ ] Restore `System.ExceptionTest.InnerExceptionIsSet` - It has `NativeAOTIgnore` because NativeAOT stack traces are limited - [x] Keep `System.AppContextTests.TestPrivateSwitches` excluded by design - The tested private switches only exist in the MonoVM and CoreCLR BCL assemblies - [ ] Resolve or accept the trimmable-typemap exclusion for `Java.InteropTests.InvokeVirtualFromConstructorTests` - `[JniAddNativeMethodRegistrationAttribute]` is unsupported by the trimmable typemap and emits XA4251 - Related issue: https://github.com/dotnet/android/issues/11170 - [x] Remove the obsolete `AndroidClientHandler` failure from this tracker - `AndroidClientHandler` was removed by https://github.com/dotnet/android/pull/11393 - Current HTTP-handler test exclusions are represented by the `SSL` and `NTLM` items above - [x] `Java.LangTests.ObjectTest.JnienvCreateInstance_RegistersMultipleInstances` - Fixed by https://github.com/dotnet/android/pull/10107 ### Steps to Reproduce Run: ``` .\dotnet-local.cmd build tests\Mono.Android-Tests\Mono.Android-Tests\Mono.Android.NET-Tests.csproj -t:Install,RunTestApks -bl -p:PublishAot=true -c Release ```
Android framework version
.NET 11
Affected platform version
NativeAOT runtime
Description
Track on-device test coverage that is still excluded when running
Mono.Android.NET-Testswith NativeAOT.Run the
Java.Interop-Tests.dllassemblyJava.Interop-Testson NativeAOT #10496Enable the
GCBridgecategoryGCBridgecategory for NativeAOT #10494Restore the remaining GC/JNI concurrency test
Java.InteropTests.JnienvTest.ToLocalJniHandleSurvivesConcurrentCollectionGCBridgeandNativeAOTIgnorecategoriesEnable the
SSLcategoryTestInstrumentation.ExcludedCategoriesSslTest.HttpsShouldWork#12058 replaced an external HTTPS dependency with a local test server, so this category should be retriedEnable the
NTLMcategoryRestore
System.ExceptionTest.InnerExceptionIsSetNativeAOTIgnorebecause NativeAOT stack traces are limitedKeep
System.AppContextTests.TestPrivateSwitchesexcluded by designResolve or accept the trimmable-typemap exclusion for
Java.InteropTests.InvokeVirtualFromConstructorTests[JniAddNativeMethodRegistrationAttribute]is unsupported by the trimmable typemap and emits XA4251Remove the obsolete
AndroidClientHandlerfailure from this trackerAndroidClientHandlerwas removed by Remove the obsolete AndroidClientHandler class #11393SSLandNTLMitems aboveJava.LangTests.ObjectTest.JnienvCreateInstance_RegistersMultipleInstancesManagedValueManager#10107Steps to Reproduce
Run: