Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename e2e_read_test to e2e_test #1599

Merged
merged 1 commit into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/runner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
add_kuzu_test(e2e_copy_csv_transaction_test e2e_copy_transaction_test.cpp)
add_kuzu_test(e2e_ddl_test e2e_ddl_test.cpp)
add_kuzu_test(e2e_delete_create_transaction_test e2e_delete_create_transaction_test.cpp)
add_kuzu_test(e2e_read_test e2e_read_test.cpp)
add_kuzu_test(e2e_test e2e_test.cpp)
add_kuzu_test(e2e_set_transaction_test e2e_set_transaction_test.cpp)
add_kuzu_test(e2e_update_rel_test e2e_update_rel_test.cpp)
add_kuzu_test(e2e_delete_rel_test e2e_delete_rel_test.cpp)
Expand Down
8 changes: 4 additions & 4 deletions test/runner/e2e_read_test.cpp → test/runner/e2e_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ using ::testing::Test;
using namespace kuzu::testing;
using namespace kuzu::common;

class EndToEndReadTest : public DBTest {
class EndToEndTest : public DBTest {
public:
explicit EndToEndReadTest(std::string dataset, uint64_t bufferPoolSize,
explicit EndToEndTest(std::string dataset, uint64_t bufferPoolSize,
std::vector<std::unique_ptr<TestStatement>> testStatements)
: dataset{dataset}, bufferPoolSize{bufferPoolSize}, testStatements{
std::move(testStatements)} {}
Expand Down Expand Up @@ -42,7 +42,7 @@ void parseAndRegisterTestGroup(const std::string& path) {
__FILE__, __LINE__,
[dataset, bufferPoolSize,
testStatements = std::move(testStatements)]() mutable -> DBTest* {
return new EndToEndReadTest(dataset, bufferPoolSize, std::move(testStatements));
return new EndToEndTest(dataset, bufferPoolSize, std::move(testStatements));
});
}
} else {
Expand All @@ -66,7 +66,7 @@ int main(int argc, char** argv) {
testing::InitGoogleTest(&argc, argv);
std::string path = "test/test_files";
if (argc > 1) {
path = argv[1];
path = path + "/" + argv[1];
}
path = TestHelper::appendKuzuRootPath(path);
if (!FileUtils::fileOrPathExists(path)) {
Expand Down
Loading