From 2ef17a5a002b3c304076339619f208ee01e36f48 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 7 Aug 2020 20:14:44 -0500 Subject: Add all_strings template files --- tests/templates/ini/all_strings.ini | 7 +++++++ tests/templates/json/all_strings.json | 9 +++++++++ tests/templates/json/glossary.json | 33 --------------------------------- tests/templates/toml/all_strings.toml | 6 ++++++ tests/templates/yaml/all_strings.yaml | 6 ++++++ 5 files changed, 28 insertions(+), 33 deletions(-) create mode 100644 tests/templates/ini/all_strings.ini create mode 100644 tests/templates/json/all_strings.json delete mode 100644 tests/templates/json/glossary.json create mode 100644 tests/templates/toml/all_strings.toml create mode 100644 tests/templates/yaml/all_strings.yaml (limited to 'tests/templates') diff --git a/tests/templates/ini/all_strings.ini b/tests/templates/ini/all_strings.ini new file mode 100644 index 0000000..9ac0ecf --- /dev/null +++ b/tests/templates/ini/all_strings.ini @@ -0,0 +1,7 @@ +[header] +list = [] +dict = {} +num = 5 +bool = false +float = 5.5 + diff --git a/tests/templates/json/all_strings.json b/tests/templates/json/all_strings.json new file mode 100644 index 0000000..18ada7b --- /dev/null +++ b/tests/templates/json/all_strings.json @@ -0,0 +1,9 @@ +{ + "header": { + "list": "[]", + "dict": "{}", + "num": "5", + "bool": "false", + "float": "5.5" + } +} \ No newline at end of file diff --git a/tests/templates/json/glossary.json b/tests/templates/json/glossary.json deleted file mode 100644 index d27eb8d..0000000 --- a/tests/templates/json/glossary.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "glossary": { - "title": "str_value", - "GlossDiv": { - "title": "5", - "GlossList": { - "GlossEntry": { - "ID": "false", - "SortAs": "SGML", - "GlossTerm": "Standard Generalized Markup Language", - "Acronym": "SGML", - "Abbrev": "ISO 8879:1986", - "GlossDef": { - "para": "A meta-markup language, used to create markup languages such as DocBook.", - "GlossSeeAlso": ["GML", "XML"] - }, - "GlossSee": "5.5" - } - } - }, - "dict": { - "key": "str_value", - "str_number": "5" - }, - "dict_within_dict": { - "str_number": "16", - "another_dict": { - "str_bool": "false", - "list_of_values": ["5", "false", "trUe"] - } - } - } -} \ No newline at end of file diff --git a/tests/templates/toml/all_strings.toml b/tests/templates/toml/all_strings.toml new file mode 100644 index 0000000..8fda0d8 --- /dev/null +++ b/tests/templates/toml/all_strings.toml @@ -0,0 +1,6 @@ +[header] +list = "[]" +dict = "{}" +num = "5" +bool = "false" +float = "5.5" \ No newline at end of file diff --git a/tests/templates/yaml/all_strings.yaml b/tests/templates/yaml/all_strings.yaml new file mode 100644 index 0000000..1c94b37 --- /dev/null +++ b/tests/templates/yaml/all_strings.yaml @@ -0,0 +1,6 @@ +header: + list: "[]" + dict: "{}" + num: "5" + bool: "false" + float: "5.5" \ No newline at end of file -- cgit v1.2.3