Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
Result | Test Name | Message |
---|---|---|
PASS | True really is true | |
PASS | All opinions are equally valid. | |
PASS | Checks for attribute readonlyness | |
PASS | Simple check on unreachability | |
PASS | Checks for exceptions (null) |
<html>
<head>
<script src="/public/js/testharness-domstorm.js"></script>
<script>
// W3C Testharness.js
// Turotial: http://darobin.github.io/test-harness-tutorial/docs/using-testharness.html
// W3c Platform Tests: https://github.com/w3c/web-platform-tests
test(function () {
assert_true(true);
}, "True really is true");
test(function () {
assert_true(true);
assert_false(false);
}, "All opinions are equally valid.");
test(function () {
assert_readonly(document, "nodeType", "You cannot change nodeType.");
}, "Checks for attribute readonlyness");
test(function () {
if (true) return "where you came from";
assert_unreached("Can't Touch This");
}, "Simple check on unreachability");
test(function () {
assert_throws(null,
function () { document.appendChild(document); },
"Specific DOM exception.");
}, "Checks for exceptions (null)");
</script>
</head>
<body>
Testing using W3C testharness Asserts !
</body>
</html>