Skip to content

Commit 414d6b0

Browse files
committed
t Fixing test class names
1 parent f886427 commit 414d6b0

11 files changed

+6
-11
lines changed

approvaltests-tests/src/test/java/org/approvaltests/Samples.java renamed to approvaltests-tests/src/test/java/org/approvaltests/SamplesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import org.junit.jupiter.params.provider.ValueSource;
1111

1212
@UseReporter({DiffReporter.class, ClipboardReporter.class})
13-
public class Samples
13+
public class SamplesTest
1414
{
1515
@Test
1616
public void testString()

approvaltests-tests/src/test/java/org/approvaltests/TestFilesTest.testTestFileNamesEndInTest.approved.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ Test Methods in files that do not contain the word 'Test' (these will not be run
44
org.approvaltests.DocumentHelpers.listAllVerifyFunctions
55
org.approvaltests.DocumentHelpers.testLineNumberOfThisMethod
66
org.approvaltests.DocumentHelpers.testLineNumbers
7-
org.approvaltests.Samples.sampleParameterizedTest
8-
org.approvaltests.Samples.testArray
9-
org.approvaltests.Samples.testObject
10-
org.approvaltests.Samples.testString
11-
org.approvaltests.namer.NamerSamples.useAlternativeSourceFileFinder

approvaltests-tests/src/test/java/org/approvaltests/namer/NamerSamples.java renamed to approvaltests-tests/src/test/java/org/approvaltests/namer/NamerSamplesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import java.io.File;
1010

11-
public class NamerSamples
11+
public class NamerSamplesTest
1212
{
1313
@Test
1414
void useAlternativeSourceFileFinder()

approvaltests/docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Function2<Class, String, File> myFinder = new Function2<Class, String, File>()
154154
}
155155
};
156156
```
157-
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/namer/NamerSamples.java#L16-L25' title='Snippet source file'>snippet source</a> | <a href='#snippet-define_alternative_source_directory_finder' title='Start of snippet'>anchor</a></sup>
157+
<sup><a href='/approvaltests-tests/src/test/java/org/approvaltests/namer/NamerSamplesTest.java#L16-L25' title='Snippet source file'>snippet source</a> | <a href='#snippet-define_alternative_source_directory_finder' title='Start of snippet'>anchor</a></sup>
158158
<!-- endSnippet -->
159159
### Using alternatives
160160
Thanks to the try block, the default is restored afterwards allowing tests to be independent.

0 commit comments

Comments
 (0)