Class GrammarOrderTest


@InjectWith(BslInjectorProvider.class) @Deprecated(since="2023.3", forRemoval=true) public class GrammarOrderTest extends SimpleTestBslParseHelper
Deprecated, for removal: This API element is subject to removal in a future version.
List of test for checking the validation of grammar order in Bsl Module with preprocessor elements
  • Field Summary

    Fields inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper

    parser, resourceSet, resourceSetProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order with difficult issue
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order with difficult issue
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order with difficult issue
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order with difficult issue
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order with nested Preprocessor
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test right order module, no errors after validation for code IBslErrorCode.WRONG_GRAMMAR_ORDER
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for declare statement and statement in method
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for declare statement and method
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for declare statement and statement
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for method and statement
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for method and statement with ifPreprocessor
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Test error order for method and statement with ifPreprocessor (several section) [start with declare statement]

    Methods inherited from class com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper

    getModuleLineDelimeter, getTextFromFile, parseFile

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GrammarOrderTest

      public GrammarOrderTest()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setUp

      public static void setUp()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • testRightOrderModule

      public void testRightOrderModule() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test right order module, no errors after validation for code IBslErrorCode.WRONG_GRAMMAR_ORDER
      Throws:
      Exception
    • testWrongDelareStatementMethodOrder

      public void testWrongDelareStatementMethodOrder() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for declare statement and method
      Throws:
      Exception
    • testWrongDelareStatementStatementOrder

      public void testWrongDelareStatementStatementOrder() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for declare statement and statement
      Throws:
      Exception
    • testWrongMethodStatementOrder

      public void testWrongMethodStatementOrder() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for method and statement
      Throws:
      Exception
    • testWrongMethodStatementOrderIfPrep

      public void testWrongMethodStatementOrderIfPrep() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for method and statement with ifPreprocessor
      Throws:
      Exception
    • testWrongMethodStatementOrderIfPrepStartDecStat

      public void testWrongMethodStatementOrderIfPrepStartDecStat() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for method and statement with ifPreprocessor (several section) [start with declare statement]
      Throws:
      Exception
    • testWrongDecStatStatementOrderInMethod

      public void testWrongDecStatStatementOrderInMethod() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order for declare statement and statement in method
      Throws:
      Exception
    • testNestedPreprocessor

      public void testNestedPreprocessor() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order with nested Preprocessor
      Throws:
      Exception
    • testDifficultIssue1

      public void testDifficultIssue1() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order with difficult issue
      Throws:
      Exception
    • testDifficultIssue2

      public void testDifficultIssue2() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order with difficult issue
      Throws:
      Exception
    • testDifficultIssue3

      public void testDifficultIssue3() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order with difficult issue
      Throws:
      Exception
    • testDifficultIssue4

      public void testDifficultIssue4() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Test error order with difficult issue
      Throws:
      Exception