diff options
author | jonmv <venstad@gmail.com> | 2023-09-05 12:44:25 +0200 |
---|---|---|
committer | jonmv <venstad@gmail.com> | 2023-09-05 12:44:25 +0200 |
commit | 1ec87f12c344eb45ebf4b113c6749fa1d455e3aa (patch) | |
tree | 392a01c607da98dd76f18816c32cd31c264e2194 | |
parent | 6dddd9c5618a8463b405d5f52cf692990d8b3106 (diff) |
Non-static @BeforeAll because we want to test wrongness
-rw-r--r-- | vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/WrongBeforeAllTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/WrongBeforeAllTest.java b/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/WrongBeforeAllTest.java index b6e63620838..c2f70cda635 100644 --- a/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/WrongBeforeAllTest.java +++ b/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/test/samples/WrongBeforeAllTest.java @@ -8,7 +8,7 @@ import org.junit.jupiter.api.Test; public class WrongBeforeAllTest { @BeforeAll - static void wrong() { } + void wrong() { } // Intentionally wrong, to verify this isn't run, but instead causes an error. @Test void test() { } |