ct: Add JUnit 5 support to testcases variable
@@ -187,7 +187,13 @@ runsecureproperties = ${runproperties}, \
testcases.junit3 = ${classes;EXTENDS;junit.framework.TestCase;CONCRETE}
testcases.junit4 = ${classes;HIERARCHY_ANNOTATED;org.junit.Test;CONCRETE}
-
-testcases = ${sort;${uniq;${testcases.junit3};${testcases.junit4}}}
+testcases.junit5 = \
+ ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.jupiter.api.Test;CONCRETE},\
+ ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.jupiter.api.RepeatedTest;CONCRETE},\
+ ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.jupiter.params.ParameterizedTest;CONCRETE},\
+ ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.jupiter.api.TestFactory;CONCRETE},\
+ ${classes;HIERARCHY_INDIRECTLY_ANNOTATED;org.junit.jupiter.api.TestTemplate;CONCRETE}
+
+testcases = ${sort;${uniq;${testcases.junit3};${testcases.junit4};${testcases.junit5}}}
