aboutsummaryrefslogtreecommitdiffstats
path: root/tests/templates
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:14:44 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-08-07 20:14:44 -0500
commit2ef17a5a002b3c304076339619f208ee01e36f48 (patch)
tree4db14e59258f5878984ab98e96ff2d281fd94bc3 /tests/templates
parentChange file_path to path and original_file_path to original_path (diff)
downloadconfig-file-2ef17a5a002b3c304076339619f208ee01e36f48.zip
Add all_strings template files
Diffstat (limited to 'tests/templates')
-rw-r--r--tests/templates/ini/all_strings.ini7
-rw-r--r--tests/templates/json/all_strings.json9
-rw-r--r--tests/templates/json/glossary.json33
-rw-r--r--tests/templates/toml/all_strings.toml6
-rw-r--r--tests/templates/yaml/all_strings.yaml6
5 files changed, 28 insertions, 33 deletions
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