-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Antoine MAZEAS <[email protected]>
- Loading branch information
1 parent
9ead5a7
commit 5cf5ed8
Showing
7 changed files
with
103 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
openbas-api/src/test/java/io/openbas/utils/fixtures/FileFixture.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
package io.openbas.utils.fixtures; | ||
|
||
|
||
import io.openbas.utils.fixtures.files.PlainTextFile; | ||
|
||
|
||
public class FileFixture { | ||
public static String DEFAULT_PLAIN_TEXT_CONTENT = "default plain text content"; | ||
public static String DEFAULT_PLAIN_TEXT_FILENAME = "plain_text.txt"; | ||
public static String DEFAULT_PLAIN_TEXT_CONTENT = "default plain text content"; | ||
public static String DEFAULT_PLAIN_TEXT_FILENAME = "plain_text.txt"; | ||
|
||
public static PlainTextFile getPlainTextFileContent() { | ||
return new PlainTextFile(DEFAULT_PLAIN_TEXT_CONTENT, DEFAULT_PLAIN_TEXT_FILENAME); | ||
} | ||
public static PlainTextFile getPlainTextFileContent() { | ||
return new PlainTextFile(DEFAULT_PLAIN_TEXT_CONTENT, DEFAULT_PLAIN_TEXT_FILENAME); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.