Class NumberLiteralValidatorTest

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

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

    • NumberLiteralValidatorTest

      public NumberLiteralValidatorTest()
      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.
    • testAllowedNumberLiteral1

      public void testAllowedNumberLiteral1() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "111"
      Throws:
      Exception
    • testAllowedNumberLiteral2

      public void testAllowedNumberLiteral2() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "111.1"
      Throws:
      Exception
    • testWrongNumberLiteral1

      public void testWrongNumberLiteral1() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed "11 1"
      Throws:
      Exception
    • testWrongNumberLiteral2

      public void testWrongNumberLiteral2() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed ".111"
      Throws:
      Exception
    • testWrongNumberLiteral3

      public void testWrongNumberLiteral3() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "111."
      Throws:
      Exception
    • testWrongNumberLiteral4

      public void testWrongNumberLiteral4() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed "111 .1"
      Throws:
      Exception
    • testWrongNumberLiteral5

      public void testWrongNumberLiteral5() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed "111. 1"
      Throws:
      Exception
    • testWrongNumberLiteral6

      public void testWrongNumberLiteral6() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed "111.1 1"
      Throws:
      Exception
    • testWrongNumberLiteral7

      public void testWrongNumberLiteral7() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      not allowed "1 11.11"
      Throws:
      Exception
    • testWrongNumberLiteral8

      public void testWrongNumberLiteral8() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "0."
      Throws:
      Exception
    • testWrongNumberLiteral9

      public void testWrongNumberLiteral9() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "(1)"
      Throws:
      Exception
    • testWrongNumberLiteral10

      public void testWrongNumberLiteral10() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Not allowed "((1)"
      Throws:
      Exception
    • testWrongNumberLiteral11

      public void testWrongNumberLiteral11() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "( 53 )"
      Throws:
      Exception
    • testWrongNumberLiteral12

      public void testWrongNumberLiteral12() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Allowed "Сообщить(1,// пыввапвапвап // пыввапвапвап 1222, 1)"
      Throws:
      Exception