mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
changed integration tests to visual tests
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
<ul>
|
||||
<li><a href="unitTests.html">Unit Tests (724)</a></li>
|
||||
<li><a href="functionalTests.html">Functional Tests (171)</a></li>
|
||||
<li><a href="integrationTests.html">Integration Tests (46)</a></li>
|
||||
<li><a href="visualTests.html">Visual Tests (46)</a></li>
|
||||
<li><a href="manualTests.html">Manual Tests</a></li>
|
||||
<li><a href="performanceTests.html">Performance Tests</a></li>
|
||||
<li><a href="visualTests.html">Performance Tests</a></li>
|
||||
<li><a href="special/index.html">Special Tests</a></li>
|
||||
</ul>
|
||||
</body>
|
||||
|
26
tests/html/visualTests.html
Normal file
26
tests/html/visualTests.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
/* overwrite CSS */
|
||||
|
||||
</style>
|
||||
<link rel="stylesheet" type="text/css"href="../base.css">
|
||||
<script src="../../dist/kinetic-v0.0.0.js"></script>
|
||||
<script src="../assets/dataUrls.js"></script>
|
||||
<script src="../js/Test.js"></script>
|
||||
<script src="../js/visualTests.js"></script>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
var test = new Test();
|
||||
test.run();
|
||||
|
||||
document.getElementsByTagName('body')[0].addEventListener('mousemove', function(evt) {
|
||||
//console.log(evt.clientX + ',' + evt.clientY);
|
||||
}, false);
|
||||
};
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
1851
tests/js/visualTests.js
Normal file
1851
tests/js/visualTests.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user