Package com._1c.g5.v8.dt.bsl
Class RaiseStatementValidatorTest
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
-
- com._1c.g5.v8.dt.bsl.RaiseStatementValidatorTest
-
@InjectWith(BslInjectorProvider.class) public class RaiseStatementValidatorTest extends SimpleTestBslParseHelper
Tests for validation of Raise statement in Bsl language
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
parser, resourceSet, resourceSetProvider
-
-
Constructor Summary
Constructors Constructor Description RaiseStatementValidatorTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
setUp()
void
testRaiseStatement1()
Not enough parameters "Raise()"void
testRaiseStatement2()
A lot parameters "Raise("description","code",,,,1)"void
testRaiseStatement3()
Raise without expression not in catch section of try-catch statementvoid
testRaiseStatement4()
Using Raise statement in project with version less than 8.3.21-
Methods inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
getModuleLineDelimeter, getTextFromFile, parseFile
-
-
-
-
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
-
-