Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0a91bbf
[tests] Migrate remaining test suites to MSTest/MTP
simonrozsival Nov 17, 2026
11c3b1c
[docs] Pass test DLLs to dotnet test with --test-modules
simonrozsival Nov 17, 2026
68cc0e0
[tests] Convert NUnit tests added on main
simonrozsival Nov 17, 2026
72440db
[tests] Restore on-device global.json files; drop vacuous runtime ass…
simonrozsival Nov 17, 2026
519550a
[tests] Fix two Xamarin.Android.Build.Tests conversion regressions
simonrozsival Nov 18, 2026
ac9c1d2
[tests] Fix NUnit tests added on main after rebase
simonrozsival Nov 18, 2026
3cc4e27
[tests] Fix objdump streaming, Maven cache race and GC bridge wait
simonrozsival Nov 18, 2026
77e62f3
[tests] Disable source control queries in generated test projects
simonrozsival Nov 18, 2026
d24484b
[tests] Remove blank line from merged test setup
simon Nov 21, 2026
eebd146
[tests] Re-apply upstream test changes lost in the rebase
simonrozsival Nov 21, 2026
b60b616
[ci] Remove RunSlicedTests.cs
simonrozsival Nov 21, 2026
6fedd90
[tests] Run each AndroidMavenLibrary test once
simonrozsival Nov 23, 2026
3d314ae
[tests] Convert NUnit tests added on main
simonrozsival Nov 26, 2026
bd9ca87
[tests] Fix argument order in converted Kotlin inline-class asserts
simonrozsival Nov 26, 2026
8686f05
[tests] Return generator output as a tuple in Kotlin tests
simonrozsival Nov 26, 2026
91b16e9
[tests] Convert more NUnit tests added on main
simonrozsival Nov 27, 2026
ceee83d
[tests] Convert NUnit tests added on main since the last rebase
simonrozsival Nov 27, 2026
a10f2b4
[tests] Fix two converted asserts
simonrozsival Nov 27, 2026
1d20ef9
[tests] Use MSTest TestContext in NativeLibraryLoadTests diagnostics
simonrozsival Nov 28, 2026
22cf535
[tests] Address per-project MSTest migration review findings
simonrozsival Nov 28, 2026
8f42cb7
[tests] Fix device re-setup after restart and split retry results
simonrozsival Nov 28, 2026
607b4ac
[tests] Don't depend on the Retry extension keeping the final attempt
simonrozsival Nov 28, 2026
f42da0e
[tests] Remove the stale SourceWriter-Tests CI note
simonrozsival Nov 28, 2026
5b1497b
[tests] Convert NUnit tests added on main since the last rebase
simonrozsival Nov 29, 2026
d40b6a4
[tests] Keep setup failures and retried-run attachments visible
simonrozsival Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- `src/Java.Interop/`, `src/Java.Interop.Tools.*/` - JNI bindings and Java-to-.NET interop tooling
- `src/Microsoft.Android.Build.BaseTasks/` - Shared MSBuild task infrastructure: `AndroidTask`, `AsyncTask`, NRT extensions, and common file/process utilities
- `src/Xamarin.Android.Tools.AndroidSdk/` - Shared Android SDK/JDK discovery, `AdbRunner`, `EmulatorRunner`, and SDK info utilities
- `tests/` - NUnit and MSTest fixtures, integration tests, device tests
- `tests/` - MSTest fixtures, integration tests, device tests

**Build System:** MSBuild + .NET Arcade SDK + CMake (native)

