Tests fixed into working order

This commit is contained in:
2015-10-01 10:53:29 +02:00
parent 5e7e5ec8bb
commit ba67f6ea37
2 changed files with 6 additions and 7 deletions
+5 -6
View File
@@ -1,18 +1,17 @@
project(tests)
find_package(PNG REQUIRED)
find_package(Boost REQUIRED COMPONENTS chrono thread unit_test_framework)
include_directories(
${CMAKE_SOURCE_DIR}/include
${PNG_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
set(SOURCE_FILES
main.cpp
FileWatcherTest.cpp
EventTest.cpp
ComponentCopyTest.cpp
EntityCloneTest.cpp
file(GLOB SOURCE_FILES
"*.cpp"
)
if(CMAKE_COMPILER_IS_GNUCXX)
+1 -1
View File
@@ -40,7 +40,7 @@ struct EventFixture
// Publish the event
this->EventBroker->Publish(Before);
// Clear to swap buffers
this->EventBroker->Clear();
this->EventBroker->Swap();
// Process the event
this->EventBroker->template Process<EventFixture>();
}