diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/string/RunCMakeTest.cmake | 5 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-16BE-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-16BE.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-16BE.txt | bin | 0 -> 83 bytes | |||
-rw-r--r-- | Tests/RunCMake/string/UTF-16LE-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-16LE.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-16LE.txt | bin | 0 -> 83 bytes | |||
-rw-r--r-- | Tests/RunCMake/string/UTF-32BE-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-32BE.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-32BE.txt | bin | 0 -> 165 bytes | |||
-rw-r--r-- | Tests/RunCMake/string/UTF-32LE-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-32LE.cmake | 4 | ||||
-rw-r--r-- | Tests/RunCMake/string/UTF-32LE.txt | bin | 0 -> 165 bytes |
13 files changed, 29 insertions, 0 deletions
diff --git a/Tests/RunCMake/string/RunCMakeTest.cmake b/Tests/RunCMake/string/RunCMakeTest.cmake index fc913c6..89f7ea5 100644 --- a/Tests/RunCMake/string/RunCMakeTest.cmake +++ b/Tests/RunCMake/string/RunCMakeTest.cmake @@ -12,3 +12,8 @@ run_cmake(UuidMissingTypeValue) run_cmake(UuidBadType) run_cmake(RegexClear) + +run_cmake(UTF-16BE) +run_cmake(UTF-16LE) +run_cmake(UTF-32BE) +run_cmake(UTF-32LE) diff --git a/Tests/RunCMake/string/UTF-16BE-stderr.txt b/Tests/RunCMake/string/UTF-16BE-stderr.txt new file mode 100644 index 0000000..8254f87 --- /dev/null +++ b/Tests/RunCMake/string/UTF-16BE-stderr.txt @@ -0,0 +1,2 @@ +Hello World +Hello World diff --git a/Tests/RunCMake/string/UTF-16BE.cmake b/Tests/RunCMake/string/UTF-16BE.cmake new file mode 100644 index 0000000..da986c0 --- /dev/null +++ b/Tests/RunCMake/string/UTF-16BE.cmake @@ -0,0 +1,4 @@ +file(STRINGS UTF-16BE.txt str ENCODING UTF-16BE LENGTH_MINIMUM 4) +message("${str}") +file(STRINGS UTF-16BE.txt str LENGTH_MINIMUM 4) +message("${str}") diff --git a/Tests/RunCMake/string/UTF-16BE.txt b/Tests/RunCMake/string/UTF-16BE.txt Binary files differnew file mode 100644 index 0000000..9d976bc --- /dev/null +++ b/Tests/RunCMake/string/UTF-16BE.txt diff --git a/Tests/RunCMake/string/UTF-16LE-stderr.txt b/Tests/RunCMake/string/UTF-16LE-stderr.txt new file mode 100644 index 0000000..8254f87 --- /dev/null +++ b/Tests/RunCMake/string/UTF-16LE-stderr.txt @@ -0,0 +1,2 @@ +Hello World +Hello World diff --git a/Tests/RunCMake/string/UTF-16LE.cmake b/Tests/RunCMake/string/UTF-16LE.cmake new file mode 100644 index 0000000..326d848 --- /dev/null +++ b/Tests/RunCMake/string/UTF-16LE.cmake @@ -0,0 +1,4 @@ +file(STRINGS UTF-16LE.txt str ENCODING UTF-16LE LENGTH_MINIMUM 4) +message("${str}") +file(STRINGS UTF-16LE.txt str LENGTH_MINIMUM 4) +message("${str}") diff --git a/Tests/RunCMake/string/UTF-16LE.txt b/Tests/RunCMake/string/UTF-16LE.txt Binary files differnew file mode 100644 index 0000000..ebba874 --- /dev/null +++ b/Tests/RunCMake/string/UTF-16LE.txt diff --git a/Tests/RunCMake/string/UTF-32BE-stderr.txt b/Tests/RunCMake/string/UTF-32BE-stderr.txt new file mode 100644 index 0000000..8254f87 --- /dev/null +++ b/Tests/RunCMake/string/UTF-32BE-stderr.txt @@ -0,0 +1,2 @@ +Hello World +Hello World diff --git a/Tests/RunCMake/string/UTF-32BE.cmake b/Tests/RunCMake/string/UTF-32BE.cmake new file mode 100644 index 0000000..debdeaa --- /dev/null +++ b/Tests/RunCMake/string/UTF-32BE.cmake @@ -0,0 +1,4 @@ +file(STRINGS UTF-32BE.txt str ENCODING UTF-32BE LENGTH_MINIMUM 4) +message("${str}") +file(STRINGS UTF-32BE.txt str LENGTH_MINIMUM 4) +message("${str}") diff --git a/Tests/RunCMake/string/UTF-32BE.txt b/Tests/RunCMake/string/UTF-32BE.txt Binary files differnew file mode 100644 index 0000000..6725fbb --- /dev/null +++ b/Tests/RunCMake/string/UTF-32BE.txt diff --git a/Tests/RunCMake/string/UTF-32LE-stderr.txt b/Tests/RunCMake/string/UTF-32LE-stderr.txt new file mode 100644 index 0000000..8254f87 --- /dev/null +++ b/Tests/RunCMake/string/UTF-32LE-stderr.txt @@ -0,0 +1,2 @@ +Hello World +Hello World diff --git a/Tests/RunCMake/string/UTF-32LE.cmake b/Tests/RunCMake/string/UTF-32LE.cmake new file mode 100644 index 0000000..22aab5f --- /dev/null +++ b/Tests/RunCMake/string/UTF-32LE.cmake @@ -0,0 +1,4 @@ +file(STRINGS UTF-32LE.txt str ENCODING UTF-32LE LENGTH_MINIMUM 4) +message("${str}") +file(STRINGS UTF-32LE.txt str LENGTH_MINIMUM 4) +message("${str}") diff --git a/Tests/RunCMake/string/UTF-32LE.txt b/Tests/RunCMake/string/UTF-32LE.txt Binary files differnew file mode 100644 index 0000000..cf5102f --- /dev/null +++ b/Tests/RunCMake/string/UTF-32LE.txt |