Expand Down
6 changes: 3 additions & 3 deletions .github/skills/code-review/references/testing-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Guidance for test code. The repo-specific conventions (e.g., `BaseTest`,
| Check | What to look for |
|-------|-----------------|
| **`BaseTest`** | Build integration fixtures that need its project, SDK, or platform helpers can follow existing `BaseTest` patterns; standalone tooling fixtures need not inherit it. |
| **Test framework** | Follow the fixture's NUnit or MSTest conventions; disable parallel execution only when needed. |
| **Test framework** | Use MSTest conventions (`[TestClass]`, `[TestMethod]`, `[DataRow]`/`[DynamicData]`, `[TestCategory]`); add `[DoNotParallelize]` only when needed. |
| **Test command** | See the `tests` skill: standalone tooling uses `dotnet test`; full-build tests use the local SDK. |
| **Tests must earn their place** | Flag new tests that duplicate coverage, overfit the implementation, or rely on GC timing. Request a test only for an unprotected real regression, never as a default. |
| **Test assertions** | Assert the relevant behavior and add diagnostic context when a failure would otherwise be ambiguous. |
Expand All @@ -35,7 +35,7 @@ Flag as ❌ in new or modified tests when they can fail without a product bug; a
| **No sleeps as synchronization** | Fixed `Thread.Sleep`/`Task.Delay` waits for a process, device, or log line are races. Wait for an explicit condition (exit code, `sys.boot_completed`, unique log marker, `TaskCompletionSource`) with a generous deadline and diagnostics on timeout. |
| **Deterministic concurrency tests** | Reach the intended state with gates (`TaskCompletionSource`, `ManualResetEventSlim`, blocking streams), not delays, GC timing, or finalizers. |
| **Unique test directories** | Use a per-case subdirectory under the shared `Root`, named with every distinguishing parameter; `TestName` alone collides across `[TestCase]`/`[Values]` rows. |
| **No shared mutable state** | Don't share caches (NuGet, Maven, `~/.android`), fixed `%TEMP%` paths, environment variables, the current directory, or statics. Use `[NonParallelizable]`, with a reason, only when isolation is impossible. |
| **No shared mutable state** | Don't share caches (NuGet, Maven, `~/.android`), fixed `%TEMP%` paths, environment variables, the current directory, or statics. Use `[DoNotParallelize]`, with a reason, only when isolation is impossible. |
| **No process-wide counter crosstalk** | Other tests and pending finalizers change gref counts, peer maps, GC counts, and thread-pool state. Don't assert exact deltas; assert on objects the test owns (a specific handle or weak reference). For `GC.KeepAlive` fixes, follow the GC-timing rule above. |
| **No avoidable network** | Prefer small in-repo fixtures to remote SDKs or dependency graphs; when a download is under test, report network failures separately. |
| **Current run's outputs only** | Delete old logs before each build. Clear logcat before the run or search after a unique per-run marker; `logcat -d` alone includes old entries. |
Expand All @@ -45,5 +45,5 @@ Flag as ❌ in new or modified tests when they can fail without a product bug; a
| **Reset and await device state** | After changing locale, time zone, or settings, wait for the device and package manager to be ready; restore in teardown. |
| **Small device matrices** | Use representative cases; put exhaustive culture/runtime×ABI coverage in host-side tests. |
| **No retries that hide flakes** | No `[Retry]`, rerun loops, or catch-and-ignore around assertions. Fix the race, or remove a test without unique coverage. |
| **Ignored tests need an issue** | Flaky `[Ignore]`, `Assert.Ignore`, or platform skips must link a tracking issue. |
| **Ignored tests need an issue** | Flaky `[Ignore]`, `Assert.Inconclusive`, or platform skips must link a tracking issue. |
| **Justify expensive tests** | New slow or device tests must cover behavior no cheaper test covers. |
22 changes: 10 additions & 12 deletions .github/skills/tests/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: tests
description: >-
Runs, discovers, or recommends dotnet/android tests. Handles standalone tests
(plain dotnet test), full-build tests (local SDK required), and on-device
MTP/NUnit tests. Maps source files to relevant test suites. Trigger on test
MTP tests. Maps source files to relevant test suites. Trigger on test
execution requests, questions about available tests, or "which tests should I
run for this change?"
---
Expand Down Expand Up @@ -81,25 +81,23 @@ In a worktree with no commits on its branch, SourceLink fails with `Repository h

### Host-side MSBuild tests (full-build)
```bash
./dotnet-local.sh test bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll
./dotnet-local.sh test bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --filter "Name~BuildBasicApplication"
./dotnet-local.sh test bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --filter "FullyQualifiedName~NativeAotBuildTests"
./dotnet-local.sh test --test-modules bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll
./dotnet-local.sh test --test-modules bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --filter "Name~BuildBasicApplication"
./dotnet-local.sh test --test-modules bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --filter "FullyQualifiedName~NativeAotBuildTests"
```

### Device integration tests (full-build + device)
```bash
./dotnet-local.sh test bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll
./dotnet-local.sh test bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll --filter "Name~InstallAndRunTests"
./dotnet-local.sh test --test-modules bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll
./dotnet-local.sh test --test-modules bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll --filter "Name~InstallAndRunTests"
# With more than one device attached:
ADB_TARGET='-s emulator-5554' ./dotnet-local.sh test bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll --filter "Name~InstallAndRunTests"
ADB_TARGET='-s emulator-5554' ./dotnet-local.sh test --test-modules bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll --filter "Name~InstallAndRunTests"
```

CI runs these assemblies with Microsoft Testing Platform, and splits them across jobs with
`build-tools/automation/scripts/RunSlicedTests.cs`:
CI runs these assemblies with Microsoft Testing Platform. `build-tools/automation/yaml-templates/run-mstest-tests.yaml` splits them across jobs: it lists the tests with `--list-tests json`, takes every N-th test UID for its slice, and runs them with `--filter-uid`. To run a single slice locally the same way:
```bash
./bin/Debug/dotnet/dotnet run build-tools/automation/scripts/RunSlicedTests.cs -- \
--test-assembly bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --results-directory bin/TestDebug/TestResults \
--filter "FullyQualifiedName~BuildTest2" --slice 1 --total-slices 4
dotnet bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --list-tests json --filter "FullyQualifiedName~BuildTest2"
dotnet bin/TestDebug/${TFM}/Xamarin.Android.Build.Tests.dll --filter-uid <uid> [<uid> ...]
```

### On-device runtime tests (native MSTest/MTP, full-build + device)
Expand Down
52 changes: 36 additions & 16 deletions .github/skills/tests/references/test-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ These tests can be run immediately with `dotnet test` on the `.csproj`, even if
| **package manager Java generation** | `src/Microsoft.Android.Build.Tasks/Tests/Microsoft.Android.Build.Tasks.Tests/` | `dotnet test src/Microsoft.Android.Build.Tasks/Tests/Microsoft.Android.Build.Tasks.Tests/Microsoft.Android.Build.Tasks.Tests.csproj -v minimal --filter FullyQualifiedName~GeneratePackageManagerJavaTests` |
| **Gradle targets command quoting/environment** | `src/Microsoft.Android.Build.Tasks/Tests/Microsoft.Android.Build.Tasks.Tests/` | `dotnet test src/Microsoft.Android.Build.Tasks/Tests/Microsoft.Android.Build.Tasks.Tests/Microsoft.Android.Build.Tasks.Tests.csproj -v minimal --filter FullyQualifiedName~AndroidGradleTargetsTests` |
| **aidl** | `tests/Xamarin.Android.Tools.Aidl-Tests/` | `dotnet test tests/Xamarin.Android.Tools.Aidl-Tests/Xamarin.Android.Tools.Aidl-Tests.csproj -v minimal` |
| **source writer** | `tests/Xamarin.SourceWriter-Tests/` | `dotnet test tests/Xamarin.SourceWriter-Tests/Xamarin.SourceWriter-Tests.csproj -v minimal` |
| **source writer** | `tests/Xamarin.SourceWriter-Tests/` | `dotnet test --project tests/Xamarin.SourceWriter-Tests/Xamarin.SourceWriter-Tests.csproj -c Debug --report-trx` |
| **java source** | `tests/Java.Interop.Tools.JavaSource-Tests/` | `dotnet test tests/Java.Interop.Tools.JavaSource-Tests/Java.Interop.Tools.JavaSource-Tests.csproj -v minimal` |
| **maven** | `tests/Java.Interop.Tools.Maven-Tests/` | `dotnet test tests/Java.Interop.Tools.Maven-Tests/Java.Interop.Tools.Maven-Tests.csproj -v minimal` |
| **api xml adjuster** | `tests/Xamarin.Android.Tools.ApiXmlAdjuster-Tests/` | `dotnet test tests/Xamarin.Android.Tools.ApiXmlAdjuster-Tests/Xamarin.Android.Tools.ApiXmlAdjuster-Tests.csproj -v minimal` |
Expand Down Expand Up @@ -74,7 +74,7 @@ Device: No
| Test Area | Filter | Test Classes / Notes |
|-----------|--------|---------------------|
| **build** (general) | `--filter "FullyQualifiedName~BuildTest"` | `BuildTest`, `BuildTest2`, `BuildTest3` — core build pipeline tests |
| **smoke** | `--filter "cat=SmokeTests"` | Quick subset of build, packaging, and asset pack tests |
| **smoke** | `--filter "TestCategory=SmokeTests"` | Quick subset of build, packaging, and asset pack tests |
| **native aot** | `--filter "FullyQualifiedName~NativeAotBuildTests"` | NativeAOT build and packaging tests |
| **bindings** | `--filter "FullyQualifiedName~BindingBuildTest"` | Java binding generation and build tests |
| **packaging** | `--filter "FullyQualifiedName~PackagingTest"` | APK/AAB packaging, signing, zipalign |
Expand All @@ -84,7 +84,7 @@ Device: No
| **manifest** | `--filter "FullyQualifiedName~ManifestTest"` | AndroidManifest.xml generation and merging |
| **sdk** | `--filter "FullyQualifiedName~XASdkTests"` | .NET SDK-style project tests |
| **single project** | `--filter "FullyQualifiedName~SingleProjectTest"` | Android single-project build and packaging tests |
| **fsharp** | `--filter "cat=FSharp"` | F# project build tests |
| **fsharp** | `--filter "TestCategory=FSharp"` | F# project build tests |
| **wear** | `--filter "FullyQualifiedName~WearTests"` | Wear OS build tests |
| **code behind** | `--filter "FullyQualifiedName~CodeBehindTests"` | Layout code-behind generation |
| **asset packs** | `--filter "FullyQualifiedName~AssetPackTests"` | Play Asset Delivery tests |
Expand Down Expand Up @@ -116,13 +116,13 @@ Same assembly as above. These test individual MSBuild tasks in isolation with `M

Assembly: `bin/TestDebug/TrimmingTests/${TFM}/TrimmingTests.dll`
Build: Full-build + device/emulator connected
Device: **Yes** (`[Category("UsesDevice")]`)
Device: **Yes** (`[TestCategory("UsesDevice")]`)

Each case is a purpose-built single-file app in `tests/TrimmingTests/Cases/` (`#:property` and `#:package` directives, its own
`ApplicationId`, `#:project TrimmingTests.Expectations/TrimmingTests.Expectations.csproj`, and one `TRIMMING_TEST_RESULT: PASS`/`FAIL`
log line). A case that needs more files lives in `Cases/<Case>/<Case>.cs` next to its `Resources/`, `AndroidManifest.xml`, or a
`Case.targets` with MSBuild items. Cases for reported bugs start with a comment linking the issue or PR; known failures are
`[Ignore]`d (or `Assert.Ignore`d for one configuration) with the link to the open issue.
`[Ignore]`d (or `Assert.Inconclusive` for one configuration) with the link to the open issue.
A test takes `[TrimmingConfigurations] TrimmingConfiguration configuration`, which runs it with CoreCLR full trimming, NativeAOT, and
CoreCLR partial trimming (the CoreCLR Release default, which trims only trimmable assemblies and suppresses trimming warnings), or
only in the configurations it lists, and calls `var app = BuildAndRun ("Cases/<Case>.cs", configuration, expectedWarnings: [...])`, which copies the case into its own
Expand All @@ -137,7 +137,7 @@ or ILC's mstat file (NativeAOT). In partial mode, expectations on assemblies ILL
``JavaDictionary`2<System.Int32,System.Int64>``. `Cases/Directory.Build.targets` disables JIT inlining for NativeAOT cases, because the mstat omits
inlined methods.

Tests in a fixture run in parallel (`[Parallelizable (ParallelScope.Children)]`), also on the device: each configuration installs its
Two tests run at a time (`[assembly: Parallelize (Workers = 2)]`), also on the device: each configuration installs its
own package (`<ApplicationId>.coreclr`/`.nativeaot`) and results are matched by process ID in a logcat stream started before the launch, so never clear logcat in a test. Expectation attributes take strings only, never `typeof`, so they cannot keep anything themselves. Never root anything in a case
unless rooting is the behavior under test.

Expand All @@ -147,7 +147,7 @@ unless rooting is the behavior under test.
| **Java peer activation** | `--filter "FullyQualifiedName~JavaPeerActivationTests"` | Reflection-based activation of closed generic Java peers |

```bash
ADB_TARGET='-s emulator-5554' ./dotnet-local.sh test bin/TestDebug/TrimmingTests/${TFM}/TrimmingTests.dll
ADB_TARGET='-s emulator-5554' ./dotnet-local.sh test --test-modules bin/TestDebug/TrimmingTests/${TFM}/TrimmingTests.dll
```

---
Expand All @@ -156,18 +156,18 @@ ADB_TARGET='-s emulator-5554' ./dotnet-local.sh test bin/TestDebug/TrimmingTests

Assembly: `bin/TestDebug/MSBuildDeviceIntegration/${TFM}/MSBuildDeviceIntegration.dll`
Build: Full-build + device/emulator connected
Device: **Yes** (most tests have `[Category("UsesDevice")]`)
Device: **Yes** (most tests have `[TestCategory("UsesDevice")]`)

| Test Area | Filter | Notes |
|-----------|--------|-------|
| **device** (all) | (no filter) | All device integration tests |
| **install and run** | `--filter "FullyQualifiedName~InstallAndRunTests"` | App installation and launch |
| **install** | `--filter "FullyQualifiedName~InstallTests"` | Installation-only tests |
| **debugging** | `--filter "FullyQualifiedName~DebuggingTest"` | Debugger attach and breakpoint tests |
| **performance** | `--filter "cat=Performance"` | Startup time, build time measurements |
| **localization** | `--filter "cat=Localization"` | Locale/culture device tests |
| **timezone** | `--filter "cat=TimeZoneInfo"` | Time zone handling on device |
| **wear** | `--filter "cat=WearOS"` | Wear OS device tests |
| **performance** | `--filter "TestCategory=Performance"` | Startup time, build time measurements |
| **localization** | `--filter "TestCategory=Localization"` | Locale/culture device tests |
| **timezone** | `--filter "TestCategory=TimeZoneInfo"` | Time zone handling on device |
| **wear** | `--filter "TestCategory=WearOS"` | Wear OS device tests |
| **export** | `--filter "FullyQualifiedName~ExportAttributeBuildTest"` | `[Export]` attribute tests |
| **bundletool** | `--filter "FullyQualifiedName~BundleToolTests"` | One combined archive/signing/APK-set check per runtime, sharing a single project build per case |
| **uncaught exceptions** | `--filter "FullyQualifiedName~UncaughtExceptionTests"` | Java exception handling and fatal managed main-thread process termination on CoreCLR and NativeAOT |
Expand All @@ -182,9 +182,9 @@ architecture. Local workload setup installs the previous Android SDK.

## On-Device Runtime Tests (full-build — requires local SDK + device)

`Mono.Android.NET-Tests` (including the Java.Interop fixtures) and `Xamarin.Android.JcwGen-Tests` use MSTest with `MSTest.SourceGeneration` through Microsoft Testing Platform (MTP).
`Mono.Android.NET-Tests` (including the Java.Interop fixtures) and `Xamarin.Android.JcwGen-Tests` use MSTest with `MSTest.SourceGeneration` through Microsoft Testing Platform (MTP), like every other test project; the repository `global.json` selects the MTP runner.

Build/install with `-t:Install`, then run `dotnet test --no-build --report-trx` from the test project's directory so the project-local `global.json` selects the MTP runner.
Build/install with `-t:Install`, then run `dotnet test --no-build --report-trx` from the test project's directory.

Build: Full-build + the test project itself
Device: **Yes**
Expand All @@ -208,7 +208,8 @@ Device: **Yes**

The `Mono.Android.NET-Tests.csproj` dynamically excludes categories based on runtime:
- **CoreCLR runtime**: Excludes `CoreCLRIgnore`, `NTLM`
- **NativeAOT runtime**: Excludes `NativeAOTIgnore`, `SSL`, `NTLM`
- **NativeAOT runtime**: Also excludes `NativeAOTIgnore`, `SSL`
- **Both runtimes**: Excludes `JniReferenceLeak` unless it is the only explicitly included category

Other categories: `SSL`, `InetAccess`, `JavaList`, `RuntimeConfig`, `Intune`, `NTLM`

Expand All @@ -225,6 +226,13 @@ Command:

Results are `.trx` files under `bin/TestDebug/TestResults/` and are published as VSTest results in CI. Always pass the same configuration and MSBuild properties to the install and `dotnet test --no-build` commands (for example, `-c Release -p:PublishAot=true`).

The Android CI `apk-instrumentation.yaml` template uses this project-local MTP
entry point and the existing Android streaming protocol. Host test assemblies
use `run-mstest-tests.yaml` instead. Native TRX,
`NativeTestNodes.xml`, and arbitrary attachments remain in the app's external
`TestResults` directory; pull that directory separately when validating
attachment contents, since the host does not automatically copy every file.

For `Xamarin.Android.JcwGen-Tests`, use the same pattern from `tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/`:
```bash
./dotnet-local.sh build -t:Install -c Debug tests/CodeGen-Binding/Xamarin.Android.JcwGen-Tests/Xamarin.Android.JcwGen-Tests.csproj
Expand All @@ -234,6 +242,18 @@ For `Xamarin.Android.JcwGen-Tests`, use the same pattern from `tests/CodeGen-Bin
)
```

For Release full-trim validation on API 35 arm64, the accepted exact matrices
are Mono CoreCLR 1,043 rows (1,035 passed/eight skipped), Mono actual NativeAOT
980 rows (972 passed/eight skipped), and JCW CoreCLR 47 rows (46 passed/one
skipped). Check identities, category sets, duplicate multiplicity, native
UID/TRX agreement, and installed APK runtime contents, not totals or flags
alone. Generated descriptors retain bounded reflection fallback.
JCW retains its whole-app root: NativeAOT aborts in `JavaAbstractMethodTest` at `ic.NewMethod()` (`RhFailFast`);
do not exclude/weaken that test or claim completed JCW NativeAOT coverage.
These results do not certify other ABIs or the Mono runtime, whose import is
absent from the selected SDK. See [runtime migration details](../../../../Documentation/workflow/UnitTests.md#native-metadata-and-trimming)
for root boundaries and retained historical failures.

## Java.Interop Tests — Mixed Tiers

Tooling tests are standalone (listed in the Standalone Tests table above).
Expand Down Expand Up @@ -297,7 +317,7 @@ For attached CoreCLR acceptance, build with `Optimize=false` and use
`JavaSideThrowingConstructorPropagatesException` and
`Export_Method_Throws_PrimitiveReturn_SurfacesAsManagedException`: their catches
remain in user code so JNI's managed rethrow does not add another user-unhandled
stop inside NUnit's external `Assert.Catch`. Each should stop once at the original
stop inside an external assertion helper such as `Assert.Throws`. Each should stop once at the original
throw, then pass after Continue. The handled-policy tests above should not stop.
Java evaluation while stopped must be checked separately.

Expand Down
Loading