Add unit tests for svgtransformlist.js and all_tests page

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1853 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2010-11-08 07:23:26 +00:00
parent a681fc2579
commit 3aabcb428b
4 changed files with 315 additions and 25 deletions

21
test/all_tests.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>All SVG-edit Tests</title>
<script src='../editor/jquery.js'></script>
</head>
<body>
<h1>All SVG-edit Tests</h1>
<p>This file frames all SVG-edit test pages. This should only include tests known to work. If a test is broken in this page, it is possible that <em>YOU</em> broke it. Please do not submit code that breaks any of these tests.</p>
<iframe src='svgtransformlist_test.html' width='100%' height='300'></iframe>
</body>
<script>
window.setTimeout(function() {
var iframes = document.getElementsByTagName('iframe');
for (var i = 0, len = iframes.length; i < len; ++i) {
var f = iframes[i];
f.style.height = f.contentDocument.body.scrollHeight + 'px';
}
}, 1000);
</script>
</html>