Home | History | Annotate | Download | only in test

Lines Matching full:expectequals

30   "function expectEquals(expectation, actual) {\n" \
41 " expectEquals(undefined, dnsResolve());\n" \
42 " expectEquals(undefined, dnsResolve(null));\n" \
43 " expectEquals(undefined, dnsResolve(undefined));\n" \
44 " expectEquals('127.0.0.1', dnsResolve(\"\"));\n" \
45 " expectEquals(undefined, dnsResolve({foo: 'bar'}));\n" \
46 " expectEquals(undefined, dnsResolve(fn));\n" \
47 " expectEquals(undefined, dnsResolve(['3']));\n" \
48 " expectEquals('127.0.0.1', dnsResolve(\"arg1\", \"arg2\", \"arg3\", \"arg4\"));\n" \
204 " t.expectEquals(0, dnsDomainLevels(\"www\"));\n" \
205 " t.expectEquals(2, dnsDomainLevels(\"www.google.com\"));\n" \
206 " t.expectEquals(3, dnsDomainLevels(\"192.168.1.1\"));\n" \
241 " t.expectEquals(\"::1;::2;::3\", sortIpAddressList(\"::2;::3;::1\"));\n" \
242 " t.expectEquals(\n" \
249 " t.expectEquals(\"127.0.0.1\", sortIpAddressList(\"127.0.0.1\"));\n" \
250 " t.expectEquals(\"::1\", sortIpAddressList(\"::1\"))\n" \
253 " t.expectEquals(\"0:0::1;192.168.1.1\", sortIpAddressList(\"192.168.1.1;0:0::1\"));\n" \
256 " t.expectEquals(\"::1;192.168.1.3\", sortIpAddressList(\"::1;192.168.1.3\"));\n" \
259 " t.expectEquals(\"0::1;::1;0:0::1\", sortIpAddressList(\"0::1;::1;0:0::1\"));\n" \
262 " t.expectEquals(\"127.0.0.1\", sortIpAddressList(\";127.0.0.1;\"));\n" \
265 " t.expectEquals(\"192.168.0.1;192.168.0.2\",\n" \
267 " t.expectEquals(\"127.0.0.0;127.0.0.1;127.0.0.2\",\n" \
282 " t.expectEquals(null, sortIpAddressList());\n" \
283 " t.expectEquals(null, sortIpAddressList(null));\n" \
284 " t.expectEquals(null, sortIpAddressList(null, null));\n" \
306 " t.expectEquals(null, isInNetEx());\n" \
307 " t.expectEquals(null, isInNetEx(null));\n" \
308 " t.expectEquals(null, isInNetEx(null, null));\n" \
309 " t.expectEquals(null, isInNetEx(null, null, null));\n" \
310 " t.expectEquals(null, isInNetEx(\"198.95.249.79\"));\n" \
324 " t.expectEquals(true, weekdayRange(\"MON\", \"FRI\"));\n" \
325 " t.expectEquals(true, weekdayRange(\"TUE\", \"FRI\"));\n" \
326 " t.expectEquals(true, weekdayRange(\"TUE\", \"TUE\"));\n" \
327 " t.expectEquals(true, weekdayRange(\"TUE\"));\n" \
328 " t.expectEquals(false, weekdayRange(\"WED\", \"FRI\"));\n" \
329 " t.expectEquals(false, weekdayRange(\"SUN\", \"MON\"));\n" \
330 " t.expectEquals(false, weekdayRange(\"SAT\"));\n" \
331 " t.expectEquals(false, weekdayRange(\"FRI\", \"MON\"));\n" \
335 " t.expectEquals(true, weekdayRange(\"MON\", \"FRI\", \"GMT\"));\n" \
336 " t.expectEquals(true, weekdayRange(\"TUE\", \"FRI\", \"GMT\"));\n" \
337 " t.expectEquals(true, weekdayRange(\"TUE\", \"TUE\", \"GMT\"));\n" \
338 " t.expectEquals(true, weekdayRange(\"TUE\", \"GMT\"));\n" \
339 " t.expectEquals(false, weekdayRange(\"WED\", \"FRI\", \"GMT\"));\n" \
340 " t.expectEquals(false, weekdayRange(\"SUN\", \"MON\", \"GMT\"));\n" \
341 " t.expectEquals(false, weekdayRange(\"SAT\", \"GMT\"));\n" \
347 " t.expectEquals(true, dateRange(3));\n" \
348 " t.expectEquals(false, dateRange(1));\n" \
352 " t.expectEquals(true, dateRange(3, \"GMT\"));\n" \
353 " t.expectEquals(false, dateRange(1, \"GMT\"));\n" \
357 " t.expectEquals(true, dateRange(1, 4));\n" \
358 " t.expectEquals(false, dateRange(4, 20));\n" \
362 " t.expectEquals(true, dateRange(3, \"MAR\"));\n" \
364 " t.expectEquals(true, dateRange(3, \"MAR\"));\n" \
366 " //t.expectEquals(false, dateRange(2, \"MAR\"));\n" \
367 " //t.expectEquals(false, dateRange(3, \"JAN\"));\n" \
371 " t.expectEquals(true, dateRange(3, \"MAR\", 2009));\n" \
372 " t.expectEquals(false, dateRange(4, \"MAR\", 2009));\n" \
373 " t.expectEquals(false, dateRange(3, \"FEB\", 2009));\n" \
375 " t.expectEquals(false, dateRange(3, \"MAR\", 2009));\n" \
379 " t.expectEquals(true, dateRange(\"JAN\", \"MAR\"));\n" \
380 " t.expectEquals(true, dateRange(\"MAR\", \"APR\"));\n" \
381 " t.expectEquals(false, dateRange(\"MAY\", \"SEP\"));\n" \
385 " t.expectEquals(true, dateRange(1, \"JAN\", 3, \"MAR\"));\n" \
386 " t.expectEquals(true, dateRange(3, \"MAR\", 4, \"SEP\"));\n" \
387 " t.expectEquals(false, dateRange(4, \"MAR\", 4, \"SEP\"));\n" \
391 " t.expectEquals(true, dateRange(\"FEB\", 2009, \"MAR\", 2009));\n" \
393 " t.expectEquals(true, dateRange(\"FEB\", 2009, \"MAR\", 2010));\n" \
394 " t.expectEquals(false, dateRange(\"FEB\", 2009, \"MAR\", 2009));\n" \
398 " t.expectEquals(true, dateRange(1, \"JAN\", 2009, 3, \"MAR\", 2009));\n" \
399 " t.expectEquals(true, dateRange(3, \"MAR\", 2009, 4, \"SEP\", 2009));\n" \
400 " t.expectEquals(true, dateRange(3, \"JAN\", 2009, 4, \"FEB\", 2010));\n" \
401 " t.expectEquals(false, dateRange(4, \"MAR\", 2009, 4, \"SEP\", 2009));\n" \
407 " t.expectEquals(true, timeRange(3));\n" \
408 " t.expectEquals(false, timeRange(2));\n" \
412 " t.expectEquals(true, timeRange(2, 3));\n" \
413 " t.expectEquals(true, timeRange(2, 4));\n" \
414 " t.expectEquals(true, timeRange(3, 5));\n" \
415 " t.expectEquals(false, timeRange(1, 2));\n" \
416 " t.expectEquals(false, timeRange(11, 12));\n" \
420 " t.expectEquals(true, timeRange(1, 0, 3, 34));\n" \
421 " t.expectEquals(true, timeRange(1, 0, 3, 35));\n" \
422 " t.expectEquals(true, timeRange(3, 34, 5, 0));\n" \
423 " t.expectEquals(false, timeRange(1, 0, 3, 0));\n" \
424 " t.expectEquals(false, timeRange(11, 0, 16, 0));\n" \
428 " t.expectEquals(true, timeRange(1, 0, 0, 3, 34, 14));\n" \
429 " t.expectEquals(false, timeRange(1, 0, 0, 3, 34, 0));\n" \
430 " t.expectEquals(true, timeRange(1, 0, 0, 3, 35, 0));\n" \
431 " t.expectEquals(true, timeRange(3, 34, 0, 5, 0, 0));\n" \
432 " t.expectEquals(false, timeRange(1, 0, 0, 3, 0, 0));\n" \
433 " t.expectEquals(false, timeRange(11, 0, 0, 16, 0, 0));\n" \
451 "TestContext.prototype.expectEquals = function(expectation, actual) {\n" \
459 " this.expectEquals(true, x);\n" \
463 " this.expectEquals(false, x);\n" \