61c6ab3fb0
functional tests, unless a whole lot of mock objects are introduced, which isn't entirely out of the question). Uses JsUnit, which is included in this commit.
44 lines
1.6 KiB
HTML
44 lines
1.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>JsUnit Test Suite</title>
|
|
<link rel="stylesheet" type="text/css" href="../css/jsUnitStyle.css">
|
|
<script language="JavaScript" type="text/javascript" src="../app/jsUnitCore.js"></script>
|
|
<script language="JavaScript" type="text/javascript">
|
|
|
|
function coreSuite() {
|
|
var result = new top.jsUnitTestSuite();
|
|
result.addTestPage("tests/jsUnitAssertionTests.html");
|
|
result.addTestPage("tests/jsUnitSetUpTearDownTests.html");
|
|
result.addTestPage("tests/jsUnitRestoredHTMLDivTests.html");
|
|
result.addTestPage("tests/jsUnitFrameworkUtilityTests.html");
|
|
result.addTestPage("tests/jsUnitOnLoadTests.html");
|
|
result.addTestPage("tests/jsUnitUtilityTests.html");
|
|
result.addTestPage("tests/jsUnitVersionCheckTests.html");
|
|
return result;
|
|
}
|
|
|
|
function librariesSuite() {
|
|
var result = new top.jsUnitTestSuite();
|
|
result.addTestPage("tests/jsUnitMockTimeoutTest.html");
|
|
return result;
|
|
}
|
|
|
|
function suite() {
|
|
var newsuite = new top.jsUnitTestSuite();
|
|
newsuite.addTestSuite(coreSuite());
|
|
newsuite.addTestSuite(librariesSuite());
|
|
return newsuite;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>JsUnit Test Suite</h1>
|
|
|
|
<p>This page contains a suite of tests for testing JsUnit.</p>
|
|
</body>
|
|
</html>
|