Skip to content

Commit

Permalink
Removed redundant "public" for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoOfTwelve committed May 16, 2024
1 parent e0ed4cc commit 68c5261
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cli/src/test/java/de/jplag/cli/CheckResultFileWritableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void setup() throws NoSuchFieldException, NoSuchMethodException {
}

@Test
public void testNonExistingWritableFile() throws Throwable {
void testNonExistingWritableFile() throws Throwable {
File directory = Files.createTempDirectory("JPlagTest").toFile();
File targetFile = new File(directory, "results.zip");

Expand All @@ -38,7 +38,7 @@ public void testNonExistingWritableFile() throws Throwable {
}

@Test
public void testNonExistingNotWritableFile() throws IOException {
void testNonExistingNotWritableFile() throws IOException {
File directory = Files.createTempDirectory("JPlagTest").toFile();
Assumptions.assumeTrue(directory.setWritable(false));
File targetFile = new File(directory, "results.zip");
Expand All @@ -49,7 +49,7 @@ public void testNonExistingNotWritableFile() throws IOException {
}

@Test
public void testExistingFile() throws Throwable {
void testExistingFile() throws Throwable {
File directory = Files.createTempDirectory("JPlagTest").toFile();
File targetFile = new File(directory, "results.zip");
Assumptions.assumeTrue(targetFile.createNewFile());
Expand All @@ -59,7 +59,7 @@ public void testExistingFile() throws Throwable {
}

@Test
public void testExistingFileOverwrite() throws Throwable {
void testExistingFileOverwrite() throws Throwable {
File directory = Files.createTempDirectory("JPlagTest").toFile();
File targetFile = new File(directory, "results.zip");
Assumptions.assumeTrue(targetFile.createNewFile());
Expand All @@ -69,7 +69,7 @@ public void testExistingFileOverwrite() throws Throwable {
}

@Test
public void testExistingNotWritableFile() throws IOException {
void testExistingNotWritableFile() throws IOException {
File directory = Files.createTempDirectory("JPlagTest").toFile();
File targetFile = new File(directory, "results.zip");
Assumptions.assumeTrue(targetFile.createNewFile());
Expand Down

0 comments on commit 68c5261

Please sign in to comment.