Class RaiseStatementValidatorTest

    • Constructor Detail

      • RaiseStatementValidatorTest

        public RaiseStatementValidatorTest()
    • Method Detail

      • setUp

        public static void setUp()
      • testRaiseStatement1

        public void testRaiseStatement1()
                                 throws Exception
        Not enough parameters "Raise()"
        Throws:
        Exception
      • testRaiseStatement2

        public void testRaiseStatement2()
                                 throws Exception
        A lot parameters "Raise("description","code",,,,1)"
        Throws:
        Exception
      • testRaiseStatement3

        public void testRaiseStatement3()
                                 throws Exception
        Raise without expression not in catch section of try-catch statement
        Throws:
        Exception
      • testRaiseStatement4

        public void testRaiseStatement4()
                                 throws Exception
        Using Raise statement in project with version less than 8.3.21
        Throws:
        Exception