2006-10-25 20:40:15 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2007-01-26 18:44:58 +00:00
|
|
|
<script type="text/javascript" src="/MochiKit/Base.js"></script>
|
|
|
|
<script type="text/javascript" src="/MochiKit/Logging.js"></script>
|
|
|
|
<script type="text/javascript" src="/MochiKit/Iter.js"></script>
|
|
|
|
<script type="text/javascript" src="/MochiKit/DOM.js"></script>
|
|
|
|
<script type="text/javascript" src="/MochiKit/Style.js"></script>
|
|
|
|
<script type="text/javascript" src="../SimpleTest/SimpleTest.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../SimpleTest/test.css">
|
2006-10-25 20:40:15 +00:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<pre id="test">
|
|
|
|
<script type="text/javascript" src="test_Logging.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
try {
|
|
|
|
|
|
|
|
tests.test_Logging({ok:ok, is:is});
|
|
|
|
ok( true, "test suite finished!");
|
|
|
|
|
|
|
|
} catch (err) {
|
|
|
|
|
|
|
|
var s = "test suite failure!\n";
|
|
|
|
var o = {};
|
|
|
|
var k = null;
|
|
|
|
for (k in err) {
|
|
|
|
// ensure unique keys?!
|
|
|
|
if (!o[k]) {
|
|
|
|
s += k + ": " + err[k] + "\n";
|
|
|
|
o[k] = err[k];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ok ( false, s );
|
|
|
|
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</pre>
|
|
|
|
</body>
|
|
|
|
</html>
|