summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Process/gdb-remote
diff options
context:
space:
mode:
authorAbhishek Aggarwal <abhishek.a.aggarwal@intel.com>2017-05-29 11:13:30 +0000
committerAbhishek Aggarwal <abhishek.a.aggarwal@intel.com>2017-05-29 11:13:30 +0000
commitd2746dda6088d3d0e23119dada56ad2c35bed17d (patch)
tree64779df4998c82ea258594633e23914e0bc0e7d4 /lldb/unittests/Process/gdb-remote
parentede801ca2b7a4792c5b61fe69518c259593224c5 (diff)
downloadbcm5719-llvm-d2746dda6088d3d0e23119dada56ad2c35bed17d.tar.gz
bcm5719-llvm-d2746dda6088d3d0e23119dada56ad2c35bed17d.zip
Replaced StructuredData::Type with eStructuredDataType
...missing from r304138 "Added new API to SBStructuredData class" llvm-svn: 304147
Diffstat (limited to 'lldb/unittests/Process/gdb-remote')
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp5
1 files changed, 3 insertions, 2 deletions
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<uint64_t>("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
+}
OpenPOWER on IntegriCloud