diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-13 13:55:12 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-13 13:55:12 +0100 |
commit | 79ff1f886b48e6b43ddd0ad3e3c6155e5826c4c5 (patch) | |
tree | 981423c22be47e79035655158db47c2631df362b /t/cmp | |
parent | 4947c1961eefa26e41314c61a74d361c2593996e (diff) |
Add App::Dthumb tests for create_files, create_thumbnail_html and write_out_html
Diffstat (limited to 't/cmp')
-rw-r--r-- | t/cmp/index.names | 26 | ||||
-rw-r--r-- | t/cmp/index.no-names | 22 |
2 files changed, 48 insertions, 0 deletions
diff --git a/t/cmp/index.names b/t/cmp/index.names new file mode 100644 index 0000000..c682ae1 --- /dev/null +++ b/t/cmp/index.names @@ -0,0 +1,26 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>dthumb</title> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> + <link rel="stylesheet" type="text/css" href=".dthumb/main.css"/> + <link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> + <script type="text/javascript" src=".dthumb/lightbox.js"></script> +</head> +<body><div> +<div class="image-container"> + <a rel="lightbox" href="one.png" title="one.png"> + <img src="t/imgdir/.thumbs/one.png" alt="one.png" /></a> + <br /> + <a style="text-decoration: none;" href="one.png">one.png</a> +</div> +<div class="image-container"> + <a rel="lightbox" href="two.png" title="two.png"> + <img src="t/imgdir/.thumbs/two.png" alt="two.png" /></a> + <br /> + <a style="text-decoration: none;" href="two.png">two.png</a> +</div> +</div> +</body> +</html> diff --git a/t/cmp/index.no-names b/t/cmp/index.no-names new file mode 100644 index 0000000..5022b19 --- /dev/null +++ b/t/cmp/index.no-names @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>dthumb</title> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> + <link rel="stylesheet" type="text/css" href=".dthumb/main.css"/> + <link rel="stylesheet" type="text/css" href=".dthumb/lightbox.css"/> + <script type="text/javascript" src=".dthumb/lightbox.js"></script> +</head> +<body><div> +<div class="image-container"> + <a rel="lightbox" href="one.png" title="one.png"> + <img src="t/imgdir/.thumbs/one.png" alt="one.png" /></a> +</div> +<div class="image-container"> + <a rel="lightbox" href="two.png" title="two.png"> + <img src="t/imgdir/.thumbs/two.png" alt="two.png" /></a> +</div> +</div> +</body> +</html> |