Skip to content

Commit

Permalink
Rename UnitLoaderTestToolsTests to UnitLoaderToolsTests
Browse files Browse the repository at this point in the history
Summary: As said

Reviewed By: marxhxxx

Differential Revision: D56358517
  • Loading branch information
Daniel Munoz authored and facebook-github-bot committed Apr 19, 2024
1 parent 52b80a7 commit 6f9a603
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion velox/dwio/common/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ add_executable(
RetryTests.cpp
TestBufferedInput.cpp
TypeTests.cpp
UnitLoaderTestToolsTests.cpp
UnitLoaderToolsTests.cpp
WriterTest.cpp)
add_test(velox_dwio_common_test velox_dwio_common_test)
target_link_libraries(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using namespace ::testing;
using namespace ::facebook::velox::dwio::common;
using namespace ::facebook::velox::dwio::common::unit_loader_tools;

TEST(UnitLoaderTestToolsTests, NoCallbacksCreated) {
TEST(UnitLoaderToolsTests, NoCallbacksCreated) {
std::atomic_size_t callCount = 0;
{
CallbackOnLastSignal callback([&callCount]() { ++callCount; });
Expand All @@ -31,7 +31,7 @@ TEST(UnitLoaderTestToolsTests, NoCallbacksCreated) {
EXPECT_EQ(callCount, 1);
}

TEST(UnitLoaderTestToolsTests, NoExplicitCalls) {
TEST(UnitLoaderToolsTests, NoExplicitCalls) {
std::atomic_size_t callCount = 0;
{
CallbackOnLastSignal callback([&callCount]() { ++callCount; });
Expand All @@ -54,7 +54,7 @@ TEST(UnitLoaderTestToolsTests, NoExplicitCalls) {
EXPECT_EQ(callCount, 1);
}

TEST(UnitLoaderTestToolsTests, NoExplicitCallsFactoryDeletedFirst) {
TEST(UnitLoaderToolsTests, NoExplicitCallsFactoryDeletedFirst) {
std::atomic_size_t callCount = 0;
{
std::function<void()> c1, c2;
Expand All @@ -71,7 +71,7 @@ TEST(UnitLoaderTestToolsTests, NoExplicitCallsFactoryDeletedFirst) {
EXPECT_EQ(callCount, 1);
}

TEST(UnitLoaderTestToolsTests, ExplicitCalls) {
TEST(UnitLoaderToolsTests, ExplicitCalls) {
std::atomic_size_t callCount = 0;
{
CallbackOnLastSignal callback([&callCount]() { ++callCount; });
Expand Down Expand Up @@ -101,7 +101,7 @@ TEST(UnitLoaderTestToolsTests, ExplicitCalls) {
EXPECT_EQ(callCount, 1);
}

TEST(UnitLoaderTestToolsTests, WillOnlyCallbackOnce) {
TEST(UnitLoaderToolsTests, WillOnlyCallbackOnce) {
std::atomic_size_t callCount = 0;
{
CallbackOnLastSignal callback([&callCount]() { ++callCount; });
Expand Down

0 comments on commit 6f9a603

Please sign in to comment.