Home
last modified time | relevance | path

Searched refs:expect (Results 176 - 200 of 530) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/tint/src/transform/
H A Dvectorize_scalar_matrix_constructors_test.cc64 auto expect = utils::ReplaceAll(tmpl, "${values}", vector_values); in TEST_P() local
68 EXPECT_EQ(expect, str(got)); in TEST_P()
93 auto expect = src; in TEST_P() local
97 EXPECT_EQ(expect, str(got)); in TEST_P()
H A Dglsl_test.cc28 auto* expect = R"( in TEST_F() local
36 EXPECT_EQ(expect, str(got)); in TEST_F()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationThaiTest.java95 int expect = 0; in compareArray()
97 expect = -1; in compareArray()
99 expect = 1; in compareArray()
101 expect = 0; in compareArray()
103 // expect = Integer.decode(tests[i+1]).intValue(); in compareArray()
109 CollationTest.doTest(this, c, s1, s2, expect); in compareArray()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationThaiTest.java98 int expect = 0; in compareArray()
100 expect = -1; in compareArray()
102 expect = 1; in compareArray()
104 expect = 0; in compareArray()
106 // expect = Integer.decode(tests[i+1]).intValue(); in compareArray()
112 CollationTest.doTest(this, c, s1, s2, expect); in compareArray()
/third_party/node/test/parallel/
H A Dtest-path-parse-format.js157 const message = `path.${os}.parse(${JSON.stringify(test[0])})\n expect=${
206 testCases.forEach(([element, expect]) => {
207 assert.deepStrictEqual(path.parse(element), expect);
212 testCases.forEach(([element, expect]) => {
213 assert.strictEqual(path.format(element), expect);
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_optimizer_test.cpp277 auto expect = from_string(expect_orig); in check() local
280 expect->print(expect_str); in check()
291 auto expect = from_string(expect_orig); in ra_check() local
292 expect->value_factory().clear_pins(); in ra_check()
295 expect->print(expect_str); in ra_check()
/third_party/rust/crates/clap/tests/builder/
H A Dglobal_args.rs103 assert!(*m.get_one::<bool>("global").expect("defaulted by clap")); in global_arg_available_in_subcommand()
108 .expect("defaulted by clap")); in global_arg_available_in_subcommand()
128 assert!(*m.get_one::<bool>("long-a").expect("defaulted by clap")); in deeply_nested_discovery()
130 assert!(*m.get_one::<bool>("long-b").expect("defaulted by clap")); in deeply_nested_discovery()
132 assert!(*m.get_one::<bool>("long-c").expect("defaulted by clap")); in deeply_nested_discovery()
H A Darg_aliases.rs131 assert!(*a.get_one::<bool>("flag").expect("defaulted by clap")); in single_alias_of_flag()
159 assert!(*flag.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
160 assert!(*inv.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
161 assert!(*cool.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
162 assert!(*als.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
H A Darg_aliases_short.rs94 assert!(*a.get_one::<bool>("flag").expect("defaulted by clap")); in single_short_alias_of_flag()
122 assert!(*flag.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
123 assert!(*als1.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
124 assert!(*als2.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
125 assert!(*als3.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
H A Dpositionals.rs33 assert!(*matches.get_one::<bool>("exact").expect("defaulted by clap")); in issue_946()
51 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in positional()
67 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in positional()
130 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in positional_multiple()
154 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in positional_multiple_3()
185 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in positional_possible_values()
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
H A Dspan_test.go162 func checkSpanList(t *testing.T, got cov.SpanList, expect ...cov.Span) {
163 if expect == nil {
164 expect = cov.SpanList{}
166 if !reflect.DeepEqual(got, cov.SpanList(expect)) {
167 t.Errorf("SpanList not as expected.\nGot:\n%v\nExpect:\n%v", got, cov.SpanList(expect))
H A Dcoverage_test.go301 func checkSpans(t *testing.T, got []cov.Span, expect ...cov.Span) {
302 if !reflect.DeepEqual(got, expect) {
303 t.Errorf("Spans not as expected.\nGot: %+v\nExpect: %+v", got, expect)
307 func checkGroups(t *testing.T, got, expect map[cov.SpanGroupID]cov.SpanGroup) {
308 if !reflect.DeepEqual(got, expect) {
309 t.Errorf("SpanGroupss not as expected.\nGot: %+v\nExpect: %+v", got, expect)
313 func checkTests(t *testing.T, tree *cov.Tree, expect string) {
314 g, e := tree.Tests().String(tree.Strings()), expect
320 func checkCoverage(t *testing.T, tree *cov.Tree, file string, expect string) {
321 g, e := tree.FileCoverage(file).String(tree.Tests(), tree.Strings()), expect
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dpool_test.py46 expect = set(range(0, 12))
47 expect.remove(10)
48 self.assertEqual(expect, results)
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dwrap_unsafe_ops_dynamic_loading_simple.rs60 (self.foo.as_ref().expect("Expected function, got error."))(x, y) in foo()
68 (self.bar.as_ref().expect("Expected function, got error."))(x) in bar()
72 unsafe { (self.baz.as_ref().expect("Expected function, got error."))() } in baz()
H A Ddynamic_loading_simple.rs59 (self.foo.as_ref().expect("Expected function, got error."))(x, y) in foo()
65 (self.bar.as_ref().expect("Expected function, got error."))(x) in bar()
68 (self.baz.as_ref().expect("Expected function, got error."))() in baz()
/third_party/python/Lib/test/test_json/
H A Dtest_indent.py11 expect = textwrap.dedent("""\
45 self.assertEqual(d2, expect.expandtabs(2))
46 self.assertEqual(d3, expect)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dtest_reflow.py74 expect, expect_newline = loadFile(expectation)
77 assert(result == expect)
83 expect = 'expect-' + filetag + '-' + testid + '.adoc'
89 match_with_expected(getPath(resultsDir, testid, source), getPath(expect))
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/
H A Dmain.rs191 .expect("unittest executable path") in build_dir()
193 .expect("debug/release directory") in build_dir()
199 build_dir().parent().expect("target directory").to_path_buf() in target_dir()
204 target_dir().parent().expect("project directory").to_path_buf() in project_dir()
/third_party/python/Lib/test/
H A Dtest_bdb.py70 # When 'dry_run' is set to true, expect tuples are ignored and the actual
244 self.expect = self.expected_list.pop(0)
272 if self.expect:
273 self.check_equal(self.expect[0], event, 'Wrong event type')
278 elif len(self.expect) > 3:
280 bps, temporaries = self.expect[3]
296 if not isinstance(self.exc_info[1], self.expect[3]):
309 s = len(self.expect)
312 self.check_equal(self.expect[1], lineno, 'Wrong line number')
314 self.check_equal(self.expect[
[all...]
H A Dtest_launcher.py326 expect = {}
336 expect[arg] = company_data[tag]["DisplayName"]
337 expect.pop(f"-V:{company}/ignored", None)
339 actual = {k: v for k, v in found.items() if k in expect}
341 self.assertDictEqual(expect, actual)
351 expect = {}
363 expect[arg] = install["ExecutablePath"]
365 expect[arg] += " " + install["ExecutableArguments"]
369 expect[arg] = str(Path(install[None]) / Path(sys.executable).name)
371 expect
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeShaderDirectiveTests.cpp47 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources, ExpectResult expect) in verifyProgram() argument
49 DE_ASSERT(expect >= EXPECT_RESULT_PASS && expect < EXPECT_RESULT_LAST); in verifyProgram()
58 if (expect == EXPECT_RESULT_PASS) in verifyProgram()
76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) in verifyShader() argument
78 DE_ASSERT(expect >= EXPECT_RESULT_PASS && expect < EXPECT_RESULT_LAST); in verifyShader()
92 if (expect == EXPECT_RESULT_PASS) in verifyShader()
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D02_crate.rs12 matches.get_one::<String>("two").expect("required") in main()
16 matches.get_one::<String>("one").expect("required") in main()
H A D02_app_settings.rs12 matches.get_one::<String>("two").expect("required") in main()
16 matches.get_one::<String>("one").expect("required") in main()
H A D02_apps.rs14 matches.get_one::<String>("two").expect("required") in main()
18 matches.get_one::<String>("one").expect("required") in main()
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp290 NumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) in NumTest() argument
292 fExpect(expect), in NumTest()
342 AttrNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE, UNumberFormatAttribute attr, int32_t newValue) in AttrNumTest() argument
343 : NumTest(pat,num,expect,FILE,LINE), in AttrNumTest()
370 NOXNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE /*, UNumberFormatAttribute attr, int32_t newValue */) in NOXNumTest() argument
371 : NumTest(pat,num,expect,FILE,LINE) /* , in NOXNumTest()
418 NumFmtTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) in NumFmtTest() argument
420 fExpect(expect), in NumFmtTest()
541 NumFmtInt64Test(const char *pat, const char *num, int64_t expect, const char *FILE, int LINE, EMode mode) in NumFmtInt64Test() argument
544 fExpect(expect), in NumFmtInt64Test()
633 NumFmtStringPieceTest(const char *pat, const char *num, const StringPiece& expect, const char *FILE, int LINE) NumFmtStringPieceTest() argument
[all...]

Completed in 13 milliseconds

12345678910>>...22