Skip to content

Commit

Permalink
Merge f688c90 into 0f2c0c9
Browse files Browse the repository at this point in the history
  • Loading branch information
dseurotech authored Oct 25, 2022
2 parents 0f2c0c9 + f688c90 commit a5600c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public void getAsUrlPositiveAndNegativeTest() throws KapuaSettingException, Malf
//this test is adjusted to method implementation getAsFile().
//therefore, the method was tested in this way without any assertion only with specific output.
public void getAsFilePositiveAndNegativeTest() throws IOException, KapuaSettingException {
String[] permittedFormats = new String[]{"https://www.w3.org/TR/PNG/iso_8859-1.txt", "http://txt2html.sourceforge.net/sample.txt",
String[] permittedFormats = new String[]{
"https://opensource.apple.com/source/cups/cups-218/cups/data/iso-8859-1.txt",
"http://txt2html.sourceforge.net/sample.txt",
"https://www.lipsum.com/"};
String[] invalidFormats = new String[]{"file:/hostname/path/the%20file.txt", "file://", "http://www.example.com:10800000000000/docs/resource1.html",
"/c:/WINDOWS/clock.example", "https://www.w3.org/TR/PNG/iso_88591.txt", "p://txt2html.sourceforge.net/invalidName.txt"};
Expand Down

0 comments on commit a5600c1

Please sign in to comment.