Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit a402c4e

Browse files
committed
Revert name changes of PelotonTest and PelotonCodeGenTest
1 parent 3d74f74 commit a402c4e

File tree

159 files changed

+176
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+176
-176
lines changed

test/binder/binder_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ using std::vector;
3737
namespace peloton {
3838
namespace test {
3939

40-
class BinderCorrectnessTests : public PelotonTests {
40+
class BinderCorrectnessTests : public PelotonTest {
4141
virtual void SetUp() override {
42-
PelotonTests::SetUp();
42+
PelotonTest::SetUp();
4343
catalog::Catalog::GetInstance();
4444
// NOTE: Catalog::GetInstance()->Bootstrap(), you can only call it once!
4545
TestingExecutorUtil::InitializeDatabase(DEFAULT_DB_NAME);
4646
}
4747

4848
virtual void TearDown() override {
4949
TestingExecutorUtil::DeleteDatabase(DEFAULT_DB_NAME);
50-
PelotonTests::TearDown();
50+
PelotonTest::TearDown();
5151
}
5252
};
5353

test/brain/query_clusterer_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bool ClusterCorrectness(std::set<brain::Cluster *> clusters,
5252
return check;
5353
}
5454

55-
class QueryClustererTests : public PelotonTests {};
55+
class QueryClustererTests : public PelotonTest {};
5656

5757
TEST_F(QueryClustererTests, ClusterTest) {
5858
int num_features = 5;

test/brain/query_logger_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
namespace peloton {
2020
namespace test {
2121

22-
class QueryLoggerTests : public PelotonTests {
22+
class QueryLoggerTests : public PelotonTest {
2323
protected:
2424
void SetUp() override {
2525
settings::SettingsManager::SetBool(settings::SettingId::brain, true);

test/brain/tensorflow_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace test {
2626
// Tensorflow Tests
2727
//===--------------------------------------------------------------------===//
2828

29-
class TensorflowTests : public PelotonTests {};
29+
class TensorflowTests : public PelotonTest {};
3030

3131
TEST_F(TensorflowTests, BasicTFTest) {
3232
// Check that the tensorflow library imports and prints version info correctly

test/catalog/catalog_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace test {
3333
// Catalog Tests
3434
//===--------------------------------------------------------------------===//
3535

36-
class CatalogTests : public PelotonTests {};
36+
class CatalogTests : public PelotonTest {};
3737

3838
TEST_F(CatalogTests, BootstrappingCatalogTest) {
3939
auto catalog = catalog::Catalog::GetInstance();

test/catalog/constraints_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace test {
3838
// Constraints Tests
3939
//===--------------------------------------------------------------------===//
4040

41-
class ConstraintsTests : public PelotonTests {};
41+
class ConstraintsTests : public PelotonTest {};
4242

4343
#ifdef CONSTRAINT_NOTNULL_TEST
4444
TEST_F(ConstraintsTests, NOTNULLTest) {

test/catalog/manager_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace test {
2626
// Manager Tests
2727
//===--------------------------------------------------------------------===//
2828

29-
class ManagerTests : public PelotonTests {};
29+
class ManagerTests : public PelotonTest {};
3030

3131
void AddTileGroup(UNUSED_ATTRIBUTE uint64_t thread_id) {
3232
// TILES

test/catalog/tuple_schema_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace test {
2121
// Tuple Schema Tests
2222
//===--------------------------------------------------------------------===//
2323

24-
class TupleSchemaTests : public PelotonTests {};
24+
class TupleSchemaTests : public PelotonTest {};
2525

2626
TEST_F(TupleSchemaTests, ColumnInfoTest) {
2727
std::vector<catalog::Column> columns;

test/codegen/bloom_filter_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
namespace peloton {
3737
namespace test {
3838

39-
class BloomFilterCodegenTests : public PelotonTests {
39+
class BloomFilterCodegenTests : public PelotonTest {
4040
public:
4141
BloomFilterCodegenTests() {
4242
// Create test db

test/codegen/function_builder_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace peloton {
1919
namespace test {
2020

21-
class FunctionBuilderTests : public PelotonTests {};
21+
class FunctionBuilderTests : public PelotonTest {};
2222

2323
TEST_F(FunctionBuilderTests, ConstructSingleFunctionTest) {
2424
// Generate a function like so:

0 commit comments

Comments
 (0)