From 6add7fcac82f9b807e71fe84d16c673682d82327 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 14 Feb 2017 15:20:16 +0800 Subject: Add test for yaml_file loader Change-Id: I997ceeed17bd35889f6b0f3465bbe75df256b71e Signed-off-by: Yujun Zhang --- tests/data/yaml/invalid.yaml | 1 + tests/data/yaml/with_name.yaml | 1 + tests/data/yaml/without_name.yaml | 1 + 3 files changed, 3 insertions(+) create mode 100644 tests/data/yaml/invalid.yaml create mode 100644 tests/data/yaml/with_name.yaml create mode 100644 tests/data/yaml/without_name.yaml (limited to 'tests/data') 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 -- cgit 1.2.3-korg