svgedit/test/contextmenu_test.html

27 lines
748 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Unit Tests for contextmenu.js</title>
<link rel="icon" type="image/png" href="../editor/images/logo.png"/>
<link rel="stylesheet" href="qunit/qunit.css"/>
<script src="../editor/jquery.js"></script>
<script>
// Mock for browser.js
window.svgEditor = {
ready: function () {}
};
</script>
<script src="../editor/contextmenu.js"></script>
<script src="qunit/qunit.js"></script>
<script src="contextmenu_test.js"></script>
</head>
<body>
<h1 id="qunit-header">Unit Tests for contextmenu.js</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="svgroot" style="visibility:hidden"></div>
</body>
</html>