HaxeCheckstyle/haxe-checkstyle

View on GitHub
test/TestSuite.hx

Summary

Maintainability
Test Coverage
import checkstyle.checks.CheckTestCase;
import checkstyle.config.ConfigParserTest;
import checkstyle.config.ExcludeManagerTest;
import checkstyle.detect.DetectCodingStyleTest;
import misc.CheckerTest;
import misc.ThreadTest;

class TestSuite extends massive.munit.TestSuite {
    public function new() {
        super();

        CompileTime.importPackage("checkstyle.checks");
        CompileTime.importPackage("misc");

        add(CheckerTest);
        add(ConfigParserTest);
        add(ExcludeManagerTest);
        add(DetectCodingStyleTest);
        add(ThreadTest);

        var tests = CompileTime.getAllClasses(CheckTestCase);
        for (testClass in tests) add(testClass);
    }
}