Home
last modified time | relevance | path

Searched refs:ErrorEquals (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/ProfileData/
DInstrProfTest.cpp24 ErrorEquals(instrprof_error Expected, Error E) { in ErrorEquals() function
109 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, R.takeError())); in TEST_P()
112 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, R.takeError())); in TEST_P()
135 ASSERT_TRUE(ErrorEquals(instrprof_error::hash_mismatch, std::move(E1))); in TEST_P()
138 ASSERT_TRUE(ErrorEquals(instrprof_error::unknown_function, std::move(E2))); in TEST_P()
886 EXPECT_TRUE(ErrorEquals(instrprof_error::malformed, Symtab.addFuncName(""))); in TEST_P()
DCoverageMappingTest.cpp26 ErrorEquals(coveragemap_error Expected, Error E) { in ErrorEquals() function
335 EXPECT_TRUE(ErrorEquals(coveragemap_error::malformed, loadCoverageMapping())); in TEST_P()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp29 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()