Cleanup of how tests are discovered. Prefix not needed or used.
This commit is contained in:
parent
27517cdfa6
commit
4c47509d1b
2 changed files with 2 additions and 3 deletions
|
@ -8,5 +8,4 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
|||
add_executable(pacman_tests ${sources})
|
||||
target_link_libraries(pacman_tests GTest::GTest libpacman)
|
||||
|
||||
gtest_discover_tests(pacman_tests TEST_PREFIX pacman:)
|
||||
add_test(NAME monolithic COMMAND pacman_tests)
|
||||
gtest_discover_tests(pacman_tests)
|
|
@ -1,6 +1,6 @@
|
|||
#include "Position.hpp"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
TEST(PacManTest, Position) {
|
||||
TEST(PositionTest, Init) {
|
||||
EXPECT_EQ(1, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue