Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 25 of 97) sorted by relevance

1234

/third_party/node/test/js-native-api/test_promise/
Dtest.js12 const expected_result = 42; constant
16 assert.strictEqual(result, expected_result);
19 test_promise.concludeCurrentPromise(expected_result, true);
24 const expected_result = 'It\'s not you, it\'s me.'; constant
29 assert.strictEqual(result, expected_result);
31 test_promise.concludeCurrentPromise(expected_result, false);
36 const expected_result = 'chained answer'; constant
40 assert.strictEqual(result, expected_result);
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Ddataflow.cpp214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
215 expected_result[11] = {11, 12, 13}; in TEST_F()
216 expected_result[12] = {11, 12, 13}; in TEST_F()
217 expected_result[13] = {11, 12, 13}; in TEST_F()
218 expected_result[14] = {11, 12, 13}; in TEST_F()
219 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
Dfold_test.cpp64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
68 ResultType expected_result; member
99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
800 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
802 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
891 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
893 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
944 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
946 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P()
1011 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P()
[all …]
Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddataflow.cpp214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
215 expected_result[11] = {11, 12, 13}; in TEST_F()
216 expected_result[12] = {11, 12, 13}; in TEST_F()
217 expected_result[13] = {11, 12, 13}; in TEST_F()
218 expected_result[14] = {11, 12, 13}; in TEST_F()
219 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
Dfold_test.cpp64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
68 ResultType expected_result; member
99 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
802 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
804 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
893 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
895 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
946 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
948 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P()
1013 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P()
[all …]
Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
/third_party/spirv-tools/test/opt/
Ddataflow.cpp214 std::map<uint32_t, std::set<uint32_t>> expected_result; in TEST_F() local
215 expected_result[11] = {11, 12, 13}; in TEST_F()
216 expected_result[12] = {11, 12, 13}; in TEST_F()
217 expected_result[13] = {11, 12, 13}; in TEST_F()
218 expected_result[14] = {11, 12, 13}; in TEST_F()
219 expected_result[15] = {11, 12, 13, 14}; in TEST_F()
220 EXPECT_EQ(expected_result, analysis.reachable_from); in TEST_F()
Dcfg_test.cpp68 std::vector<uint32_t> expected_result = {10, 9, 8}; in TEST_F() local
69 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
154 std::vector<uint32_t> expected_result = {8, 9, 10}; in TEST_F() local
155 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
226 const std::string expected_result = R"(OpCapability Shader in TEST_F() local
271 EXPECT_EQ(optimized_asm, expected_result); in TEST_F()
316 std::list<BasicBlock*> expected_result = {context->get_instr_block(9), in TEST_F() local
319 EXPECT_THAT(order, ContainerEq(expected_result)); in TEST_F()
Dfold_test.cpp64 : test_body(tb), id_to_fold(id), expected_result(result) {} in InstructionFoldingCase()
68 ResultType expected_result; member
104 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result); in TEST_P()
915 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
917 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetU32()); in TEST_P()
1006 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
1008 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetDouble()); in TEST_P()
1113 EXPECT_EQ(componenets.size(), tc.expected_result.size()); in TEST_P()
1115 EXPECT_EQ(tc.expected_result[i], componenets[i]->GetFloat()); in TEST_P()
1234 EXPECT_EQ(result->value(), tc.expected_result); in TEST_P()
[all …]
/third_party/openssl/test/recipes/
D80-test_cmp_http.t131 my $expected_result = shift;
136 unless (is(my $actual_result = run($cmd), $expected_result, $title)) {
141 " expected=$expected_result actual=$actual_result\n";
254 my $expected_result = $fields[$column];
257 next LOOP if (!defined($expected_result)
258 || ($expected_result ne 0 && $expected_result ne 1));
260 push @result, [$title, \@fields, $expected_result];
/third_party/mesa3d/src/intel/compiler/
Dtest_eu_validate.cpp199 bool expected_result; in TEST_P() member
229 EXPECT_EQ(test_case[i].expected_result, validate(p)); in TEST_P()
286 bool expected_result; in TEST_P() member
311 if (test_case[i].expected_result) { in TEST_P()
394 bool expected_result; in TEST_P() member
410 if (test_case[i].expected_result) { in TEST_P()
475 bool expected_result; in TEST_P() member
501 if (test_case[i].expected_result) { in TEST_P()
567 bool expected_result; member
580 EXPECT_EQ(test_case[i].expected_result, validate(p));
[all …]
Dtest_fs_copy_propagation.cpp164 bool expected_result; in TEST_F() member
201 EXPECT_EQ(test[i].expected_result, copy_propagation(v)); in TEST_F()
212 EXPECT_EQ(test[i].expected_result, sel->saturate); in TEST_F()
214 if (test[i].expected_result) { in TEST_F()
/third_party/openssl/test/
Decstresstest.c71 BIGNUM *result = NULL, *expected_result = NULL; in test_curve() local
89 if (!TEST_true(BN_hex2bn(&expected_result, kP256DefaultResult)) in test_curve()
90 || !TEST_ptr(expected_result) in test_curve()
91 || !TEST_BN_eq(result, expected_result)) in test_curve()
100 BN_free(expected_result); in test_curve()
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1parse.function231 /* overfull_result: expected_result from parsing the given string plus
308 int expected_value, int expected_result)
314 TEST_EQUAL(ret, expected_result);
315 if (expected_result == 0) {
359 const char *expected_hex, int expected_result)
366 int expected_result_for_mpi = expected_result;
369 int expected_result_for_int = expected_result;
381 if (expected_result == 0 &&
391 if (expected_result == 0 && expected_value < 0) {
459 const char *expected_hex, int expected_result)
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function323 int expected_result)
354 &returned_id) == expected_result);
377 if (expected_result == PSA_SUCCESS) {
388 void mock_export(int mock_export_return_value, int expected_result)
425 &exported_length) == expected_result);
442 int expected_result)
470 TEST_ASSERT(psa_generate_key(&attributes, &returned_id) == expected_result);
492 if (expected_result == PSA_SUCCESS) {
505 int expected_result)
541 &exported_length) == expected_result);
[all …]
Dtest_suite_nist_kw.function238 data_t *expected_result)
255 TEST_ASSERT(result_len == expected_result->len);
257 TEST_ASSERT(memcmp(expected_result->x, result, result_len) == 0);
272 data_t *expected_result, int expected_ret)
289 TEST_ASSERT(result_len == expected_result->len);
290 TEST_ASSERT(memcmp(expected_result->x, result, result_len) == 0);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local
191 expected_result)) { in IsApplicable()
198 expected_result)) { in IsApplicable()
210 binary_opcode, expected_result)) { in IsApplicable()
217 binary_opcode, expected_result)) { in IsApplicable()
225 binary_opcode, expected_result)) { in IsApplicable()
232 binary_opcode, expected_result)) { in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local
191 expected_result)) { in IsApplicable()
198 expected_result)) { in IsApplicable()
210 binary_opcode, expected_result)) { in IsApplicable()
217 binary_opcode, expected_result)) { in IsApplicable()
225 binary_opcode, expected_result)) { in IsApplicable()
232 binary_opcode, expected_result)) { in IsApplicable()
/third_party/spirv-tools/source/fuzz/
Dtransformation_replace_boolean_constant_with_constant_binary.cpp179 bool expected_result = (boolean_constant->opcode() == SpvOpConstantTrue); in IsApplicable() local
191 expected_result)) { in IsApplicable()
198 expected_result)) { in IsApplicable()
210 binary_opcode, expected_result)) { in IsApplicable()
217 binary_opcode, expected_result)) { in IsApplicable()
225 binary_opcode, expected_result)) { in IsApplicable()
232 binary_opcode, expected_result)) { in IsApplicable()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl28.c106 int lc, expected_result = -1; in main() local
117 expected_result = -1; in main()
133 if (TEST_RETURN == expected_result) { in main()
Dfcntl27.c109 int lc, expected_result = -1; in main() local
120 expected_result = -1; in main()
136 if (TEST_RETURN == expected_result) { in main()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c175 assert_number (jerry_value_t js_value, double expected_result) in assert_number() argument
178 TEST_ASSERT (jerry_get_number_value (js_value) == expected_result); in assert_number()
182 eval_one (const char *the_string, double expected_result) in eval_one() argument
187 assert_number (js_eval_result, expected_result); in eval_one()
/third_party/curl/tests/unit/
Dunit1655.c84 const DOHcode expected_result; member
115 fail_unless(d == playlist[i].expected_result,
117 if(d == playlist[i].expected_result) {
Dunit1604.c83 SANITIZEcode expected_result; member
312 if(res == data[i].expected_result &&
324 expected_ccstr = getcurlcodestr(data[i].expected_result);

1234