Home
last modified time | relevance | path

Searched refs:should (Results 1 - 25 of 466) sorted by relevance

12345678910>>...19

/third_party/node/test/fixtures/wpt/streams/writable-streams/
H A Dstart.any.js20 assert_equals(writer.desiredSize, 1, 'desiredSize should be 1');
22 assert_equals(writer.desiredSize, 0, 'desiredSize should be 0 after writer.write()');
27 assert_array_equals(ws.events, [], 'write should not be called until start promise resolves');
32 'write should not be called until start promise resolves'));
33 }, 'underlying sink\'s write should not be called until start finishes');
48 assert_equals(writer.desiredSize, 1, 'desiredSize should be 1');
52 assert_array_equals(ws.events, [], 'close should not be called until start promise resolves');
56 }, 'underlying sink\'s close should not be called until start finishes');
77 }, 'constructor should throw passedError');
78 assert_false(writeCalled, 'write should no
[all...]
H A Dwrite.any.js37 .then(() => assert_array_equals(storage, input, 'correct data should be relayed to underlying sink'));
38 }, 'WritableStream should complete asynchronous writes before close resolves');
48 'correct data should be relayed to underlying sink'));
49 }, 'WritableStream should complete synchronous writes before close resolves');
63 }, 'fulfillment value of ws.write() call should be undefined even if the underlying sink returns a non-undefined ' +
78 assert_equals(writer.desiredSize, 1, 'desiredSize should be 1');
83 assert_not_equals(resolveSinkWritePromise, undefined, 'resolveSinkWritePromise should not be undefined');
85 assert_equals(writer.desiredSize, 0, 'desiredSize should be 0 after writer.write()');
90 assert_equals(resolveSinkWritePromise, undefined, 'sinkWritePromise should be fulfilled before writePromise');
92 assert_equals(value, undefined, 'writePromise should b
[all...]
H A Dproperties.any.js36 assert_equals(argCount, length, `${method} should be called with ${length} arguments`);
38 }, `sink method ${method} should be called with the right number of arguments`);
50 assert_true(methodWasCalled, `${method} should be called`);
52 }, `sink method ${method} should be called even when it's located on the prototype chain`);
/third_party/ltp/scripts/
H A Dcheckbashisms.pl20 # You should have received a copy of the GNU General Public License
148 if ($. == 1) { # This should be an interpreter line
426 q<$'...' should be "$(printf '...')">);
455 q<$"foo" should be eval_gettext "foo">);
575 # the exec should either be "eval"ed or a new statement
617 # the exec should either be "eval"ed or a new statement
640 qr'(test|-o|-a)\s*[^\s]+\s+==\s' => q<should be 'b = a'>,
641 qr'\[\s+[^\]]+\s+==\s' => q<should be 'b = a'>,
645 q<brace expansion, {a..b[..c]}should be $(seq a [c] b)>,
657 qr'(?<![\$\(])\(\(.*\)\)' => q<'((' should b
[all...]
/third_party/node/test/parallel/
H A Dtest-runner-cli.js32 assert.match(stdout, /ok 1 - this should pass/);
33 assert.match(stdout, /not ok 2 - this should fail/);
35 assert.match(stdout, /ok 4 - this should pass/);
36 assert.match(stdout, /ok 5 - this should be skipped/);
37 assert.match(stdout, /ok 6 - this should be executed/);
46 assert.match(stdout, /ok 1 - this should pass/);
47 assert.match(stdout, /not ok 2 - this should fail/);
49 assert.match(stdout, /ok 4 - this should pass/);
50 assert.match(stdout, /ok 5 - this should be skipped/);
51 assert.match(stdout, /ok 6 - this should b
[all...]
H A Dtest-process-env-allowed-flags.js38 `flag should be in set: ${flag}`
46 `flag should not be in set: ${flag}`
/third_party/node/deps/npm/test/lib/commands/
H A Ddist-tag.js111 'should list available tags for current package'
124 'should throw basic usage'
139 'should default to listing available tags for current package'
148 'should show usage error'
157 'should list tags for the specified package'
169 'should log no dist-tag found msg'
184 'should throw usage error message'
193 'should default to listing tags for the specified package'
278 t.equal(opts.method, 'PUT', 'should trigger request to add new tag')
279 t.equal(opts.body, '"7.7.7"', 'should poin
[all...]
/third_party/node/test/fixtures/wpt/wasm/jsapi/
H A Dassertions.js3 assert_equals(typeof propdesc, "object", `${description} should have name property`);
4 assert_false(propdesc.writable, "writable", `${description} name should not be writable`);
5 assert_false(propdesc.enumerable, "enumerable", `${description} name should not be enumerable`);
6 assert_true(propdesc.configurable, "configurable", `${description} name should be configurable`);
7 assert_equals(propdesc.value, name, `${description} name should be ${name}`);
12 assert_equals(typeof propdesc, "object", `${description} should have length property`);
13 assert_false(propdesc.writable, "writable", `${description} length should not be writable`);
14 assert_false(propdesc.enumerable, "enumerable", `${description} length should not be enumerable`);
15 assert_true(propdesc.configurable, "configurable", `${description} length should be configurable`);
16 assert_equals(propdesc.value, length, `${description} length should b
[all...]
/third_party/node/test/fixtures/wpt/encoding/streams/
H A Ddecode-attributes.any.js20 assert_equals(stream.encoding, labelToName[label], 'encoding should match');
21 }, `encoding attribute should have correct value for '${label}'`);
27 assert_false(stream.fatal, 'fatal should be false');
28 }, `setting fatal to '${falseValue}' should set the attribute to false`);
32 assert_false(stream.ignoreBOM, 'ignoreBOM should be false');
33 }, `setting ignoreBOM to '${falseValue}' should set the attribute to false`);
39 assert_true(stream.fatal, 'fatal should be true');
40 }, `setting fatal to '${trueValue}' should set the attribute to true`);
44 assert_true(stream.ignoreBOM, 'ignoreBOM should be true');
45 }, `setting ignoreBOM to '${trueValue}' should se
[all...]
H A Drealms.window.js145 'obj should be in constructor realm');
146 }, `a ${classname} object should be associated with the realm the ` +
162 'readable should be in constructor realm');
164 'writable should be in constructor realm');
165 }, `${classname}'s readable and writable attributes should come from the ` +
176 'result should be in constructor realm');
178 'chunk should be in constructor realm');
179 }, 'the output chunks when read is called after write should come from the ' +
186 // Now the read() should resolve.
189 'result should b
[all...]
/third_party/node/test/fixtures/wpt/dom/events/resources/
H A Dprefixed-animation-event-tests.js48 `${unprefixedHandler} should initially be null`);
50 `${prefixedHandler} should initially be null`);
52 // Setting one should not affect the other.
56 `setting ${unprefixedHandler} should make it non-null`);
58 `setting ${unprefixedHandler} should not affect ${prefixedHandler}`);
63 `setting ${prefixedHandler} should make it non-null`);
65 'the setters should be different');
143 }, `${prefixedHandler} event handler should trigger for an animation`);
161 }, `${prefixedHandler} event handler should not trigger if an unprefixed ` +
180 }, `${prefixedHandler} event handler should no
[all...]
/third_party/node/test/fixtures/wpt/streams/transform-streams/
H A Dproperties.any.js32 assert_equals(argCount, length, `${method} should be called with ${length} arguments`);
34 }, `transformer method ${method} should be called with the right number of arguments`);
46 assert_true(methodWasCalled, `${method} should be called`);
48 }, `transformer method ${method} should be called even when it's located on the prototype chain`);
H A Dlipfuzz.any.js152 assert_false(done, `done should be false when reading ${outputChunk}`);
153 assert_equals(value, outputChunk, `value should match outputChunk`);
158 return reader.read().then(({ done }) => assert_true(done, `done should be true`));
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/
H A Dgeneral.any.js67 assert_true(startCalledBeforePull, 'start should be called before pull');
68 assert_equals(desiredSize, 256, 'desiredSize should equal highWaterMark');
118 pull: t.unreached_func('pull() should not be called'),
180 pull: t.unreached_func('pull() should not be called'),
196 pull: t.unreached_func('pull() should not be called'),
212 pull: t.unreached_func('pull() should not be called'),
228 pull: t.unreached_func('pull() should not be called'),
360 assert_equals(viewInfo.constructor, Uint8Array, 'first view.constructor should be Uint8Array');
361 assert_equals(viewInfo.bufferByteLength, 16, 'first view.buffer.byteLength should be 16');
362 assert_equals(viewInfo.byteOffset, 0, 'first view.byteOffset should b
[all...]
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/
H A Dsafe.t34 my $goodtemplate = q{This should succeed: { $v }};
35 my $goodoutput = q{This should succeed: 119};
50 # same template text should yield the same result.
59 # should yield the same result.
66 my $badtemplate = qq{This should fail: { $BADOP; 'NOFAIL' }};
67 my $badnosafeoutput = q{This should fail: NOFAIL};
69 q{This should fail: Program fragment delivered error ``kill trapped by operation mask at template line 1.''};
77 # none of these should fail
90 # (11) text1 and text4 should be the same (using safe in between
94 # (12) text2 and text3 should b
[all...]
/third_party/openssl/external/perl/Text-Template-1.56/t/
H A Dsafe.t34 my $goodtemplate = q{This should succeed: { $v }};
35 my $goodoutput = q{This should succeed: 119};
50 # same template text should yield the same result.
59 # should yield the same result.
66 my $badtemplate = qq{This should fail: { $BADOP; 'NOFAIL' }};
67 my $badnosafeoutput = q{This should fail: NOFAIL};
69 q{This should fail: Program fragment delivered error ``kill trapped by operation mask at template line 1.''};
77 # none of these should fail
90 # (11) text1 and text4 should be the same (using safe in between
94 # (12) text2 and text3 should b
[all...]
/third_party/node/test/fixtures/wpt/streams/resources/
H A Drs-test-templates.js4 // For readable stream tests, the factory should return the stream. For reader tests, the factory should return a
26 assert_throws_js(TypeError, () => rs.getReader({ mode: '' }), 'empty string mode should throw');
27 assert_throws_js(TypeError, () => rs.getReader({ mode: null }), 'null mode should throw');
28 assert_throws_js(TypeError, () => rs.getReader({ mode: 'asdf' }), 'asdf mode should throw');
29 assert_throws_js(TypeError, () => rs.getReader(5), '5 should throw');
34 }, label + ': calling getReader with invalid arguments should throw appropriate errors');
46 assert_not_equals(cancelPromise1, cancelPromise2, 'cancel() calls should return distinct promises');
49 cancelPromise1.then(v => assert_equals(v, undefined, 'first cancel() call should fulfill with undefined')),
50 cancelPromise2.then(v => assert_equals(v, undefined, 'second cancel() call should fulfil
[all...]
/third_party/mbedtls/tests/scripts/
H A Drun-metatests.sh10 metatest is expected to report a failure. The final line should be
13 If something goes wrong: the final line should be
/third_party/node/tools/gyp/tools/emacs/
H A Dgyp-tests.el50 (should (equal golden fontified))
51 (should (equal (text-face-properties golden)
/third_party/node/test/fixtures/wpt/streams/readable-streams/
H A Dasync-iterator.any.js24 assert_equals(Object.getPrototypeOf(proto), AsyncIteratorPrototype, 'prototype should extend AsyncIteratorPrototype');
27 assert_array_equals(Object.getOwnPropertyNames(proto).sort(), methods, 'should have all the correct methods');
31 assert_true(propDesc.enumerable, 'method should be enumerable');
32 assert_true(propDesc.configurable, 'method should be configurable');
33 assert_true(propDesc.writable, 'method should be writable');
34 assert_equals(typeof it[m], 'function', 'method should be a function');
35 assert_equals(it[m].name, m, 'method should have the correct name');
38 assert_equals(it.next.length, 0, 'next should have no parameters');
39 assert_equals(it.return.length, 1, 'return should have 1 parameter');
40 assert_equals(typeof it.throw, 'undefined', 'throw should no
[all...]
/third_party/node/test/fixtures/wpt/streams/piping/
H A Dpipe-through.any.js39 assert_array_equals(chunks, [1, 2, 3, 4, 5]), 'chunks should match');
40 }, 'Piping through a duck-typed pass-through transform stream should work');
46 c.error(new Error('this rejection should not be reported as unhandled'));
54 // The test harness should complain about unhandled rejections by then.
76 assert_false(calledPipeTo, 'the overridden pipeTo should not have been called');
77 assert_equals(result, readable, 'return value should be the passed readable property');
78 }, 'pipeThrough should not call pipeTo on this');
94 assert_false(calledFakePipeTo, 'the monkey-patched pipeTo should not have been called');
95 assert_equals(result, readable, 'return value should be the passed readable property');
97 }, 'pipeThrough should no
[all...]
/third_party/node/test/fixtures/wpt/resources/
H A Didlharness.js689 * @param {Function} idlArrayFunc Function operating on an IdlArray that should throw.
787 assert_true(originalExists, `Original ${parsed_idl.type} should be defined`);
800 `Original ${parsed_idl.name} definition should have type ${parsed_idl.type}`);
967 assert_true(Array.isArray(value), "should be an Array");
978 assert_true("then" in value, "Attribute with a Promise type should have a then property");
986 assert_true(Array.isArray(value), "Value should be array");
987 assert_true(Object.isFrozen(value), "Value should be frozen");
1011 assert_equals(value, Math.floor(value), "should be an integer");
1012 assert_true(-128 <= value && value <= 127, "byte " + value + " should be in range [-128, 127]");
1017 assert_equals(value, Math.floor(value), "should b
[all...]
/third_party/node/test/pummel/
H A Dtest-crypto-timing-safe-equal-benchmarks.js111 `timingSafeEqual should not leak information from its execution time (t=${t})`,
116 // case the t-value should be above the threshold.
121 `Buffer#equals should leak information from its execution time (t=${t2})`,
/third_party/libunwind/libunwind/doc/
H A Dlibunwind-ia64.tex15 \texttt{ia64} and, at least in theory, should be able to support all
110 the index \Const{UNW\_IA64\_GR}\texttt{+4} should be used.
125 should be used.
129 \texttt{f2}, the index \Const{UNW\_IA64\_FR}\texttt{+2} should be
137 \texttt{ar40}, the index \Const{UNW\_IA64\_AR}\texttt{+40} should be
144 \Const{UNW\_IA64\_BR}\texttt{+6} should be used.
201 \Prog{libunwind}, portable code should not rely on this equivalence.
H A Dunw_get_proc_info_by_ip.tex29 address-space in which the instruction-pointer should be looked up.
33 info should be looked up and \Var{pip} is a pointer to a structure of
35 Lastly, \Var{arg} is the address-space argument that should be used

Completed in 8 milliseconds

12345678910>>...19