File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11add_lldb_unittest(DAPTests
22 DAPTest.cpp
3- Handler/DisconnectRequestHandlerTest .cpp
3+ Handler/DisconnectTest .cpp
44 JSONUtilsTest.cpp
55 LLDBUtilsTest.cpp
66 ProtocolTypesTest.cpp
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ class DisconnectRequestHandlerTest : public DAPTestBase {};
2525
2626TEST_F (DisconnectRequestHandlerTest, DisconnectingTriggersTerminated) {
2727 DisconnectRequestHandler handler (*dap);
28+ EXPECT_FALSE (dap->disconnecting );
2829 ASSERT_THAT_ERROR (handler.Run (std::nullopt ), Succeeded ());
2930 EXPECT_TRUE (dap->disconnecting );
3031 std::vector<Message> messages = DrainOutput ();
Original file line number Diff line number Diff line change @@ -67,4 +67,4 @@ std::vector<Message> DAPTestBase::DrainOutput() {
6767 msgs.push_back (*next);
6868 }
6969 return msgs;
70- }
70+ }
You can’t perform that action at this time.
0 commit comments