Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dtest_common.c21 int TEST_EQ(int result, int expected_result, const char* testname) { in TEST_EQ() argument
22 if (result == expected_result) { in TEST_EQ()
28 expected_result, expected_result, result, result); in TEST_EQ()
47 int TEST_PTR_EQ(const void* result, const void* expected_result, in TEST_PTR_EQ() argument
49 if (result == expected_result) { in TEST_PTR_EQ()
54 fprintf(stderr, " Expected: 0x%lx, got: 0x%lx\n", (long)expected_result, in TEST_PTR_EQ()
75 int TEST_STR_EQ(const char* result, const char* expected_result, in TEST_STR_EQ() argument
78 if (!result || !expected_result) { in TEST_STR_EQ()
83 } else if (!strcmp(result, expected_result)) { in TEST_STR_EQ()
88 fprintf(stderr, " Expected: \"%s\", got: \"%s\"\n", expected_result, in TEST_STR_EQ()
Dtest_common.h14 int TEST_EQ(int result, int expected_result, const char* testname);
23 int TEST_PTR_EQ(const void* result, const void* expected_result,
29 int TEST_PTR_NEQ(const void* result, const void* expected_result,
34 int TEST_STR_EQ(const char* result, const char* expected_result,
/external/compiler-rt/test/builtins/Unit/
Dudivmodsi4_test.c22 su_int expected_result, su_int expected_rem) in test__udivmodsi4() argument
26 if (result != expected_result) { in test__udivmodsi4()
28 a, b, result, expected_result); in test__udivmodsi4()
Ddivmodsi4_test.c23 si_int expected_result, si_int expected_rem) in test__divmodsi4() argument
27 if (result != expected_result) { in test__divmodsi4()
29 a, b, result, expected_result); in test__divmodsi4()
/external/v8/test/mjsunit/
Dregexp-lookahead.js35 function testRE(re, input, expected_result) { argument
37 if (expected_result) {
44 function execRE(re, input, expected_result) { argument
46 assertEquals(expected_result, re.exec(input), testName);
Dexternal-array-no-sse2.js295 function run_test(test_func, array, expected_result) { argument
302 assertEquals(expected_result, sum);
307 function run_bounds_test(test_func, array, expected_result) { argument
Dexternal-array.js295 function run_test(test_func, array, expected_result) { argument
302 assertEquals(expected_result, sum);
307 function run_bounds_test(test_func, array, expected_result) { argument
/external/google-breakpad/src/processor/
Drange_map_unittest.cc156 bool expected_result = false; // This is correct for tests not stored. in RetrieveTest() local
159 expected_result = true; // test should always succeed. in RetrieveTest()
161 expected_result = side; // should fail low and succeed high. in RetrieveTest()
163 expected_result = !side; // should succeed low and fail high. in RetrieveTest()
175 if (observed_result != expected_result) { in RetrieveTest()
182 expected_result ? "true" : "false", in RetrieveTest()
Dstatic_range_map_unittest.cc236 bool expected_result = false; // This is correct for tests not stored. in RetrieveTest() local
239 expected_result = true; // test should always succeed. in RetrieveTest()
241 expected_result = side; // should fail low and succeed high. in RetrieveTest()
243 expected_result = !side; // should succeed low and fail high. in RetrieveTest()
254 EXPECT_EQ(observed_result, expected_result) in RetrieveTest()
/external/vboot_reference/tests/tpm_lite/
Dtlcl_tests.h19 #define TPM_EXPECT(tpm_command, expected_result) do { \ argument
21 uint32_t _exp = (expected_result); \
/external/compiler-rt/test/builtins/Unit/ppc/
Dfixtfdi_test.c458 int64_t expected_result, computed_result; in main() local
463 expected_result = testCases[i].result; in main()
467 if (computed_result != expected_result) { in main()
469 printf("\tExpected %016llx ( %lld )\n", expected_result, expected_result); in main()
/external/parameter-framework/test/functional-tests/PfwTestCase/Domains/
DtDomain_Configuration_Selection.py56 self.expected_result = [["Conf_1_1", "<none>", "Conf_3_0"] ,
172 config = str(self.expected_result[iteration][domain])
/external/icu/icu4c/source/test/intltest/
Dlistformattertest.h41 …rmatter* formatter, UnicodeString data[], int32_t data_size, const UnicodeString& expected_result);
Dlistformattertest.cpp27 const UnicodeString& expected_result) { in CheckFormatting() argument
31 UnicodeString expectedStringWithPrefix = prefix + expected_result; in CheckFormatting()
Ddtfmttst.cpp2302 UnicodeString expected_result; in TestZTimeZoneParsing() member
2322 if(result != tests[i].expected_result) { in TestZTimeZoneParsing()
2323 errln("Expected " + tests[i].expected_result in TestZTimeZoneParsing()
2329 + " expected " + tests[i].expected_result); in TestZTimeZoneParsing()
/external/boringssl/src/crypto/ecdsa/
Decdsa_test.cc76 EC_KEY *eckey, int expected_result) { in VerifyECDSASig() argument
103 return expected_result == actual_result; in VerifyECDSASig()
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc945 int col, Message* proto, bool expected_result) { in ExpectMessage() argument
949 EXPECT_EQ(expected_result, parser.ParseFromString(input, proto)) in ExpectMessage()
/external/v8/test/cctest/
Dtest-api.cc20579 static void TestReceiver(Local<Value> expected_result, in TestReceiver() argument
20585 CHECK(expected_result->Equals(result->ToObject()->Get(0))); in TestReceiver()