aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest/test.h')
-rw-r--r--src/unittest/test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unittest/test.h b/src/unittest/test.h
index 1102f6d33..a6cd03ed2 100644
--- a/src/unittest/test.h
+++ b/src/unittest/test.h
@@ -99,6 +99,10 @@ class TestFailedException : public std::exception {
UASSERT(exception_thrown); \
}
+#define CONCAT_IMPL(x,y) x##y
+#define CONCAT(x,y) CONCAT_IMPL(x, y)
+#define NEWNAME(prefix) CONCAT(prefix, __COUNTER__)
+
class IGameDef;
class TestBase {