Split test struct and handler macros out for the emitter/spec tests

This commit is contained in:
Jesse Beder
2012-05-22 22:10:47 -05:00
parent 115101d25d
commit 0fb59c18dd
5 changed files with 63 additions and 14 deletions

View File

@@ -5,18 +5,9 @@
#pragma once
#endif
#include <string>
#include "teststruct.h"
namespace Test {
struct TEST {
TEST(): ok(false) {}
TEST(bool ok_): ok(ok_) {}
TEST(const char *error_): ok(false), error(error_) {}
bool ok;
std::string error;
};
namespace Spec {
// 2.1
TEST SeqScalars();