semantic_tests.py 360 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
from mjtest.environment import TestMode
from mjtest.test.syntax_tests import BasicSyntaxTest
from mjtest.test.tests import TestCase


class BasicSemanticTest(BasicSyntaxTest):

    FILE_ENDINGS = [".invalid.mj", ".valid.mj", ".mj", ".invalid.java", ".java"]
    MODE = TestMode.semantic


TestCase.TEST_CASE_CLASSES[TestMode.semantic].append(BasicSemanticTest)