forked from OSchip/llvm-project
[lldb] Fix a typo in a test name
Summary: Removing the Test prefix from the file name and its usages. The standard is using only Test as a suffix. This was correctly pointed out in https://reviews.llvm.org/D77444. Reviewers: labath, clayborg Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D77878
This commit is contained in:
parent
4d9fac6da5
commit
cea112f422
|
@ -1,5 +1,5 @@
|
||||||
add_lldb_unittest(APITests
|
add_lldb_unittest(APITests
|
||||||
TestSBCommandInterpreterTest.cpp
|
SBCommandInterpreterTest.cpp
|
||||||
|
|
||||||
LINK_LIBS
|
LINK_LIBS
|
||||||
liblldb
|
liblldb
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//===-- TestSBCommandInterpreterTest.cpp ----------------------------------===//
|
//===-- SBCommandInterpreterTest.cpp ------------------------===----------===//
|
||||||
//
|
//
|
||||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||||
// See https://llvm.org/LICENSE.txt for license information.
|
// See https://llvm.org/LICENSE.txt for license information.
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
using namespace lldb;
|
using namespace lldb;
|
||||||
|
|
||||||
class TestSBCommandInterpreterTest : public testing::Test {
|
class SBCommandInterpreterTest : public testing::Test {
|
||||||
protected:
|
protected:
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
SBDebugger::Initialize();
|
SBDebugger::Initialize();
|
||||||
|
@ -44,7 +44,7 @@ private:
|
||||||
std::string m_message;
|
std::string m_message;
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST_F(TestSBCommandInterpreterTest, SingleWordCommand) {
|
TEST_F(SBCommandInterpreterTest, SingleWordCommand) {
|
||||||
// We first test a command without autorepeat
|
// We first test a command without autorepeat
|
||||||
DummyCommand dummy("It worked");
|
DummyCommand dummy("It worked");
|
||||||
m_interp.AddCommand("dummy", &dummy, /*help=*/nullptr);
|
m_interp.AddCommand("dummy", &dummy, /*help=*/nullptr);
|
||||||
|
@ -79,7 +79,7 @@ TEST_F(TestSBCommandInterpreterTest, SingleWordCommand) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(TestSBCommandInterpreterTest, MultiWordCommand) {
|
TEST_F(SBCommandInterpreterTest, MultiWordCommand) {
|
||||||
auto command = m_interp.AddMultiwordCommand("multicommand", /*help=*/nullptr);
|
auto command = m_interp.AddMultiwordCommand("multicommand", /*help=*/nullptr);
|
||||||
// We first test a subcommand without autorepeat
|
// We first test a subcommand without autorepeat
|
||||||
DummyCommand subcommand("It worked again");
|
DummyCommand subcommand("It worked again");
|
Loading…
Reference in New Issue