From 0e76ad3429521c014697b5bc46292997c496cdcb Mon Sep 17 00:00:00 2001 From: Frank Dietrich Date: Fri, 31 Jan 2014 13:54:26 +0100 Subject: [PATCH] add unit test resources --- src/test/resources/not_an_image_file.gif | 1 + src/test/resources/template_existing_image_file.expected | 4 ++++ src/test/resources/template_existing_image_file.txt | 4 ++++ src/test/resources/template_not_an_image_file.expected | 4 ++++ src/test/resources/template_not_an_image_file.txt | 4 ++++ src/test/resources/template_not_existing_image_file.expected | 4 ++++ src/test/resources/template_not_existing_image_file.txt | 4 ++++ 7 files changed, 25 insertions(+) create mode 100644 src/test/resources/not_an_image_file.gif create mode 100644 src/test/resources/template_existing_image_file.expected create mode 100644 src/test/resources/template_existing_image_file.txt create mode 100644 src/test/resources/template_not_an_image_file.expected create mode 100644 src/test/resources/template_not_an_image_file.txt create mode 100644 src/test/resources/template_not_existing_image_file.expected create mode 100644 src/test/resources/template_not_existing_image_file.txt diff --git a/src/test/resources/not_an_image_file.gif b/src/test/resources/not_an_image_file.gif new file mode 100644 index 0000000..243c27c --- /dev/null +++ b/src/test/resources/not_an_image_file.gif @@ -0,0 +1 @@ +this is not an image file diff --git a/src/test/resources/template_existing_image_file.expected b/src/test/resources/template_existing_image_file.expected new file mode 100644 index 0000000..71406fc --- /dev/null +++ b/src/test/resources/template_existing_image_file.expected @@ -0,0 +1,4 @@ +HL +\00 7A 01\ It's hip to be \1F 08 00 7E 42 42 42 42 7E 00\ ! \00\ +\FF\ + diff --git a/src/test/resources/template_existing_image_file.txt b/src/test/resources/template_existing_image_file.txt new file mode 100644 index 0000000..1596fa6 --- /dev/null +++ b/src/test/resources/template_existing_image_file.txt @@ -0,0 +1,4 @@ +HL +\00 7A 01\ It's hip to be [[square.gif]] ! \00\ +\FF\ + diff --git a/src/test/resources/template_not_an_image_file.expected b/src/test/resources/template_not_an_image_file.expected new file mode 100644 index 0000000..a15c926 --- /dev/null +++ b/src/test/resources/template_not_an_image_file.expected @@ -0,0 +1,4 @@ +HL +\00 7A 01\ this is [[not_an_image_file.gif]] ! \00\ +\FF\ + diff --git a/src/test/resources/template_not_an_image_file.txt b/src/test/resources/template_not_an_image_file.txt new file mode 100644 index 0000000..a15c926 --- /dev/null +++ b/src/test/resources/template_not_an_image_file.txt @@ -0,0 +1,4 @@ +HL +\00 7A 01\ this is [[not_an_image_file.gif]] ! \00\ +\FF\ + diff --git a/src/test/resources/template_not_existing_image_file.expected b/src/test/resources/template_not_existing_image_file.expected new file mode 100644 index 0000000..98fb9d5 --- /dev/null +++ b/src/test/resources/template_not_existing_image_file.expected @@ -0,0 +1,4 @@ +HL +\00 7A 01\ this is a [[not_existing_image_file.gif]] ! \00\ +\FF\ + diff --git a/src/test/resources/template_not_existing_image_file.txt b/src/test/resources/template_not_existing_image_file.txt new file mode 100644 index 0000000..98fb9d5 --- /dev/null +++ b/src/test/resources/template_not_existing_image_file.txt @@ -0,0 +1,4 @@ +HL +\00 7A 01\ this is a [[not_existing_image_file.gif]] ! \00\ +\FF\ +