Home
last modified time | relevance | path

Searched refs:ASSERT_EQ (Results 1 – 13 of 13) sorted by relevance

/ndk/tests/device/fenv/jni/
Dtest_fenv.c26 #define ASSERT_EQ(x, y) \ macro
74 ASSERT_EQ(expectation2, x); in TestRounding()
85 ASSERT_EQ(FE_TONEAREST, fegetround()); in TEST()
91 ASSERT_EQ(FE_TOWARDZERO, fegetround()); in TEST()
97 ASSERT_EQ(FE_UPWARD, fegetround()); in TEST()
103 ASSERT_EQ(FE_DOWNWARD, fegetround()); in TEST()
110 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
125 ASSERT_EQ(0, fetestexcept(FE_ALL_EXCEPT)); in TEST()
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_xml_output_unittest_.cc55 ASSERT_EQ(1, 1); in TEST_F()
62 ASSERT_EQ(1, 2); in TEST_F()
74 ASSERT_EQ(1, 1); in TEST()
79 ASSERT_EQ(2, 3); in TEST()
Dgtest-unittest-api_test.cc117 ASSERT_EQ(2 + kTypedTestCases, unit_test->total_test_case_count()); in TEST()
156 ASSERT_EQ(4, test_case->total_test_count()); in TEST()
196 ASSERT_EQ(1, test_case->total_test_count()); in TEST()
219 ASSERT_EQ(1, test_case->total_test_count()); in TEST()
245 ASSERT_EQ(2 + kTypedTestCases, unit_test->total_test_case_count()); in TearDown()
253 ASSERT_EQ(4, test_cases[0]->total_test_count()); in TearDown()
263 ASSERT_EQ(1, test_cases[1]->total_test_count()); in TearDown()
272 ASSERT_EQ(1, test_cases[2]->total_test_count()); in TearDown()
Dgtest-linked_ptr_test.cc83 ASSERT_EQ(a0.get(), static_cast<A*>(NULL)); in TEST_F()
84 ASSERT_EQ(a1.get(), static_cast<A*>(NULL)); in TEST_F()
85 ASSERT_EQ(a2.get(), static_cast<A*>(NULL)); in TEST_F()
Dgtest_unittest.cc1424 ASSERT_EQ(0, r0->total_part_count()); in TEST_F()
1425 ASSERT_EQ(1, r1->total_part_count()); in TEST_F()
1426 ASSERT_EQ(2, r2->total_part_count()); in TEST_F()
1457 ASSERT_EQ(0, test_result.test_property_count()); in TEST()
1465 ASSERT_EQ(1, test_result.test_property_count()); in TEST()
1478 ASSERT_EQ(2, test_result.test_property_count()); in TEST()
1500 ASSERT_EQ(2, test_result.test_property_count()); in TEST()
1948 ASSERT_EQ(0, test_result.test_property_count()) << "Property for key '" << key in ExpectNonFatalFailureRecordingPropertyWithReservedKey()
1998 ASSERT_EQ(1, test_case->ad_hoc_test_result().test_property_count()); in SetUpTestCase()
2010 ASSERT_EQ(1, unit_test_.ad_hoc_test_result().test_property_count()); in TEST_F()
[all …]
Dgtest-port_test.cc325 ASSERT_EQ(0, pthread_attr_init(&attr)); in TEST()
326 ASSERT_EQ(0, pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE)); in TEST()
329 ASSERT_EQ(0, pthread_attr_destroy(&attr)); in TEST()
330 ASSERT_EQ(0, status); in TEST()
335 ASSERT_EQ(0, pthread_join(thread_id, &dummy)); in TEST()
1186 ASSERT_EQ(1U, g_destroyed.size()); in TEST()
1191 ASSERT_EQ(2U, g_destroyed.size()); in TEST()
1199 ASSERT_EQ(2U, g_destroyed.size()); in TEST()
1215 ASSERT_EQ(1U, g_destroyed.size()); in TEST()
1225 ASSERT_EQ(2U, g_destroyed.size()); in TEST()
[all …]
Dgtest-death-test_test.cc388 ASSERT_EQ(0, setitimer(ITIMER_PROF, &timer, NULL)); in SetSigprofActionAndTimer()
394 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, NULL)); in SetSigprofActionAndTimer()
403 ASSERT_EQ(0, setitimer(ITIMER_PROF, &timer, NULL)); in DisableSigprofActionAndTimer()
408 ASSERT_EQ(0, sigaction(SIGPROF, &signal_action, old_signal_action)); in DisableSigprofActionAndTimer()
484 ASSERT_EQ(0, pthread_atfork(&SetPthreadFlag, NULL, NULL)); in TEST_F()
1008 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
1023 ASSERT_EQ(1, factory_->PassedCalls()); in TEST_F()
1061 ASSERT_EQ(2, factory_->AbortCalls()); in TEST_F()
Dgtest_output_test_.cc67 ASSERT_EQ(1, x); in TestEq1()
165 ASSERT_EQ(2, n); in SubWithoutTrace()
674 ASSERT_EQ(1, global_integer) << "Expected fatal failure."; in TEST()
684 ASSERT_EQ(0, n) << "Expected fatal failure."; in TEST()
Dgtest-printers_test.cc859 ASSERT_EQ(expected_pattern.length(), result.length()); in TEST()
1543 ASSERT_EQ(1u, result.size()); in TEST()
1549 ASSERT_EQ(2u, result.size()); in TEST()
1558 ASSERT_EQ(2u, result.size()); in TEST()
/ndk/sources/android/support/tests/
Dwchar_unittest.cc27 ASSERT_EQ(sizeof(__WCHAR_TYPE__), sizeof(wchar_t)); in TEST()
28 ASSERT_EQ(sizeof(int), sizeof(wint_t)); in TEST()
31 ASSERT_EQ(wchar_t(0), WCHAR_MIN); in TEST()
32 ASSERT_EQ(wchar_t(0xffffffff), WCHAR_MAX); in TEST()
35 ASSERT_EQ(wchar_t(0x80000000), WCHAR_MIN); in TEST()
36 ASSERT_EQ(wchar_t(0x7fffffff), WCHAR_MAX); in TEST()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample3_unittest.cc102 ASSERT_EQ(q->Size(), new_q->Size()); in MapTester()
/ndk/sources/android/support/tests/minitest/
Dminitest.h470 #define ASSERT_EQ(expected, expression) \
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h1980 # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) macro