From d2746dda6088d3d0e23119dada56ad2c35bed17d Mon Sep 17 00:00:00 2001 From: Abhishek Aggarwal Date: Mon, 29 May 2017 11:13:30 +0000 Subject: Replaced StructuredData::Type with eStructuredDataType ...missing from r304138 "Added new API to SBStructuredData class" llvm-svn: 304147 --- .../Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp') diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp index 71aeb789016..c9ab0b6050a 100644 --- a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp +++ b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp @@ -11,6 +11,7 @@ #include "GDBRemoteTestUtils.h" #include "Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h" +#include "lldb/lldb-enumerations.h" #include "lldb/Core/ModuleSpec.h" #include "lldb/Core/StructuredData.h" #include "lldb/Core/TraceOptions.h" @@ -554,7 +555,7 @@ TEST_F(GDBRemoteCommunicationClientTest, SendGetTraceConfigPacket) { llvm::StringRef trace_tech_value; ASSERT_TRUE(custom_params); - ASSERT_EQ(custom_params->GetType(), StructuredData::Type::eTypeDictionary); + ASSERT_EQ(custom_params->GetType(), eStructuredDataTypeDictionary); ASSERT_TRUE( custom_params->GetValueForKeyAsInteger("psb", psb_value)); ASSERT_EQ(psb_value, 1); @@ -594,4 +595,4 @@ TEST_F(GDBRemoteCommunicationClientTest, SendGetTraceConfigPacket) { HandlePacket(server, expected_packet, incorrect_custom_params1+ incorrect_custom_params2); ASSERT_FALSE(result4.get().Success()); -} \ No newline at end of file +} -- cgit v1.2.3