moved several manual tests to the unit test page. Added another functional test. Added warning logs to the functional test framework

This commit is contained in:
Eric Rowell
2012-06-16 01:21:35 -07:00
parent c1b9d44885
commit a49fc610d6
7 changed files with 216 additions and 380 deletions

View File

@@ -1,17 +1,33 @@
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css"href="../base.css">
<script src="../../dist/kinetic-core.js"></script>
<script src="../assets/dataUrls.js"></script>
<script src="../js/Test.js"></script>
<script src="../js/functionalTests.js"></script>
<script>
<head>
<style>
/* overwrite CSS */
.green {
position: absolute;
top: 0px;
}
.row {
position: absolute;
top: 18px;
}
</style>
<link rel="stylesheet" type="text/css"href="../base.css">
<script src="../../dist/kinetic-core.js"></script>
<script src="../assets/dataUrls.js"></script>
<script src="../js/Test.js"></script>
<script src="../js/functionalTests.js"></script>
<script>
window.onload = function() {
var test = new Test();
test.run();
document.getElementsByTagName('body')[0].addEventListener('mousemove', function(evt) {
console.log(evt.offsetX + ',' + evt.offsetY);
}, false);
};
</script>
</head>
<body onmousedown="return false;"></body>
</script>
</head>
<body onmousedown="return false;"></body>
</html>