mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
feat(tests): rework tests in numerous ways (#3059)
This commit is contained in:
15
tests/tests_main.cpp
Normal file
15
tests/tests_main.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @file tests/tests_main.cpp
|
||||
* @brief Entry point definition.
|
||||
*/
|
||||
#include "tests_common.h"
|
||||
#include "tests_environment.h"
|
||||
#include "tests_events.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv) {
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
testing::AddGlobalTestEnvironment(new SunshineEnvironment);
|
||||
testing::UnitTest::GetInstance()->listeners().Append(new SunshineEventListener);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in New Issue
Block a user