Package com._1c.g5.v8.dt.bsl
Class SurroundWithRegionTest
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
-
- com._1c.g5.v8.dt.bsl.SurroundWithRegionTest
-
@InjectWith(BslInjectorProvider.class) public class SurroundWithRegionTest extends SimpleTestBslParseHelper
Tests for validation of selection area in Surround With Region Preprocessor
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
parser, resourceSet, resourceSetProvider
-
-
Constructor Summary
Constructors Constructor Description SurroundWithRegionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidsetUp()voidtestDeclareStatementEndtWithSemicolon()voidtestDeclareStatementStartWithSemicolon()voidtestDeclareStatementValidSelection()voidtestExpressionSelection()voidtestGroupMethodValidSelection()voidtestMethodValidSelection()voidtestSelectionBreaksSemanticElement()voidtestSelectionIfPreprocessor()voidtestSelectionInMethod()voidtestSelectionRegion()voidtestStatementEndtWithSemicolon()voidtestStatementStartWithSemicolon()voidtestStatementValidSelection()voidtestVariableSelection()-
Methods inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
getModuleLineDelimeter, getTextFromFile, parseFile
-
-
-
-
Method Detail
-
setUp
public static void setUp()
-
testDeclareStatementValidSelection
public void testDeclareStatementValidSelection() throws Exception- Throws:
Exception
-
testDeclareStatementStartWithSemicolon
public void testDeclareStatementStartWithSemicolon() throws Exception- Throws:
Exception
-
testDeclareStatementEndtWithSemicolon
public void testDeclareStatementEndtWithSemicolon() throws Exception- Throws:
Exception
-
testStatementValidSelection
public void testStatementValidSelection() throws Exception- Throws:
Exception
-
testStatementStartWithSemicolon
public void testStatementStartWithSemicolon() throws Exception- Throws:
Exception
-
testStatementEndtWithSemicolon
public void testStatementEndtWithSemicolon() throws Exception- Throws:
Exception
-
testGroupMethodValidSelection
public void testGroupMethodValidSelection() throws Exception- Throws:
Exception
-
testSelectionBreaksSemanticElement
public void testSelectionBreaksSemanticElement() throws Exception- Throws:
Exception
-
-