From f3c65feb0e1f4e177a75ba936d0730f7c3f4b076 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 25 Jan 2022 03:54:10 +0100 Subject: test: Rename json test files to .json --- test/Makefile.am | 3 ++- test/data/j1.json | 1 + test/data/j1.plist | 1 - test/data/j2.json | 1 + test/data/j2.plist | 1 - test/json1.test | 2 +- test/json2.test | 2 +- 7 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 test/data/j1.json delete mode 100644 test/data/j1.plist create mode 100644 test/data/j2.json delete mode 100644 test/data/j2.plist (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index a75644a..0d99d92 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -99,7 +99,8 @@ EXTRA_DIST = \ data/unsigned.plist \ data/uid.bplist \ data/data.bplist \ - data/j1.plist + data/j1.json \ + data/j2.json TESTS_ENVIRONMENT = \ top_srcdir=$(top_srcdir) \ diff --git a/test/data/j1.json b/test/data/j1.json new file mode 100644 index 0000000..2ae9acb --- /dev/null +++ b/test/data/j1.json @@ -0,0 +1 @@ +{"test":[1,1],"foo":[[1],[1],[1],[1],[[1],[1],[1],[1],[[1],[1],[1],[1]]]],"more":{"a":"yo","b":[{"c":0.25},{"a":"yo","b":[{"c":0.25},{"a":"yo","b":[{"c":0.25}]}]}]}} \ No newline at end of file diff --git a/test/data/j1.plist b/test/data/j1.plist deleted file mode 100644 index 2ae9acb..0000000 --- a/test/data/j1.plist +++ /dev/null @@ -1 +0,0 @@ -{"test":[1,1],"foo":[[1],[1],[1],[1],[[1],[1],[1],[1],[[1],[1],[1],[1]]]],"more":{"a":"yo","b":[{"c":0.25},{"a":"yo","b":[{"c":0.25},{"a":"yo","b":[{"c":0.25}]}]}]}} \ No newline at end of file diff --git a/test/data/j2.json b/test/data/j2.json new file mode 100644 index 0000000..9d1210e --- /dev/null +++ b/test/data/j2.json @@ -0,0 +1 @@ +{"Some ASCII string":"Test ASCII String","Some UTF8 strings":["àéèçù","日本語","汉语/漢語","한국어/조선말","русский язык","الْعَرَبيّة","עִבְרִית","język polski","हिन्दी"],"Keys & \"entities\"":"hellow world & others are \"fun!?'","Boolean":false,"Another Boolean":true,"Some Int":32434543632,"Some String with Unicode entity":"Yeah check this: \u1234 !!!"} \ No newline at end of file diff --git a/test/data/j2.plist b/test/data/j2.plist deleted file mode 100644 index 9d1210e..0000000 --- a/test/data/j2.plist +++ /dev/null @@ -1 +0,0 @@ -{"Some ASCII string":"Test ASCII String","Some UTF8 strings":["àéèçù","日本語","汉语/漢語","한국어/조선말","русский язык","الْعَرَبيّة","עִבְרִית","język polski","हिन्दी"],"Keys & \"entities\"":"hellow world & others are \"fun!?'","Boolean":false,"Another Boolean":true,"Some Int":32434543632,"Some String with Unicode entity":"Yeah check this: \u1234 !!!"} \ No newline at end of file diff --git a/test/json1.test b/test/json1.test index dba4912..9828ba7 100755 --- a/test/json1.test +++ b/test/json1.test @@ -4,7 +4,7 @@ set -e DATASRC=$top_srcdir/test/data DATAOUT=$top_builddir/test/data -TESTFILE=j1.plist +TESTFILE=j1.json if ! test -d "$DATAOUT"; then mkdir -p $DATAOUT diff --git a/test/json2.test b/test/json2.test index 1329016..a289f5e 100755 --- a/test/json2.test +++ b/test/json2.test @@ -4,7 +4,7 @@ set -e DATASRC=$top_srcdir/test/data DATAOUT=$top_builddir/test/data -TESTFILE=j2.plist +TESTFILE=j2.json if ! test -d "$DATAOUT"; then mkdir -p $DATAOUT -- cgit v1.1-32-gdbae