[librsvg] tests: Add tests for loading gzip-compressed SVGs



commit d31ba9c8548f9b848332779f505997b6a5fc4412
Author: Benjamin Otte <otte redhat com>
Date:   Mon Oct 26 16:57:26 2015 +0100

    tests: Add tests for loading gzip-compressed SVGs

 tests/fixtures/reftests/gzip-compressed-ref.png    |  Bin 0 -> 155 bytes
 tests/fixtures/reftests/gzip-compressed.svg        |  Bin 0 -> 131 bytes
 tests/fixtures/reftests/include-compressed-ref.png |  Bin 0 -> 155 bytes
 tests/fixtures/reftests/include-compressed.svg     |    3 +++
 4 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/fixtures/reftests/gzip-compressed-ref.png b/tests/fixtures/reftests/gzip-compressed-ref.png
new file mode 100644
index 0000000..d724b8f
Binary files /dev/null and b/tests/fixtures/reftests/gzip-compressed-ref.png differ
diff --git a/tests/fixtures/reftests/gzip-compressed.svg b/tests/fixtures/reftests/gzip-compressed.svg
new file mode 100644
index 0000000..1a7d554
Binary files /dev/null and b/tests/fixtures/reftests/gzip-compressed.svg differ
diff --git a/tests/fixtures/reftests/include-compressed-ref.png 
b/tests/fixtures/reftests/include-compressed-ref.png
new file mode 100644
index 0000000..d724b8f
Binary files /dev/null and b/tests/fixtures/reftests/include-compressed-ref.png differ
diff --git a/tests/fixtures/reftests/include-compressed.svg b/tests/fixtures/reftests/include-compressed.svg
new file mode 100644
index 0000000..365d3fc
--- /dev/null
+++ b/tests/fixtures/reftests/include-compressed.svg
@@ -0,0 +1,3 @@
+<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="10" height="10">
+  <use xlink:href="gzip-compressed.svg#a" width="10" height="10" />
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]