Class RaiseStatementValidatorTest

java.lang.Object
com._1c.g5.v8.dt.bsl.SimpleTestBslParseHelper
com._1c.g5.v8.dt.bsl.RaiseStatementValidatorTest

@InjectWith(BslInjectorProvider.class) @Deprecated(since="2023.3", forRemoval=true) public class RaiseStatementValidatorTest extends SimpleTestBslParseHelper
Deprecated, for removal: This API element is subject to removal in a future version.
Tests for validation of Raise statement in Bsl language
  • Constructor Details

    • RaiseStatementValidatorTest

      public RaiseStatementValidatorTest()
      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.
    • testRaiseStatement1

      public void testRaiseStatement1() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Not enough parameters "Raise()"
      Throws:
      Exception
    • testRaiseStatement2

      public void testRaiseStatement2() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      A lot parameters "Raise("description","code",,,,1)"
      Throws:
      Exception
    • testRaiseStatement3

      public void testRaiseStatement3() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Raise without expression not in catch section of try-catch statement
      Throws:
      Exception
    • testRaiseStatement4

      public void testRaiseStatement4() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Using Raise statement in project with version less than 8.3.21
      Throws:
      Exception