-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test cases for unicode filenames (#8)
- Loading branch information
Showing
43 changed files
with
110 additions
and
1 deletion.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input and output filenames.", | ||
"command": "ktx create --testrun --format R8G8B8A8_UNORM input/unicode/${name}.png output/create/unicode/${name}/${name}.ktx2", | ||
"status": 0, | ||
"outputs": { | ||
"output/create/unicode/${name}/${name}.ktx2": "golden/create/unicode/${name}.ktx2" | ||
}, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input and output filenames.", | ||
"command": "ktx encode --testrun --threads 1 --codec basis-lz input/unicode/${name}.ktx2 output/encode/unicode/${name}/${name}.ktx2", | ||
"status": 0, | ||
"comment": "BasisLZ compression relies on undefined order of std::unordered_map containers.", | ||
"outputTolerance": 0.08, | ||
"outputs": { | ||
"output/encode/unicode/${name}/${name}.ktx2": "golden/encode/unicode/${name}.ktx2" | ||
}, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input and output filenames.", | ||
"command": "ktx extract --testrun input/unicode/${name}.ktx2 output/extract/unicode/${name}/${name}.png", | ||
"status": 0, | ||
"outputs": { | ||
"output/extract/unicode/${name}/${name}.png": "golden/extract/unicode/${name}.png" | ||
}, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input filenames.", | ||
"command": "ktx info --testrun input/unicode/${name}.ktx2", | ||
"status": 0, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input and output filenames.", | ||
"command": "ktx transcode --testrun input/unicode/${name}_BLZE.ktx2 output/transcode/unicode/${name}/${name}.ktx2", | ||
"status": 0, | ||
"outputs": { | ||
"output/transcode/unicode/${name}/${name}.ktx2": "golden/transcode/unicode/${name}.ktx2" | ||
}, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"description": "Test the use of unicode characters in input filenames.", | ||
"command": "ktx validate --testrun input/unicode/${name}.ktx2", | ||
"status": 0, | ||
"args": { | ||
"name": [ | ||
"hűtő", | ||
"テクスチャ", | ||
"نَسِيج", | ||
"조직", | ||
"质地" | ||
] | ||
} | ||
} |