2013-02-14 15:19:46 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2013-02-16 15:02:26 +00:00
|
|
|
<link rel='stylesheet' href='qunit/qunit.css' type='text/css'/>
|
|
|
|
<script src='../editor/jquery.js'></script>
|
|
|
|
<script src='../editor/svgedit.js'></script>
|
|
|
|
<script src='../editor/browser.js'></script>
|
|
|
|
<script src='../editor/svgutils.js'></script>
|
|
|
|
<script src='../editor/sanitize.js'></script>
|
|
|
|
<script src='qunit/qunit.js'></script>
|
|
|
|
<script>
|
|
|
|
$(function() {
|
2013-02-14 15:19:46 +00:00
|
|
|
// log function
|
|
|
|
QUnit.log = function(result, message) {
|
|
|
|
if (window.console && window.console.log) {
|
|
|
|
window.console.log(result +' :: '+ message);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2013-02-16 15:02:26 +00:00
|
|
|
var svg = document.createElementNS(svgedit.NS.SVG, 'svg');
|
2013-02-14 15:19:46 +00:00
|
|
|
|
|
|
|
// TODO: Since recalculateDimensions() and surrounding code is
|
|
|
|
// probably the largest, most complicated and strange piece of
|
|
|
|
// code in SVG-edit, we need to write a whole lot of unit tests
|
|
|
|
// for it here.
|
2013-02-16 15:02:26 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
2013-02-14 15:19:46 +00:00
|
|
|
<h1 id='qunit-header'>Unit Tests for svgedit.coords</h1>
|
|
|
|
<h2 id='qunit-banner'></h2>
|
|
|
|
<h2 id='qunit-userAgent'></h2>
|
|
|
|
<ol id='qunit-tests'>
|
|
|
|
</ol>
|
|
|
|
<div id='anchor' style='visibility:hidden'>
|
|
|
|
</div>
|
2013-02-16 15:02:26 +00:00
|
|
|
</body>
|
2013-02-14 15:19:46 +00:00
|
|
|
</html>
|