feat(tests): rework tests in numerous ways (#3059)
This commit is contained in:
parent
3088823ffc
commit
764ce03520
19 changed files with 316 additions and 446 deletions
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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue