Home
last modified time | relevance | path

Searched refs:assertion (Results 1 – 25 of 687) sorted by relevance

12345678910>>...28

/third_party/typescript/tests/baselines/reference/
DdefiniteAssignmentAssertions.errors.txt4 …niteAssignmentAssertions.ts(22,13): error TS1255: A definite assignment assertion '!' is not permi…
7 …initeAssignmentAssertions.ts(29,6): error TS1255: A definite assignment assertion '!' is not permi…
8 …niteAssignmentAssertions.ts(35,15): error TS1255: A definite assignment assertion '!' is not permi…
12 …niteAssignmentAssertions.ts(76,15): error TS1255: A definite assignment assertion '!' is not permi…
13 …niteAssignmentAssertions.ts(77,15): error TS1255: A definite assignment assertion '!' is not permi…
14 …initeAssignmentAssertions.ts(80,7): error TS1255: A definite assignment assertion '!' is not permi…
36 // Definite assignment assertion requires type annotation, no initializer, no static modifier
47 !!! error TS1255: A definite assignment assertion '!' is not permitted in this context.
55 // Definite assignment assertion not permitted in ambient context
60 !!! error TS1255: A definite assignment assertion '!' is not permitted in this context.
[all …]
/third_party/node/test/js-native-api/
Dcommon.h21 #define NAPI_ASSERT_BASE(env, assertion, message, ret_val) \ argument
23 if (!(assertion)) { \
27 "assertion (" #assertion ") failed: " message); \
34 #define NAPI_ASSERT(env, assertion, message) \ argument
35 NAPI_ASSERT_BASE(env, assertion, message, NULL)
39 #define NAPI_ASSERT_RETURN_VOID(env, assertion, message) \ argument
40 NAPI_ASSERT_BASE(env, assertion, message, NAPI_RETVAL_NOTHING)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
Dcoverage.txt2 -- assertion 3: not tested.
3 -- assertion 5: not tested.
4 -- assertion 6: Not tested.
5 -- assertion 7: Not tested.
6 -- assertion 8: is being tested in the sem_unlink test cases.
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
Dcoverage.txt12 -- assertion 7: not tested.
14 -- assertion 8: is tested in the areas of sem_wait, sem_trywait, sem_post,
17 -- assertion 9: is mainly tested in all test casses by calling sem_close.
19 -- assertion 11: is all covered in many area's of the semaphore suite, that
22 -- assertion 12: is mainly tests in sem_open as the maximum value and the
25 -- assertion 13: Not tested.
27 -- assertion 14: Not tested.
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
Dcoverage.txt3 -- assertion 4: Not tested. Help needed!
5 -- assertion 7: Not tested. I couldn't find a way to exhaust
8 -- assertion 8: Not tested. I couldn't figure out how to make
13 -- assertion 9: Won't test. Undefined.
15 -- assertion 10: Won't test. Undefined.
17 -- assertion 11: Won't test. Undefined.
/third_party/boost/libs/test/doc/testing_tools/
Dassertions_severity_levels.qbk14 …*requirements* : this is a strong condition for the operations following the assertion to be valid.
16 …If such as assertion fails, the test case execution stops immediately, and the test-case is flagge…
17 * `CHECK` for standard *checks*: this is the most commonly used assertion level. If the statement e…
19 * `WARN` which stands for *warnings*: this is an assertion providing information. The test case exe…
20 The warning does not change the success status of a test case. This level of assertion can be used
31 # If an assertion designated by the tool passes, confirmation message can be printed in log output
33 # If an assertion designated by the tool fails, the following will happen, depending on the asserti…
46 [warning in `<test-case-name>`: condition `<assertion description>` is not satisfied]
52 [error in `<test-case-name>`: test `<assertion description>` failed]
58 [fatal error in `<test-case-name>`: critical test `<assertion description>` failed]
/third_party/typescript/src/services/codefixes/
DaddConvertToUnknownForNonOverlappingTypes.ts17 …const assertion = Debug.checkDefined(findAncestor(token, (n): n is AsExpression | TypeAssertion =>… constant
18 const replacement = isAsExpression(assertion)
19 …? factory.createAsExpression(assertion.expression, factory.createKeywordTypeNode(SyntaxKind.Unknow…
20 …reateTypeAssertion(factory.createKeywordTypeNode(SyntaxKind.UnknownKeyword), assertion.expression);
21 changeTracker.replaceNode(sourceFile, assertion.expression, replacement);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/
Dcoverage.txt1 -- assertion 5: not tested.
3 -- assertion 6: ERROR EBUSY: is not tested. Please contribute
6 -- assertion 7: Won't be tested. (Undefined).
8 -- assertion 8: Won't be tested. (Undefined).
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
Dgentests.pl28 my ($assertion) = $1;
38 $testcases{$assertion}++;
39 open (OUT, ">$assertion-" . $testcases{$assertion} . ".c")
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
Dcoverage.txt8 2 YES May assertion
16 10 YES May assertion
17 11 NO May assertion
18 12 YES May assertion
/third_party/boost/libs/test/doc/test_output/
Dcontexts.qbk27 information in the assertion, which can be achieved for instance [link boost_test.testing_tools.rep…
41 assertion `BOOST_CHECK` in a particular way. In the approach above, this is done by adding a messag…
45 assertion and the context is tightly coupled as in the approach above is difficult to maintain:
75 Therefore, *loose* coupling between the context of an assertion and the assertion point is a proper…
79 …` can be used to define an error message to be bound to the first following assertion. If (and only
80 if) the assertion fails, the bound message will be displayed along:
84 The information composed inside `BOOST_TEST_INFO` is bound only to the first assertion
85 following the declaration. This information is only displayed if the assertion fails; otherwise the…
86 discarded. The `BOOST_TEST_INFO` declaration does not have to immediately precede the assertion, it…
88 bind more than one information to a given assertion.
[all …]
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Dno-unnecessary-type-assertion.md1 # Warns if a type assertion does not change the type of an expression (`no-unnecessary-type-asserti…
3 This rule prohibits using a type assertion that does not change the type of an expression.
60 For example, with `@typescript-eslint/no-unnecessary-type-assertion: ["error", { typesToIgnore: ['F…
73 - TSLint: ['no-unnecessary-type-assertion`](https://palantir.github.io/tslint/rules/no-unnecessary-…
Dconsistent-type-assertions.md5 This rule aims to standardize the use of type assertion style across the codebase.
33 This option defines the expected assertion style. Valid values for `assertionStyle` are:
45 …to `const x = { ... } as T;` (or similar with angle brackets). The type assertion in the latter ca…
49 The const assertion `const x = { foo: 1 } as const`, introduced in TypeScript 3.4, is considered be…
93 - TSLint: [no-angle-bracket-type-assertion](https://palantir.github.io/tslint/rules/no-angle-bracke…
94 - TSLint: [no-object-literal-type-assertion](https://palantir.github.io/tslint/rules/no-object-lite…
/third_party/boost/libs/test/doc/examples/
Dexample53.output8 1 assertion out of 3 passed
18 1 assertion out of 1 failed
21 1 assertion out of 1 failed
24 1 assertion out of 1 passed
Ddecorator_07.output21 1 assertion out of 2 passed
22 1 assertion out of 2 failed
25 1 assertion out of 1 failed
31 1 assertion out of 1 passed
34 1 assertion out of 1 passed
/third_party/boost/libs/test/test/baseline-outputs/
Dresult-report-test.pattern25 1 assertion out of 1 failed
32 1 assertion out of 1 failed
36 1 assertion out of 1 failed
70 1 assertion out of 1 failed
77 1 assertion out of 1 failed
83 1 assertion out of 1 failed
109 1 assertion out of 1 failed
112 1 assertion out of 1 failed
142 1 assertion out of 1 failed
147 1 assertion out of 1 failed
[all …]
Dresult_report_test.pattern.default_behaviour40 1 assertion out of 1 failed
48 1 assertion out of 1 failed
52 1 assertion out of 1 failed
105 1 assertion out of 1 failed
113 1 assertion out of 1 failed
119 1 assertion out of 1 failed
155 1 assertion out of 1 failed
158 1 assertion out of 1 failed
198 1 assertion out of 1 failed
203 1 assertion out of 1 failed
[all …]
/third_party/ltp/testcases/open_posix_testsuite/Documentation/
DHOWTO_Assertions9 The general format of an assertion is:
10 <assertion id="<#>" tag="<string>">
11 </assertion>
28 type - Refers to the type of source that the assertion was taken from.
34 source - Refers to the source that the assertion was taken from. Valid
53 last line assertion is taken from. If the type is oth and there are no
62 pt:<POSIXtag> - If the assertion is taken from a POSIX specification and there
/third_party/ltp/testcases/kernel/mem/vma/
Dvma04.c75 static void assertion(char *expected, char *value, char *name);
187 static void assertion(char *expected, char *value, char *name) in assertion() function
237 assertion("2,4", retbuf, "case4"); in case4()
254 assertion("4,2", retbuf, "case5"); in case5()
271 assertion("6", retbuf, "case6"); in case6()
288 assertion("4,2", retbuf, "case7"); in case7()
305 assertion("2,4", retbuf, "case8"); in case8()
/third_party/boost/boost/contract/detail/
Dcheck.hpp33 #define BOOST_CONTRACT_DETAIL_CHECK(assertion) \ argument
39 { assertion; } \
44 #define BOOST_CONTRACT_DETAIL_CHECK(assertion) {} argument
/third_party/node/test/js-native-api/test_general/
DtestInstanceOf.js18 function assertTrue(assertion) { argument
19 return assert.strictEqual(assertion, true);
23 function assertFalse(assertion) { argument
24 assert.strictEqual(assertion, false);
/third_party/flutter/flutter/dev/automated_tests/flutter_test/
Dprint_user_created_ancestor_expectation.txt3 The following assertion was thrown building Listener
4 'package:flutter\/src\/painting\/basic_types\.dart': Failed assertion: line 223 pos 10: 'textDirect…
7 Either the assertion indicates an error in the framework itself, or we should provide substantially
9 In either case, please report this assertion by filing a bug on GitHub:
Dprint_user_created_ancestor_no_flag_expectation.txt3 The following assertion was thrown building Listener
4 'package:flutter\/src\/painting\/basic_types\.dart': Failed assertion: line 223 pos 10: 'textDirect…
7 Either the assertion indicates an error in the framework itself, or we should provide substantially
9 In either case, please report this assertion by filing a bug on GitHub:
/third_party/boost/tools/build/src/util/
Dassert.jam56 errors.error-skip-frames 3 assertion "failure:" \"$(a)\" "==" \"$(b)\"
77 errors.error-skip-frames 3 assertion "failure:" Expected false result from
92 errors.error-skip-frames 3 assertion "failure:" Expected \"$(element)\" in
104 errors.error-skip-frames 3 assertion "failure:" \"$(a)\" "!=" \"$(b)\"
116 errors.error-skip-frames 3 assertion "failure:" Did not expect
128 errors.error-skip-frames 3 assertion "failure:" Expected "[" \"$(a)\" "]"
141 errors.error-skip-frames 3 assertion "failure:" \"$(a)\" "!=" \"$(b)\" ;
161 errors.error-skip-frames 3 assertion "failure:" "[" $(rule-name) [
186 errors.error-skip-frames 3 assertion "failure:" "[" $(rule-name) [
201 errors.error-skip-frames 3 assertion "failure:" Expected "[" \"$(a)\" "]"
[all …]
/third_party/flutter/flutter/packages/flutter/test/foundation/
Derror_reporting_test.dart69 'The following assertion was thrown testing the error handling logic:\n'
72 'Failed assertion: line [0-9]+ pos [0-9]+: \'false\'\n'
74 …'Either the assertion indicates an error in the framework itself, or we should provide substantial…
76 'In either case, please report this assertion by filing a bug on GitHub:\n'
107 'The following assertion was thrown:\n'
114 'Failed assertion: line [0-9]+ pos [0-9]+: \'false\'\n'
116 …'Either the assertion indicates an error in the framework itself, or we should provide substantial…
118 'In either case, please report this assertion by filing a bug on GitHub:\n'
153 'The following assertion was thrown testing the error handling logic:\n'
155 …'Failed[\n ]assertion:[\n ]line[\n ][0-9]+[\n ]pos[\n ][0-9]+:[\n ]\'false\':[\n ]is[\n ]not[\n ]t…
[all …]

12345678910>>...28