Home
last modified time | relevance | path

Searched refs:ASSERT_THAT_ERROR (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm-project/llvm/unittests/Support/
DBinaryStreamTest.cpp206 ASSERT_THAT_ERROR(Stream.Input->readBytes(2, 1, Buffer), Succeeded()); in TEST_F()
208 ASSERT_THAT_ERROR(Stream.Input->readBytes(0, 4, Buffer), Succeeded()); in TEST_F()
226 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); in TEST_F()
230 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); in TEST_F()
243 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); in TEST_F()
250 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); in TEST_F()
263 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); in TEST_F()
375 ASSERT_THAT_ERROR(Stream.Input->readBytes(Offset, ExpectedSize, Data), in TEST_F()
380 ASSERT_THAT_ERROR(Stream.Output->writeBytes(0, Data), Succeeded()); in TEST_F()
385 ASSERT_THAT_ERROR(Stream.Output->readBytes(Offset, ExpectedSize, Data2), in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/Process/minidump/
DMinidumpParserTest.cpp95 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
122 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
147 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
157 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
192 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
226 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
269 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
295 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
339 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
394 ASSERT_THAT_ERROR(SetUpFromYaml(R"( in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DLLGSTest.cpp32 ASSERT_THAT_ERROR(Client.ContinueAll(), Succeeded()); in TEST_F()
50 ASSERT_THAT_ERROR(Client.ContinueAll(), Succeeded()); in TEST_F()
64 ASSERT_THAT_ERROR(Client.SendMessage("vAttach;1"), in TEST_F()
68 ASSERT_THAT_ERROR(Client.SendMessage("QEnableErrorStrings"), Succeeded()); in TEST_F()
71 ASSERT_THAT_ERROR( in TEST_F()
DThreadIdsInJstopinfoTest.cpp33 ASSERT_THAT_ERROR( in TEST_F()
37 ASSERT_THAT_ERROR(Client->ListThreadsInStopReply(), Succeeded()); in TEST_F()
38 ASSERT_THAT_ERROR(Client->ContinueAll(), Succeeded()); in TEST_F()
DTestBase.h27 ASSERT_THAT_ERROR(lldb_private::Socket::Initialize(), llvm::Succeeded()); in SetUpTestCase()
/external/llvm-project/lldb/unittests/Host/
DSocketTestUtilities.cpp36 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
38 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
50 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
52 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
60 ASSERT_THAT_ERROR(accept_error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
DMainLoopTest.cpp105 ASSERT_THAT_ERROR(term.OpenFirstAvailablePrimary(O_RDWR), llvm::Succeeded()); in TEST_F()
106 ASSERT_THAT_ERROR(term.OpenSecondary(O_RDWR | O_NOCTTY), llvm::Succeeded()); in TEST_F()
/external/llvm-project/llvm/unittests/DebugInfo/PDB/
DNativeSessionTest.cpp40 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
46 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
55 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
80 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
DNativeSymbolReuseTest.cpp34 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
61 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
103 ASSERT_THAT_ERROR(std::move(E), Succeeded()); in TEST()
/external/llvm-project/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp506 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
551 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
667 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
679 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
729 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
775 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
786 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
837 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
885 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
929 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, PipelineText), Succeeded()) in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/InterfaceStub/
DELFYAMLTest.cpp45 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()
70 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()
129 ASSERT_THAT_ERROR(StubOrErr.takeError(), Succeeded()); in TEST()
144 ASSERT_THAT_ERROR(StubOrErr.takeError(), Failed()); in TEST()
210 ASSERT_THAT_ERROR(writeTBEToOutputStream(OS, Moved), Succeeded()); in TEST()
236 ASSERT_THAT_ERROR(writeTBEToOutputStream(OS, Stub), Succeeded()); in TEST()
/external/llvm-project/clang/unittests/DirectoryWatcher/
DDirectoryWatcherTest.cpp288 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
321 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
343 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
370 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
402 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
425 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
447 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
485 ASSERT_THAT_ERROR(DW.takeError(), Succeeded()); in TEST()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugArangeSetTest.cpp199 ASSERT_THAT_ERROR(Set.extract(Extractor, &Offset, WarningHandler()), in TEST()
226 ASSERT_THAT_ERROR(Set.extract(Extractor, &Offset, WarningHandler()), in TEST()
256 ASSERT_THAT_ERROR(Set.extract(Extractor, &Offset, Warnings), Succeeded()); in TEST()
/external/llvm-project/llvm/unittests/Passes/
DPluginsTest.cpp57 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, "plugin-pass"), Failed()); in TEST()
60 ASSERT_THAT_ERROR(PB.parsePassPipeline(PM, "plugin-pass"), Succeeded()); in TEST()
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp1466 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST()
1467 ASSERT_THAT_ERROR(GC.finalize(OS), Succeeded()); in TEST()
1472 ASSERT_THAT_ERROR(GC.encode(FW), Succeeded()); in TEST()
1543 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST()
1544 ASSERT_THAT_ERROR(GC.finalize(OS), Succeeded()); in TEST()
1549 ASSERT_THAT_ERROR(GC.encode(FW), Succeeded()); in TEST()
1650 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST()
1651 ASSERT_THAT_ERROR(GC.finalize(OS), Succeeded()); in TEST()
1656 ASSERT_THAT_ERROR(GC.encode(FW), Succeeded()); in TEST()
1755 ASSERT_THAT_ERROR(DT.convert(ThreadCount), Succeeded()); in TEST()
[all …]
/external/llvm-project/lldb/unittests/Process/gdb-remote/
DGDBRemoteTestUtils.cpp17 ASSERT_THAT_ERROR(Socket::Initialize(), llvm::Succeeded()); in SetUpTestCase()
DGDBRemoteCommunicationTest.cpp32 ASSERT_THAT_ERROR(GDBRemoteCommunication::ConnectLocally(client, server), in SetUp()
DGDBRemoteClientBaseTest.cpp50 ASSERT_THAT_ERROR(GDBRemoteCommunication::ConnectLocally(client, server), in SetUp()
/external/llvm-project/llvm/unittests/ObjectYAML/
DDWARFYAMLTest.cpp92 ASSERT_THAT_ERROR(parseDWARFYAML(Yaml, Data), Succeeded()); in TEST()
158 ASSERT_THAT_ERROR(parseDWARFYAML(Yaml, Data), Succeeded()); in TEST()
/external/llvm-project/lldb/unittests/Core/
DCommunicationTest.cpp21 ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).ToError(), in TEST()
/external/llvm-project/lldb/unittests/Utility/
DScalarTest.cpp150 ASSERT_THAT_ERROR( in TEST()
156 ASSERT_THAT_ERROR( in TEST()
167 ASSERT_THAT_ERROR( in TEST()
174 ASSERT_THAT_ERROR( in TEST()
/external/llvm-project/lldb/unittests/TestingSupport/
DSubsystemRAII.h38 ASSERT_THAT_ERROR(T::Initialize(), llvm::Succeeded()); in CallInitialize()
/external/llvm-project/llvm/unittests/Transforms/Scalar/
DLICMTest.cpp36 ASSERT_THAT_ERROR(PB.parsePassPipeline(MPM, PipelineStr), Succeeded()); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/
DError.h135 #define ASSERT_THAT_ERROR(Err, Matcher) \ macro
/external/llvm-project/llvm/include/llvm/Testing/Support/
DError.h165 #define ASSERT_THAT_ERROR(Err, Matcher) \ macro

12