Searched refs:assert_true (Results 1 – 25 of 37) sorted by relevance
12
/third_party/node/test/fixtures/wpt/url/ |
D | urlsearchparams-has.any.js | 3 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"');
|
D | urlsearchparams-constructor.any.js | 31 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 …]
|
D | url-searchparams.any.js | 8 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)
|
D | urlsearchparams-set.any.js | 14 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"');
|
D | urlsearchparams-getall.any.js | 16 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"');
|
D | urlsearchparams-get.any.js | 16 assert_true(params != null, 'constructor returned non-null value.'); 17 assert_true(params.has('first'), 'Search params object has name "first"');
|
D | urlsearchparams-append.any.js | 33 assert_true(params.has('first'), 'Search params object has name "first"');
|
D | urlsearchparams-delete.any.js | 22 assert_true(params.has('first'), 'Search params object has name "first"');
|
/third_party/node/test/fixtures/wpt/FileAPI/url/ |
D | url-format.any.js | 21 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/ |
D | event.any.js | 17 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/ |
D | test-whatwg-url-constructor.js | 9 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/ |
D | idlharness.js | 867 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"); 1026 … assert_true(-128 <= value && value <= 127, "byte " + value + " should be in range [-128, 127]"); 1032 … assert_true(0 <= value && value <= 255, "octet " + value + " should be in range [0, 255]"); 1038 …assert_true(-32768 <= value && value <= 32767, "short " + value + " should be in range [-32768, 32… [all …]
|
/third_party/node/test/fixtures/wpt/hr-time/ |
D | basic.any.js | 2 assert_true((self.performance !== undefined), "self.performance exists"); 9 assert_true(self.performance.now() > 0); 15 assert_true((now2-now1) >= 0);
|
D | monotonic-clock.any.js | 3 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/ |
D | Blob.js | 11 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/ |
D | FileReaderSync.worker.js | 11 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/ |
D | Blob-array-buffer.any.js | 9 assert_true(array_buffer instanceof ArrayBuffer); 17 assert_true(array_buffer instanceof ArrayBuffer); 42 assert_true(array_buffer instanceof ArrayBuffer);
|
D | Blob-stream.any.js | 19 assert_true(stream instanceof ReadableStream); 20 assert_true('getReader' in stream); 23 assert_true('read' in reader);
|
D | Blob-constructor.any.js | 6 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/ |
D | textdecoder-ignorebom.any.js | 34 …assert_true('ignoreBOM' in new TextDecoder(), 'The ignoreBOM attribute should exist on TextDecoder… 37 …assert_true(new TextDecoder('utf-8', {ignoreBOM: true}).ignoreBOM, 'The ignoreBOM attribute can be…
|
D | textdecoder-fatal.any.js | 61 assert_true('fatal' in new TextDecoder(), 'The fatal attribute should exist on TextDecoder.'); 64 …assert_true(new TextDecoder('utf-8', {fatal: true}).fatal, 'The fatal attribute can be set using a…
|
/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | decode-attributes.any.js | 39 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/ |
D | test_upb.lua | 65 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/ |
D | console-label-conversion.any.js | 17 …assert_true(labelToStringCalled, `${method}() must call toString() on label when label is an objec…
|
D | console-is-a-namespace.any.js | 6 assert_true(self.hasOwnProperty("console"));
|
12