[Lldb-commits] [lldb] r304147 - Replaced StructuredData::Type with eStructuredDataType
Abhishek Aggarwal via lldb-commits
lldb-commits at lists.llvm.org
Mon May 29 04:13:30 PDT 2017
Author: abhishek
Date: Mon May 29 06:13:30 2017
New Revision: 304147
URL: http://llvm.org/viewvc/llvm-project?rev=304147&view=rev
Log:
Replaced StructuredData::Type with eStructuredDataType
...missing from r304138 "Added new API to SBStructuredData class"
Modified:
lldb/trunk/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
Modified: lldb/trunk/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp?rev=304147&r1=304146&r2=304147&view=diff
==============================================================================
--- lldb/trunk/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp (original)
+++ lldb/trunk/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp Mon May 29 06:13:30 2017
@@ -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,
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,
HandlePacket(server, expected_packet, incorrect_custom_params1+
incorrect_custom_params2);
ASSERT_FALSE(result4.get().Success());
-}
\ No newline at end of file
+}
More information about the lldb-commits
mailing list