File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
platform-tests/src/test/java/org/junit/platform/commons/annotation Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 88 * https://www.eclipse.org/legal/epl-v20.html
99 */
1010
11- package org .junit .jupiter . engine ;
11+ package org .junit .platform . commons . annotation ;
1212
1313import static org .junit .jupiter .api .Assertions .assertNotNull ;
1414
1515import org .junit .jupiter .api .Test ;
16- import org .junit .platform .commons .annotation .Testable ;
1716
1817/**
19- * Integration test that verifies that the testable annotation may be
20- * attached to any element type.
18+ * Integration tests that indirectly verify that the {@link Testable @Testable}
19+ * annotation may be declared on any element type.
2120 *
22- * @since 5 .7
21+ * @since 1 .7
2322 */
2423class TestableAnnotationTests {
2524
2625 @ Test
27- void testAndRepeatedTest () {
26+ void testMethod () {
2827 assertNotNull (new TestableEverywhere ().toString ());
2928 }
3029
@@ -41,6 +40,7 @@ static class TestableEverywhere {
4140 @ Testable
4241 void test (@ Testable int parameter ) {
4342 @ Testable
43+ @ SuppressWarnings ("unused" )
4444 var var = "var" ;
4545 }
4646 }
You can’t perform that action at this time.
0 commit comments