Class GrammarOrderTest

    • Constructor Detail

      • GrammarOrderTest

        public GrammarOrderTest()
    • Method Detail

      • setUp

        public static void setUp()
      • testRightOrderModule

        public void testRightOrderModule()
                                  throws Exception
        Test right order module, no errors after validation for code IBslErrorCode.WRONG_GRAMMAR_ORDER
        Throws:
        Exception
      • testWrongDelareStatementMethodOrder

        public void testWrongDelareStatementMethodOrder()
                                                 throws Exception
        Test error order for declare statement and method
        Throws:
        Exception
      • testWrongDelareStatementStatementOrder

        public void testWrongDelareStatementStatementOrder()
                                                    throws Exception
        Test error order for declare statement and statement
        Throws:
        Exception
      • testWrongMethodStatementOrder

        public void testWrongMethodStatementOrder()
                                           throws Exception
        Test error order for method and statement
        Throws:
        Exception
      • testWrongMethodStatementOrderIfPrep

        public void testWrongMethodStatementOrderIfPrep()
                                                 throws Exception
        Test error order for method and statement with ifPreprocessor
        Throws:
        Exception
      • testWrongMethodStatementOrderIfPrepStartDecStat

        public void testWrongMethodStatementOrderIfPrepStartDecStat()
                                                             throws Exception
        Test error order for method and statement with ifPreprocessor (several section) [start with declare statement]
        Throws:
        Exception
      • testWrongDecStatStatementOrderInMethod

        public void testWrongDecStatStatementOrderInMethod()
                                                    throws Exception
        Test error order for declare statement and statement in method
        Throws:
        Exception
      • testNestedPreprocessor

        public void testNestedPreprocessor()
                                    throws Exception
        Test error order with nested Preprocessor
        Throws:
        Exception
      • testDifficultIssue1

        public void testDifficultIssue1()
                                 throws Exception
        Test error order with difficult issue
        Throws:
        Exception
      • testDifficultIssue2

        public void testDifficultIssue2()
                                 throws Exception
        Test error order with difficult issue
        Throws:
        Exception
      • testDifficultIssue3

        public void testDifficultIssue3()
                                 throws Exception
        Test error order with difficult issue
        Throws:
        Exception
      • testDifficultIssue4

        public void testDifficultIssue4()
                                 throws Exception
        Test error order with difficult issue
        Throws:
        Exception