Home
last modified time | relevance | path

Searched refs:assert_true (Results 1 – 25 of 37) sorted by relevance

12

/third_party/node/test/fixtures/wpt/url/
Durlsearchparams-has.any.js3 assert_true(params.has('a'));
4 assert_true(params.has('c'));
7 assert_true(params.has('a'));
9 assert_true(params.has(''));
11 assert_true(params.has(null));
18 assert_true(params.has('a'), 'Search params object has name "a"');
19 assert_true(params.has('c'), 'Search params object has name "c"');
20 assert_true(params.has('first'), 'Search params object has name "first"');
Durlsearchparams-constructor.any.js31 assert_true(params != null, 'constructor returned non-null value.');
42 assert_true(params != null, 'constructor returned non-null value.');
43 assert_true(params.has('a'), 'Search params object has name "a"');
47 assert_true(params != null, 'constructor returned non-null value.');
48 assert_true(params.has('a'), 'Search params object has name "a"');
49 assert_true(params.has('c'), 'Search params object has name "c"');
52 assert_true(params != null, 'constructor returned non-null value.');
53 assert_true(params.has('a'), 'Search params object has name "a"');
54 assert_true(params.has('a b'), 'Search params object has name "a b"');
55 assert_true(params.has(' '), 'Search params object has name " "');
[all …]
Durl-searchparams.any.js8 assert_true("searchParams" in url)
10 assert_true(url.searchParams === searchParams, 'Object identity should hold.')
15 assert_true("searchParams" in url)
37 assert_true("searchParams" in url)
Durlsearchparams-set.any.js14 assert_true(params.has('a'), 'Search params object has name "a"');
17 assert_true(params.has('a'), 'Search params object has name "a"');
20 assert_true(params.has('a'), 'Search params object has name "a"');
Durlsearchparams-getall.any.js16 assert_true(params.has('a'), 'Search params object has name "a"');
18 assert_true(matches && matches.length == 4, 'Search params object has values for name "a"');
23 assert_true(matches && matches.length == 1, 'Search params object has values for name "a"');
Durlsearchparams-get.any.js16 assert_true(params != null, 'constructor returned non-null value.');
17 assert_true(params.has('first'), 'Search params object has name "first"');
Durlsearchparams-append.any.js33 assert_true(params.has('first'), 'Search params object has name "first"');
Durlsearchparams-delete.any.js22 assert_true(params.has('first'), 'Search params object has name "first"');
/third_party/node/test/fixtures/wpt/FileAPI/url/
Durl-format.any.js21 assert_true(url.startsWith('blob:'));
27 assert_true(url.startsWith('blob:'));
34 assert_true(url.includes(location.origin));
35 assert_true(url.startsWith('blob:' + location.protocol));
47 assert_true(uuid_path_re.test(url_record.pathname), 'Path must end with a valid UUID');
52 assert_true(url.includes(location.origin));
53 assert_true(url.startsWith('blob:' + location.protocol));
61 assert_true(url.includes(location.origin));
62 assert_true(url.startsWith('blob:' + location.protocol));
/third_party/node/test/fixtures/wpt/dom/abort/
Devent.any.js17 assert_true(s.aborted);
40 assert_true(signal.aborted);
43 assert_true(signal.aborted);
62 assert_true(e.isTrusted, "event should be trusted");
69 assert_true(signal.aborted);
/third_party/node/test/parallel/
Dtest-whatwg-url-constructor.js9 const { test, assert_equals, assert_true, assert_throws } =
67 assert_true("searchParams" in url)
78 assert_true("searchParams" in url)
80 assert_true(url.searchParams === searchParams, 'Object identity should hold.')
85 assert_true("searchParams" in url)
107 assert_true("searchParams" in url)
/third_party/node/test/fixtures/wpt/resources/
Didlharness.js867 assert_true(originalExists, `Original ${parsed_idl.type} should be defined`);
875 assert_true(
949 assert_true(false, "Attribute has value " + format_value(value)
981 assert_true(Array.isArray(value), "should be an Array");
992 assert_true("then" in value, "Attribute with a Promise type should have a then property");
1000 assert_true(Array.isArray(value), "Value should be array");
1001 assert_true(Object.isFrozen(value), "Value should be frozen");
1026assert_true(-128 <= value && value <= 127, "byte " + value + " should be in range [-128, 127]");
1032assert_true(0 <= value && value <= 255, "octet " + value + " should be in range [0, 255]");
1038assert_true(-32768 <= value && value <= 32767, "short " + value + " should be in range [-32768, 32…
[all …]
/third_party/node/test/fixtures/wpt/hr-time/
Dbasic.any.js2 assert_true((self.performance !== undefined), "self.performance exists");
9 assert_true(self.performance.now() > 0);
15 assert_true((now2-now1) >= 0);
Dmonotonic-clock.any.js3 assert_true(self.performance.now() > 0, "self.performance.now() returns positive numbers");
10 assert_true((now2-now1) >= 0, "self.performance.now() difference is not negative");
/third_party/node/test/fixtures/wpt/FileAPI/support/
DBlob.js11 assert_true(blob instanceof Blob);
35 assert_true(blob instanceof Blob);
42 assert_true(this.result instanceof ArrayBuffer,
56 assert_true(array.buffer instanceof ArrayBuffer,
/third_party/node/test/fixtures/wpt/FileAPI/
DFileReaderSync.worker.js11 assert_true(readerSync instanceof FileReaderSync);
46 assert_true(data instanceof ArrayBuffer);
52 assert_true(data instanceof ArrayBuffer);
/third_party/node/test/fixtures/wpt/FileAPI/blob/
DBlob-array-buffer.any.js9 assert_true(array_buffer instanceof ArrayBuffer);
17 assert_true(array_buffer instanceof ArrayBuffer);
42 assert_true(array_buffer instanceof ArrayBuffer);
DBlob-stream.any.js19 assert_true(stream instanceof ReadableStream);
20 assert_true('getReader' in stream);
23 assert_true('read' in reader);
DBlob-constructor.any.js6 assert_true("Blob" in globalThis, "globalThis should have a Blob property.");
8 assert_true(Blob instanceof Function, "Blob should be a function.");
14 assert_true(blob instanceof Blob);
24 assert_true(blob instanceof Blob);
30 assert_true(blob instanceof Blob);
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-ignorebom.any.js34assert_true('ignoreBOM' in new TextDecoder(), 'The ignoreBOM attribute should exist on TextDecoder…
37assert_true(new TextDecoder('utf-8', {ignoreBOM: true}).ignoreBOM, 'The ignoreBOM attribute can be…
Dtextdecoder-fatal.any.js61 assert_true('fatal' in new TextDecoder(), 'The fatal attribute should exist on TextDecoder.');
64assert_true(new TextDecoder('utf-8', {fatal: true}).fatal, 'The fatal attribute can be set using a…
/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-attributes.any.js39 assert_true(stream.fatal, 'fatal should be true');
44 assert_true(stream.ignoreBOM, 'ignoreBOM should be true');
/third_party/grpc/third_party/upb/tests/bindings/lua/
Dtest_upb.lua65 assert_true(#e > 3 and #e < 10)
89 assert_true(#serialized > 0)
194 assert_true(#serialized > 0)
280 assert_true(#serialized > 0)
636 assert_true(#descriptor > 0)
691 assert_true(#serialized > 0)
693 assert_true(#upb.encode(empty_with_unknown) > 0)
695 assert_true(#upb.encode(empty_with_unknown, {upb.ENCODE_SKIPUNKNOWN}) == 0)
/third_party/node/test/fixtures/wpt/console/
Dconsole-label-conversion.any.js17assert_true(labelToStringCalled, `${method}() must call toString() on label when label is an objec…
Dconsole-is-a-namespace.any.js6 assert_true(self.hasOwnProperty("console"));

12