Refactors tests to better fit with how bazel runs them.
This commit is contained in:
@@ -7,25 +7,16 @@
|
||||
#include "Menus.h"
|
||||
#include "test.h"
|
||||
|
||||
namespace {
|
||||
using namespace SBF;
|
||||
using namespace Test;
|
||||
using namespace std;
|
||||
|
||||
namespace Test::Menus {} // End namespace Test::Menus
|
||||
|
||||
using namespace Test::Menus;
|
||||
|
||||
TestResults main_test_Menus(int argc, char* argv[]) {
|
||||
TestResults results;
|
||||
return results;
|
||||
}
|
||||
} // End namespace
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
TestResults results = main_test_Menus(argc, argv);
|
||||
TestResults results;
|
||||
|
||||
PrintResults(cout, results);
|
||||
|
||||
return results.failed() + results.errors();
|
||||
}
|
||||
|
||||
namespace Test::Menus {} // namespace Test::Menus
|
||||
|
||||
Reference in New Issue
Block a user