summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-14 15:20:16 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-02-15 06:54:40 +0800
commit6add7fcac82f9b807e71fe84d16c673682d82327 (patch)
tree7abc0649f11c17d3d48ad914a4602d9d8d00c17a /tests/data
parent93421c6375a450baa7bedb323e36b5efd238a58d (diff)
Add test for yaml_file loader
Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/yaml/invalid.yaml1
-rw-r--r--tests/data/yaml/with_name.yaml1
-rw-r--r--tests/data/yaml/without_name.yaml1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/yaml/invalid.yaml b/tests/data/yaml/invalid.yaml
new file mode 100644
index 00000000..22e31ed1
--- /dev/null
+++ b/tests/data/yaml/invalid.yaml
@@ -0,0 +1 @@
+invalid - yaml \ No newline at end of file
diff --git a/tests/data/yaml/with_name.yaml b/tests/data/yaml/with_name.yaml
new file mode 100644
index 00000000..25f7f83d
--- /dev/null
+++ b/tests/data/yaml/with_name.yaml
@@ -0,0 +1 @@
+name: name in content \ No newline at end of file
diff --git a/tests/data/yaml/without_name.yaml b/tests/data/yaml/without_name.yaml
new file mode 100644
index 00000000..bd234bd4
--- /dev/null
+++ b/tests/data/yaml/without_name.yaml
@@ -0,0 +1 @@
+no_name: yaml file without name \ No newline at end of file