OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 PASS If there is one img, it should be returned (name) | 2 PASS If there is one img, it should be returned (name) |
3 PASS If there are two imgs, a collection should be returned. (name) | 3 PASS If there are two imgs, a collection should be returned. (name) |
4 FAIL If there is one img, it should not be returned (id) assert_false: "test3" i
n document should be false expected false got true | 4 PASS If there is one img, it should not be returned (id) |
5 FAIL If there are two imgs, nothing should be returned. (id) assert_false: "test
4" in document should be false expected false got true | 5 FAIL If there are two imgs, nothing should be returned. (id) assert_false: "test
4" in document should be false expected false got true |
6 PASS If there are two imgs, the one with a name should be returned. (name and id
) | 6 PASS If there are two imgs, the one with a name should be returned. (name and id
) |
7 PASS If there are two imgs, the one with a name should be returned. (id and name
) | 7 PASS If there are two imgs, the one with a name should be returned. (id and name
) |
8 PASS A name should affect getting an img by id | 8 PASS A name should affect getting an img by id |
9 PASS An id shouldn't affect getting an img by name | 9 PASS An id shouldn't affect getting an img by name |
10 Harness: the test ran to completion. | 10 Harness: the test ran to completion. |
11 | 11 |
OLD | NEW |