native-build-tools icon indicating copy to clipboard operation
native-build-tools copied to clipboard

[575] junit-native does not support org.junit.rules.ExpectedException.

Open tzezula opened this issue 2 years ago • 2 comments

Fixies issue #575 by registering all used subclasses of TypeSafeMatcher and TypeSafeDiagnosingMatcher for reflective access to all declared methods.

tzezula avatar Feb 19 '24 17:02 tzezula

@tzezula I added more reviewers. Could you please add a test or test project for this? Not sure whether this will do the trick. Instead of adding it as a new sample, maybe you could extend an existing one?

fniephaus avatar Feb 20 '24 09:02 fniephaus

@fniephaus I've added the test

tzezula avatar Feb 21 '24 09:02 tzezula

The content of this PR will be included together with main JUnit refactoring PR (here) to avoid additional (rebase and refactoring) work on this PR. Once we merge that PR, we can close this one

dnestoro avatar Mar 05 '25 10:03 dnestoro

Implemented here: https://github.com/graalvm/native-build-tools/pull/693

dnestoro avatar May 04 '25 18:05 dnestoro