[Lldb-commits] [PATCH] D77878: [lldb] Fix a typo in a test name

Phabricator via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 12:25:04 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGcea112f422ce: [lldb] Fix a typo in a test name (authored by Walter Erquinigo <wallace at fb.com>).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77878/new/

https://reviews.llvm.org/D77878

Files:
  lldb/unittests/API/CMakeLists.txt
  lldb/unittests/API/SBCommandInterpreterTest.cpp
  lldb/unittests/API/TestSBCommandInterpreterTest.cpp


Index: lldb/unittests/API/SBCommandInterpreterTest.cpp
===================================================================
--- lldb/unittests/API/SBCommandInterpreterTest.cpp
+++ lldb/unittests/API/SBCommandInterpreterTest.cpp
@@ -1,4 +1,4 @@
-//===-- TestSBCommandInterpreterTest.cpp ----------------------------------===//
+//===-- SBCommandInterpreterTest.cpp ------------------------===----------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -17,7 +17,7 @@
 
 using namespace lldb;
 
-class TestSBCommandInterpreterTest : public testing::Test {
+class SBCommandInterpreterTest : public testing::Test {
 protected:
   void SetUp() override {
     SBDebugger::Initialize();
@@ -44,7 +44,7 @@
   std::string m_message;
 };
 
-TEST_F(TestSBCommandInterpreterTest, SingleWordCommand) {
+TEST_F(SBCommandInterpreterTest, SingleWordCommand) {
   // We first test a command without autorepeat
   DummyCommand dummy("It worked");
   m_interp.AddCommand("dummy", &dummy, /*help=*/nullptr);
@@ -79,7 +79,7 @@
   }
 }
 
-TEST_F(TestSBCommandInterpreterTest, MultiWordCommand) {
+TEST_F(SBCommandInterpreterTest, MultiWordCommand) {
   auto command = m_interp.AddMultiwordCommand("multicommand", /*help=*/nullptr);
   // We first test a subcommand without autorepeat
   DummyCommand subcommand("It worked again");
Index: lldb/unittests/API/CMakeLists.txt
===================================================================
--- lldb/unittests/API/CMakeLists.txt
+++ lldb/unittests/API/CMakeLists.txt
@@ -1,5 +1,5 @@
 add_lldb_unittest(APITests
-  TestSBCommandInterpreterTest.cpp
+  SBCommandInterpreterTest.cpp
 
   LINK_LIBS
     liblldb


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77878.257445.patch
Type: text/x-patch
Size: 1741 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200414/8ebb280e/attachment.bin>


More information about the lldb-commits mailing list