Home
last modified time | relevance | path

Searched refs:expectEquals (Results 1 – 2 of 2) sorted by relevance

/external/chromium-libpac/test/js-unittest/
Dpac_library_unittest.js43 t.expectEquals(0, dnsDomainLevels("www"));
44 t.expectEquals(2, dnsDomainLevels("www.google.com"));
45 t.expectEquals(3, dnsDomainLevels("192.168.1.1"));
80 t.expectEquals("::1;::2;::3", sortIpAddressList("::2;::3;::1"));
81 t.expectEquals(
88 t.expectEquals("127.0.0.1", sortIpAddressList("127.0.0.1"));
89 t.expectEquals("::1", sortIpAddressList("::1"))
92 t.expectEquals("0:0::1;192.168.1.1", sortIpAddressList("192.168.1.1;0:0::1"));
95 t.expectEquals("::1;192.168.1.3", sortIpAddressList("::1;192.168.1.3"));
98 t.expectEquals("0::1;::1;0:0::1", sortIpAddressList("0::1;::1;0:0::1"));
[all …]
Dbindings.js13 function expectEquals(expectation, actual) { function
24 expectEquals(undefined, dnsResolve());
25 expectEquals(undefined, dnsResolve(null));
26 expectEquals(undefined, dnsResolve(undefined));
27 expectEquals('127.0.0.1', dnsResolve(""));
28 expectEquals(undefined, dnsResolve({foo: 'bar'}));
29 expectEquals(undefined, dnsResolve(fn));
30 expectEquals(undefined, dnsResolve(['3']));
31 expectEquals('127.0.0.1', dnsResolve("arg1", "arg2", "arg3", "arg4"));