Lines Matching full:descr
13 function assertSize(descr, expected, actual) {
15 assertNotNull(descr, actual);
17 assertEquals(descr, expected, actualSize);
20 function assertEqualsAutoCase(context, descr, expected, actual) {
23 assertEquals(descr, expected.toLowerCase(), actual.toLowerCase());
25 assertEquals(descr, expected.toUpperCase(), actual);
28 assertEquals(descr, expected, actual);
33 function assertEqualsCollectionAutoCase(context, descr, expected, actual) {
36 assertEquals(descr, expected.length, actual.length);
68 assert(descr + ": No match found for " + expectedValue,false);
71 assert(descr + ": Multiple matches found for " + expectedValue, false);
76 function assertEqualsCollection(descr, expected, actual) {
79 assertEquals(descr, expected.length, actual.length);
98 assert(descr + ": No match found for " + expectedValue,false);
101 assert(descr + ": Multiple matches found for " + expectedValue, false);
107 function assertEqualsListAutoCase(context, descr, expected, actual) {
114 assertEqualsAutoCase(context, descr, expected[i], actual[i]);
118 assertEquals(descr, expected.length, actual.length);
122 function assertEqualsList(descr, expected, actual) {
130 assertEquals(descr, expected[i], actual[i]);
135 assertEquals(descr, expected.length, actual.length);
138 function assertInstanceOf(descr, type, obj) {
140 assertEquals(descr,2,obj.nodeType);
145 function assertSame(descr, expected, actual) {
147 assertEquals(descr, expected.nodeType, actual.nodeType);
148 assertEquals(descr, expected.nodeValue, actual.nodeValue);