Skip to content
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/blockchaintest/blockchaintest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <evmone/evmone.h>
#include <evmone/version.h>
#include <test/utils/blockchaintest.hpp>
#include <test/utils/test_collector.hpp>
#include <test/utils/test_driver.hpp>
#include <test/utils/test_files.hpp>
#include <iostream>

namespace fs = std::filesystem;
Expand Down
2 changes: 1 addition & 1 deletion test/statetest/statetest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#include <evmone/evmone.h>
#include <evmone/version.h>
#include <test/utils/statetest.hpp>
#include <test/utils/test_collector.hpp>
#include <test/utils/test_driver.hpp>
#include <test/utils/test_files.hpp>
#include <iostream>

namespace fs = std::filesystem;
Expand Down
2 changes: 1 addition & 1 deletion test/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ target_sources(
statetest_logs_hash_test.cpp
statetest_runner_test.cpp
statetest_withdrawals_test.cpp
test_collector_test.cpp
test_driver_test.cpp
test_files_test.cpp
test_report_test.cpp
tooling_run_test.cpp
tooling_t8n_test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0

#include <gtest/gtest.h>
#include <test/utils/test_files.hpp>
#include <test/utils/test_collector.hpp>

using namespace evmone::test;
namespace fs = std::filesystem;
Expand Down Expand Up @@ -32,7 +32,7 @@ std::vector<std::string> names(const std::vector<TestFile>& files)
}
} // namespace

TEST(test_files, ignore_nothing)
TEST(test_collector, ignore_nothing)
{
const std::vector<std::string> all{"a.json", "c.json", "b.json", "top.json"};

Expand All @@ -47,7 +47,7 @@ TEST(test_files, ignore_nothing)
EXPECT_EQ(names(files), all);
}

TEST(test_files, ignore_directory)
TEST(test_collector, ignore_directory)
{
// The sibling shares the prefix as text, but not as a path component.
auto files = collected();
Expand All @@ -56,7 +56,7 @@ TEST(test_files, ignore_directory)
EXPECT_EQ(names(files), (std::vector<std::string>{"b.json", "top.json"}));
}

TEST(test_files, ignore_directory_other_spellings)
TEST(test_collector, ignore_directory_other_spellings)
{
for (const auto& spelling : {"bc4895/", "./bc4895"})
{
Expand All @@ -67,7 +67,7 @@ TEST(test_files, ignore_directory_other_spellings)
}
}

TEST(test_files, ignore_files)
TEST(test_collector, ignore_files)
{
auto files = collected();
const std::vector<fs::path> ignored{"bc4895/nested/c.json", "top.json"};
Expand Down
4 changes: 2 additions & 2 deletions test/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ target_sources(
statetest_runner.cpp
t8n.hpp
t8n.cpp
test_collector.hpp
test_collector.cpp
test_driver.hpp
test_driver.cpp
test_files.hpp
test_files.cpp
test_report.hpp
test_report.cpp
test_state.hpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Copyright 2026 The evmone Authors.
// SPDX-License-Identifier: Apache-2.0

#include "test_files.hpp"
#include "test_collector.hpp"
#include <algorithm>
#include <ranges>

Expand Down
File renamed without changes.