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.
31 lines
1.0 KiB
HTML
31 lines
1.0 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 setUpPagesTestSuite() {
|
|
var newsuite = new top.jsUnitTestSuite();
|
|
newsuite.addTestPage("tests/jsUnitTestSetUpPages.html");
|
|
return newsuite;
|
|
}
|
|
|
|
function suite() {
|
|
var newsuite = new top.jsUnitTestSuite();
|
|
newsuite.addTestSuite(setUpPagesTestSuite());
|
|
return newsuite;
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>JsUnit Test Suite</h1>
|
|
|
|
<p>This page contains a suite of tests for testing JsUnit's setUpPages functionality.</p>
|
|
</body>
|
|
</html>
|