@@ -0,0 +1,1725 @@
+package de.retest.recheck;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport java.util.Optional;%0A%0Aimport org.junit.experimental.theories.DataPoints;%0Aimport org.junit.experimental.theories.Theories;%0Aimport org.junit.experimental.theories.Theory;%0Aimport org.junit.runner.RunWith;%0A%0Aimport de.retest.recheck.TestCaseFinder.TestCaseAnnotationType;%0Aimport de.retest.recheck.TestCaseFinder.TestCaseInformation;%0A%0A@RunWith( Theories.class )%0Apublic class TestCaseFinderJunitVintageTheoryTest %7B%0A%0A%09@DataPoints%0A%09public static final int%5B%5D data = %7B 1, 2 %7D;%0A%0A%09@Theory%0A%09public void junit_vintage_theory_annotation_should_be_found( final int count ) throws Exception %7B%0A%09%09final String expectedClassName = getClass().getName();%0A%09%09final String expectedMethodName = %22junit_vintage_theory_annotation_should_be_found%22;%0A%09%09final TestCaseAnnotationType expectedType = TestCaseAnnotationType.REPEATABLE;%0A%09%09final int expectedInvocationCount = count;%0A%0A%09%09final Optional%3CString%3E actualClassName = TestCaseFinder.findTestCaseClassNameInStack();%0A%09%09assertThat( actualClassName ).hasValue( expectedClassName );%0A%0A%09%09final Optional%3CString%3E actualMethodName = TestCaseFinder.findTestCaseMethodNameInStack();%0A%09%09assertThat( actualMethodName ).hasValueSatisfying( methodName -%3E methodName.startsWith( expectedMethodName ) );%0A%0A%09%09final TestCaseInformation info = TestCaseFinder.findTestCaseMethodInStack();%0A%09%09assertThat( info.getStackTraceElement().getClassName() ).isEqualTo( expectedClassName );%0A%09%09assertThat( info.getStackTraceElement().getMethodName() ).isEqualTo( expectedMethodName );%0A%09%09assertThat( info.getTestCaseAnnotationType() ).isEqualTo( expectedType );%0A%09%09assertThat( info.getInvocationCount() ).isEqualTo( expectedInvocationCount );%0A%09%7D%0A%0A%7D%0A

Add (failing) theories test