Searched refs:ErrorEquals (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 25 ErrorEquals(instrprof_error Expected, Error E) { in ErrorEquals() function 108 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError())); in TEST_P() 111 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError())); in TEST_P() 134 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1))); in TEST_P() 137 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2))); in TEST_P() 885 EXPECT_TRUE(ErrorEquals(instrprof_error::malformed, Symtab.addFuncName(""))); in TEST_P()
|
D | CoverageMappingTest.cpp | 27 ErrorEquals(coveragemap_error Expected, Error E) { in ErrorEquals() function 336 EXPECT_TRUE(ErrorEquals(coveragemap_error::malformed, loadCoverageMapping())); in TEST_P()
|
/external/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 29 static ::testing::AssertionResult ErrorEquals(instrprof_error Expected, in ErrorEquals() function 111 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError())); in TEST_P() 114 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError())); in TEST_P() 137 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1))); in TEST_P() 140 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2))); in TEST_P()
|