/external/llvm-project/llvm/unittests/DebugInfo/MSF/ |
D | MappedBlockStreamTest.cpp | 93 EXPECT_THAT_ERROR(R.readStreamRef(SR, 0U), Succeeded()); in TEST() 95 EXPECT_THAT_ERROR(SR.readBytes(0U, 1U, Buffer), Failed()); in TEST() 96 EXPECT_THAT_ERROR(R.readStreamRef(SR, 1U), Succeeded()); in TEST() 97 EXPECT_THAT_ERROR(SR.readBytes(1U, 1U, Buffer), Failed()); in TEST() 109 EXPECT_THAT_ERROR(R.readFixedString(Str, 1), Succeeded()); in TEST() 123 EXPECT_THAT_ERROR(R.readFixedString(Str, 2), Succeeded()); in TEST() 128 EXPECT_THAT_ERROR(R.readFixedString(Str, 4), Succeeded()); in TEST() 142 EXPECT_THAT_ERROR(R.readFixedString(Str, 10), Succeeded()); in TEST() 157 EXPECT_THAT_ERROR(R.readFixedString(Str, 1), Failed()); in TEST() 171 EXPECT_THAT_ERROR(R.readFixedString(Str, 5), Failed()); in TEST() [all …]
|
D | MSFBuilderTest.cpp | 50 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Succeeded()); in TEST_F() 60 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Failed()); in TEST_F() 65 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Failed()); in TEST_F() 70 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Failed()); in TEST_F() 75 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Succeeded()); in TEST_F() 77 EXPECT_THAT_ERROR(msf::validateSuperBlock(SB), Failed()); in TEST_F() 170 EXPECT_THAT_ERROR(Msf.setStreamSize(0, 2048), Succeeded()); in TEST_F() 192 EXPECT_THAT_ERROR(Msf.setStreamSize(0, 6144), Succeeded()); in TEST_F() 213 EXPECT_THAT_ERROR(Msf.setStreamSize(0, 1024), Succeeded()); in TEST_F() 234 EXPECT_THAT_ERROR(Msf.setStreamSize(0, 2048), Succeeded()); in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugFrameTest.cpp | 176 EXPECT_THAT_ERROR(parseCFI(TestCIE, Code), in TEST() 191 EXPECT_THAT_ERROR(parseCFI(TestCIE, {}), Succeeded()); in TEST() 195 EXPECT_THAT_ERROR( in TEST() 201 EXPECT_THAT_ERROR( in TEST() 207 EXPECT_THAT_ERROR( in TEST() 213 EXPECT_THAT_ERROR( in TEST() 219 EXPECT_THAT_ERROR( in TEST() 225 EXPECT_THAT_ERROR( in TEST() 232 EXPECT_THAT_ERROR( in TEST() 245 EXPECT_THAT_ERROR( in TEST() [all …]
|
D | DWARFListTableTest.cpp | 25 EXPECT_THAT_ERROR( in TEST() 46 EXPECT_THAT_ERROR( in TEST() 66 EXPECT_THAT_ERROR( in TEST()
|
D | DWARFDataExtractorTest.cpp | 64 EXPECT_THAT_ERROR( in TEST() 197 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 204 EXPECT_THAT_ERROR( in TEST() 213 EXPECT_THAT_ERROR( in TEST() 221 EXPECT_THAT_ERROR( in TEST()
|
D | DWARFDebugLineTest.cpp | 103 EXPECT_THAT_ERROR(std::move(Recoverable), Succeeded()); in getOrParseLineTableFatalErrors() 389 EXPECT_THAT_ERROR( in TEST_F() 423 EXPECT_THAT_ERROR( in TEST_P() 476 EXPECT_THAT_ERROR(std::move(Recoverable), in TEST_P() 507 EXPECT_THAT_ERROR(std::move(Recoverable), in TEST_F() 536 EXPECT_THAT_ERROR(std::move(Recoverable), in TEST_F() 566 EXPECT_THAT_ERROR( in TEST_F() 594 EXPECT_THAT_ERROR(std::move(Recoverable), in TEST_F() 621 EXPECT_THAT_ERROR(std::move(Recoverable), in TEST_F() 653 EXPECT_THAT_ERROR( in TEST_F() [all …]
|
D | DWARFAcceleratorTableTest.cpp | 32 EXPECT_THAT_ERROR( in TEST() 42 EXPECT_THAT_ERROR( in TEST()
|
/external/llvm-project/llvm/unittests/Support/ |
D | DataExtractorTest.cpp | 105 EXPECT_THAT_ERROR( in TEST() 141 EXPECT_THAT_ERROR( in TEST() 148 EXPECT_THAT_ERROR( in TEST() 156 EXPECT_THAT_ERROR( in TEST() 184 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 188 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 192 EXPECT_THAT_ERROR(C.takeError(), Failed()); in TEST() 197 EXPECT_THAT_ERROR(C.takeError(), Failed()); in TEST() 201 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() 214 EXPECT_THAT_ERROR(C.takeError(), Succeeded()); in TEST() [all …]
|
D | BinaryStreamTest.cpp | 212 EXPECT_THAT_ERROR(Stream.Input->readBytes(4, 2, Buffer), Failed()); in TEST_F() 237 EXPECT_THAT_ERROR(Ref.readBytes(0, 6, Buffer), Failed()); in TEST_F() 238 EXPECT_THAT_ERROR(Ref.readLongestContiguousChunk(6, Buffer), Failed()); in TEST_F() 259 EXPECT_THAT_ERROR(Ref.readBytes(2, 2, Buffer), Failed()); in TEST_F() 281 EXPECT_THAT_ERROR(Reader.readObject(Byte), Failed()); in TEST_F() 285 EXPECT_THAT_ERROR(Writer.writeCString(Strings[0]), Succeeded()); in TEST_F() 287 EXPECT_THAT_ERROR(Reader.readObject(Byte), Succeeded()); in TEST_F() 290 EXPECT_THAT_ERROR(Reader.readCString(Str), Succeeded()); in TEST_F() 299 EXPECT_THAT_ERROR(Writer.writeCString(Strings[1]), Succeeded()); in TEST_F() 306 EXPECT_THAT_ERROR(Writer.writeCString(Strings[2]), Succeeded()); in TEST_F() [all …]
|
D | ErrorTest.cpp | 765 EXPECT_THAT_ERROR(Error::success(), Succeeded()); in TEST() 767 EXPECT_THAT_ERROR(make_error<CustomError>(0), Succeeded()), in TEST() 780 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed()); in TEST() 781 EXPECT_NONFATAL_FAILURE(EXPECT_THAT_ERROR(Error::success(), Failed()), in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 786 EXPECT_THAT_ERROR(Error::success(), Failed<CustomError>()), in TEST() 789 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomSubError>()), in TEST() 792 EXPECT_THAT_ERROR( in TEST() 797 EXPECT_THAT_ERROR( in TEST() 801 EXPECT_THAT_ERROR( in TEST() [all …]
|
/external/llvm-project/llvm/unittests/ADT/ |
D | FallibleIteratorTest.cpp | 142 EXPECT_THAT_ERROR(std::move(Err), Failed()) << "Expected failure value"; in TEST() 203 EXPECT_THAT_ERROR(std::move(Err), Succeeded()); in TEST() 211 EXPECT_THAT_ERROR(std::move(Err), Succeeded()); in TEST() 213 EXPECT_THAT_ERROR(std::move(Err), Failed()) << "Expected failure value"; in TEST() 221 EXPECT_THAT_ERROR(std::move(Err), Succeeded()); in TEST() 229 EXPECT_THAT_ERROR(std::move(Err), Succeeded()); in TEST() 231 EXPECT_THAT_ERROR(std::move(Err), Failed()); in TEST() 277 EXPECT_THAT_ERROR(V1.takeError(), Succeeded()); in TEST() 281 EXPECT_THAT_ERROR(V2.takeError(), Failed()); in TEST() 285 EXPECT_THAT_ERROR(V3.takeError(), Succeeded()); in TEST()
|
/external/llvm-project/lldb/unittests/Utility/ |
D | ReproducerTest.cpp | 91 EXPECT_THAT_ERROR( in TEST() 101 EXPECT_THAT_ERROR( in TEST() 107 EXPECT_THAT_ERROR(reproducer.SetCapture(llvm::None), Succeeded()); in TEST() 120 EXPECT_THAT_ERROR( in TEST() 133 EXPECT_THAT_ERROR( in TEST() 142 EXPECT_THAT_ERROR( in TEST() 156 EXPECT_THAT_ERROR( in TEST() 171 EXPECT_THAT_ERROR( in TEST() 199 EXPECT_THAT_ERROR(reproducer.SetCapture(FileSpec(root.str())), Succeeded()); in TEST() 220 EXPECT_THAT_ERROR(reproducer.SetReplay(FileSpec(root.str())), Succeeded()); in TEST()
|
D | ScalarTest.cpp | 320 EXPECT_THAT_ERROR( in TEST() 325 EXPECT_THAT_ERROR( in TEST() 330 EXPECT_THAT_ERROR( in TEST() 333 EXPECT_THAT_ERROR( in TEST() 336 EXPECT_THAT_ERROR( in TEST() 339 EXPECT_THAT_ERROR(a.SetValueFromCString("123456789012345678901234567890", in TEST() 343 EXPECT_THAT_ERROR( in TEST() 346 EXPECT_THAT_ERROR( in TEST() 350 EXPECT_THAT_ERROR( in TEST() 353 EXPECT_THAT_ERROR( in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Object/ |
D | XCOFFObjectFileTest.cpp | 255 EXPECT_THAT_ERROR( in TEST() 266 EXPECT_THAT_ERROR( in TEST() 277 EXPECT_THAT_ERROR( in TEST() 289 EXPECT_THAT_ERROR( in TEST() 300 EXPECT_THAT_ERROR( in TEST() 312 EXPECT_THAT_ERROR( in TEST() 323 EXPECT_THAT_ERROR( in TEST() 334 EXPECT_THAT_ERROR( in TEST() 345 EXPECT_THAT_ERROR( in TEST() 357 EXPECT_THAT_ERROR( in TEST() [all …]
|
/external/llvm-project/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 209 EXPECT_THAT_ERROR(Reader.read(), Succeeded()); in readCoverageRegions() 227 EXPECT_THAT_ERROR(ReaderOrErr.takeError(), Succeeded()); in readProfCounts() 322 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 348 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 377 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 395 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 427 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 479 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 504 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() 529 EXPECT_THAT_ERROR(loadCoverageMapping(), Succeeded()); in TEST_P() [all …]
|
D | InstrProfTest.cpp | 48 EXPECT_THAT_ERROR(ReaderOrErr.takeError(), Succeeded()); in readProfile() 97 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_P() 103 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_P() 122 EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1234, Counts), in TEST_P() 128 EXPECT_THAT_ERROR(Reader->getFunctionCounts("foo", 0x1235, Counts), in TEST_P() 213 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_F() 218 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_F() 254 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_P() 285 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_P() 394 EXPECT_THAT_ERROR(R.takeError(), Succeeded()); in TEST_P() [all …]
|
/external/llvm-project/llvm/unittests/XRay/ |
D | FDRBlockVerifierTest.cpp | 128 EXPECT_THAT_ERROR(Block[0]->apply(Verifier), Succeeded()); in TEST() 129 EXPECT_THAT_ERROR(Block[1]->apply(Verifier), Succeeded()); in TEST() 130 EXPECT_THAT_ERROR(Block[2]->apply(Verifier), Succeeded()); in TEST() 131 EXPECT_THAT_ERROR(Block[3]->apply(Verifier), Succeeded()); in TEST() 132 EXPECT_THAT_ERROR(Block[4]->apply(Verifier), Succeeded()); in TEST() 133 EXPECT_THAT_ERROR(Block[5]->apply(Verifier), Failed()); in TEST()
|
/external/llvm-project/llvm/unittests/ObjectYAML/ |
D | DWARFYAMLTest.cpp | 43 EXPECT_THAT_ERROR(parseDWARFYAML(Yaml, Data), Succeeded()); in TEST() 52 EXPECT_THAT_ERROR(parseDWARFYAML(Yaml, AddrTableEntry), in TEST() 64 EXPECT_THAT_ERROR(parseDWARFYAML(Yaml, AddrTableEntry), in TEST() 126 EXPECT_THAT_ERROR(parseDWARFYAML(Yaml, Data), in TEST() 195 EXPECT_THAT_ERROR(parseDWARFYAML(Yaml, Data), in TEST()
|
/external/llvm-project/lldb/unittests/Host/ |
D | NativeProcessProtocolTest.cpp | 30 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 41 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 56 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 72 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST() 86 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x4, 0, false).ToError(), in TEST()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | SourceCodeTest.cpp | 525 EXPECT_THAT_ERROR(validateEditRange(Range, Context->getSourceManager()), in TEST() 543 EXPECT_THAT_ERROR(validateEditRange(ArgRange, Context->getSourceManager()), in TEST() 556 EXPECT_THAT_ERROR(validateEditRange(Invalid, Context->getSourceManager()), in TEST() 572 EXPECT_THAT_ERROR( in TEST() 588 EXPECT_THAT_ERROR(validateEditRange(Range, Context->getSourceManager()), in TEST() 603 EXPECT_THAT_ERROR(validateEditRange(Range, Context->getSourceManager()), in TEST() 619 EXPECT_THAT_ERROR(validateEditRange(Range, Context->getSourceManager()), in TEST()
|
/external/llvm-project/lldb/unittests/Expression/ |
D | DWARFExpressionTest.cpp | 234 EXPECT_THAT_ERROR(Evaluate({DW_OP_const1s, 'X', DW_OP_convert, 0x00}, nullptr, in TEST() 240 EXPECT_THAT_ERROR( in TEST() 245 EXPECT_THAT_ERROR( in TEST()
|
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/ |
D | CoreAPIsTest.cpp | 126 EXPECT_THAT_ERROR(FooR->notifyEmitted(), Succeeded()) in TEST_F() 304 EXPECT_THAT_ERROR( in TEST_F() 312 EXPECT_THAT_ERROR( in TEST_F() 439 EXPECT_THAT_ERROR(FooR->notifyResolved({{Foo, FooSym}}), Succeeded()) in TEST_F() 441 EXPECT_THAT_ERROR(FooR->notifyEmitted(), Succeeded()) in TEST_F() 564 EXPECT_THAT_ERROR(FooR->notifyResolved({{Foo, FooSym}}), Succeeded()) in TEST_F() 566 EXPECT_THAT_ERROR(BarR->notifyResolved({{Bar, BarSym}}), Succeeded()) in TEST_F() 568 EXPECT_THAT_ERROR(BazR->notifyResolved({{Baz, BazSym}}), Succeeded()) in TEST_F() 581 EXPECT_THAT_ERROR(FooR->notifyEmitted(), Succeeded()) in TEST_F() 583 EXPECT_THAT_ERROR(BarR->notifyEmitted(), Succeeded()) in TEST_F() [all …]
|
/external/llvm-project/llvm/unittests/DebugInfo/CodeView/ |
D | RandomAccessVisitorTest.cpp | 216 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F() 245 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F() 274 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F() 305 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F() 335 EXPECT_THAT_ERROR(codeview::visitTypeRecord(T, TI, TestState->Callbacks), in TEST_F()
|
/external/llvm-project/llvm/unittests/DebugInfo/PDB/ |
D | HashTableTest.cpp | 151 EXPECT_THAT_ERROR(Table.commit(Writer), Succeeded()); in TEST() 157 EXPECT_THAT_ERROR(Table2.load(Reader), Succeeded()); in TEST() 255 EXPECT_THAT_ERROR(Table.commit(Writer), Succeeded()); in TEST() 261 EXPECT_THAT_ERROR(Table2.load(Reader), Succeeded()); in TEST()
|
D | StringTableBuilderTest.cpp | 52 EXPECT_THAT_ERROR(Builder.commit(Writer), Succeeded()); in TEST() 58 EXPECT_THAT_ERROR(Table.reload(Reader), Succeeded()); in TEST()
|