You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jupiter-tests/src/templates/resources/test/org/junit/jupiter/api/condition/DisabledOnJreConditionTests.java.jte
+10
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,16 @@ class DisabledOnJreConditionTests extends AbstractExecutionConditionTests {
80
80
.withMessage("Version [7] in @DisabledOnJre must be greater than or equal to 8");
Copy file name to clipboardExpand all lines: jupiter-tests/src/templates/resources/test/org/junit/jupiter/api/condition/DisabledOnJreIntegrationTests.java.jte
+6
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,12 @@ class DisabledOnJreIntegrationTests {
54
54
void version7() {
55
55
}
56
56
57
+
@Test
58
+
@Disabled("Only used in a unit test via reflection")
59
+
@DisabledOnJre(versions = 16)
60
+
void version16() {
61
+
}
62
+
57
63
@Test
58
64
@DisabledOnJre(disabledReason = "Disabled on every JRE", value = { //
Copy file name to clipboardExpand all lines: jupiter-tests/src/templates/resources/test/org/junit/jupiter/api/condition/EnabledOnJreConditionTests.java.jte
+10
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,16 @@ class EnabledOnJreConditionTests extends AbstractExecutionConditionTests {
80
80
.withMessage("Version [7] in @EnabledOnJre must be greater than or equal to 8");
Copy file name to clipboardExpand all lines: jupiter-tests/src/templates/resources/test/org/junit/jupiter/api/condition/EnabledOnJreIntegrationTests.java.jte
+6
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,12 @@ class EnabledOnJreIntegrationTests {
53
53
void version7() {
54
54
}
55
55
56
+
@Test
57
+
@Disabled("Only used in a unit test via reflection")
0 commit comments