2008-09-03 22:20:39 +00:00
|
|
|
#include "tests.h"
|
2009-09-07 22:17:02 +00:00
|
|
|
#include "emittertests.h"
|
2009-09-03 14:27:03 +00:00
|
|
|
#include "spectests.h"
|
2010-10-18 07:05:53 +00:00
|
|
|
#include "yaml-cpp/yaml.h"
|
2008-09-03 22:20:39 +00:00
|
|
|
#include <fstream>
|
|
|
|
|
#include <sstream>
|
|
|
|
|
#include <vector>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
namespace Test
|
|
|
|
|
{
|
2009-05-31 06:36:01 +00:00
|
|
|
void RunAll()
|
2008-09-03 22:20:39 +00:00
|
|
|
{
|
|
|
|
|
bool passed = true;
|
2009-05-22 21:52:31 +00:00
|
|
|
if(!RunEmitterTests())
|
|
|
|
|
passed = false;
|
2008-09-03 22:20:39 +00:00
|
|
|
|
2009-09-06 17:02:24 +00:00
|
|
|
if(!RunSpecTests())
|
|
|
|
|
passed = false;
|
|
|
|
|
|
2008-09-03 22:20:39 +00:00
|
|
|
if(passed)
|
|
|
|
|
std::cout << "All tests passed!\n";
|
|
|
|
|
}
|
|
|
|
|
}
|
2009-09-07 22:17:02 +00:00
|
|
|
|