aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/tests/examples/TestEnum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/codegen/tests/examples/TestEnum.hpp')
-rw-r--r--buildtools/codegen/tests/examples/TestEnum.hpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/buildtools/codegen/tests/examples/TestEnum.hpp b/buildtools/codegen/tests/examples/TestEnum.hpp
index 2a93c01..c498cd9 100644
--- a/buildtools/codegen/tests/examples/TestEnum.hpp
+++ b/buildtools/codegen/tests/examples/TestEnum.hpp
@@ -5,4 +5,19 @@ enum MyEnum {
EnumElement2,
EnumElement3,
};
-BRUSSEL_ENUM(MyEnum, GenBasic);
+BRUSSEL_ENUM(MyEnum, ToString);
+
+enum CountedEnumAll {
+ CEA_Foo,
+ CEA_Bar,
+ CEA_COUNT,
+};
+BRUSSEL_ENUM(CountedEnumAll, ToString);
+
+enum CountedEnum {
+ CE_Foo,
+ CE_Bar,
+ CE_FooBar,
+ CE_COUNT,
+};
+BRUSSEL_ENUM(CountedEnum, ToString ExcludeHeuristics);