Searched refs:result2 (Results 1 – 5 of 5) sorted by relevance
/system/libbase/ |
D | result_test.cpp | 141 Result<std::string> result2 = result.error(); in TEST() local 143 ASSERT_FALSE(result2.ok()); in TEST() 144 ASSERT_FALSE(result2.has_value()); in TEST() 146 EXPECT_EQ(0, result2.error().code()); in TEST() 147 EXPECT_EQ(error_text, result2.error().message()); in TEST() 157 Result<std::string> result2 = Error() << result.error(); in TEST() local 159 ASSERT_FALSE(result2.ok()); in TEST() 160 ASSERT_FALSE(result2.has_value()); in TEST() 162 EXPECT_EQ(0, result2.error().code()); in TEST() 163 EXPECT_EQ(error_text, result2.error().message()); in TEST() [all …]
|
D | expected_test.cpp | 766 auto result2 = test("test2"); in TEST() local 767 ASSERT_TRUE(result2.ok()); in TEST() 768 EXPECT_EQ("test2test22", result2->string); in TEST()
|
/system/core/init/ |
D | subcontext_test.cpp | 124 auto result2 = subcontext.Execute(std::vector<std::string>{"generate_sane_error"}); in TEST() local 125 ASSERT_FALSE(result2.ok()); in TEST() 126 EXPECT_EQ("Sane error!", result2.error().message()); in TEST()
|
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 233 Stats result2 = {}; in TEST_F() local 234 ASSERT_EQ(0, bpfGetUidStatsInternal(TEST_UID2, &result2, mFakeAppUidStatsMap)); in TEST_F() 235 expectStatsEqual(value2, result2); in TEST_F() 280 Stats result2 = {}; in TEST_F() local 281 ASSERT_EQ(0, bpfGetIfaceStatsInternal(IFACE_NAME2, &result2, mFakeIfaceStatsMap, in TEST_F() 283 expectStatsEqual(value2, result2); in TEST_F()
|
/system/keymaster/tests/ |
D | android_keymaster_test.cpp | 4358 auto result2 = keymaster.GetHmacSharingParameters(); in TEST_F() local 4359 EXPECT_EQ(KM_ERROR_OK, result2.error); in TEST_F() 4360 paramsVec.push_back(std::move(result2.params)); in TEST_F()
|