Class ComputerPreprocessorEnvironmentTest

java.lang.Object
com._1c.g5.v8.dt.bsl.ComputerPreprocessorEnvironmentTest

@InjectWith(BslInjectorProvider.class) public class ComputerPreprocessorEnvironmentTest extends Object
List of tests for checking computing environments in IfPreprocessor
  • Constructor Details

    • ComputerPreprocessorEnvironmentTest

      public ComputerPreprocessorEnvironmentTest()
  • Method Details

    • setUp

      public static void setUp()
    • testSimpleLiteralPreprocesso

      public void testSimpleLiteralPreprocesso() throws Exception
      preprocessor expression => Client
      Throws:
      Exception
    • testOrOperationPreprocessor

      public void testOrOperationPreprocessor() throws Exception
      preprocessor expression => Client or Server
      Throws:
      Exception
    • testNotOperationPreprocessor

      public void testNotOperationPreprocessor() throws Exception
      preprocessor expression => Not (Client or Server)
      Throws:
      Exception
    • testAndOperationPreprocessor

      public void testAndOperationPreprocessor() throws Exception
      preprocessor expression => Client and Server
      Throws:
      Exception
    • testAllOperationPreprocessor

      public void testAllOperationPreprocessor() throws Exception
      preprocessor expression => ExternalConnection or (Client or Not Server and ThinClient) or MobileAppClient
      Throws:
      Exception
    • testOrderOfOperationPreprocessor

      public void testOrderOfOperationPreprocessor() throws Exception
      preprocessor expression => ThinClient or Server and MobileAppServer
      Throws:
      Exception
    • testElsePartPreprocessor

      public void testElsePartPreprocessor() throws Exception
      Test else part of preprocessor Preprocessor expression => Client or Server
      Throws:
      Exception
    • testElsePartWithElsIfPreprocessor

      public void testElsePartWithElsIfPreprocessor() throws Exception
      Test else part of preprocessor with else if part Preprocessor expression => Client Else If part expression => ExternalConnection
      Throws:
      Exception
    • testElseIfPartPreprocessor

      public void testElseIfPartPreprocessor() throws Exception
      Test else if part of preprocessor Preprocessor expression => WebClient Else If part expression => Client
      Throws:
      Exception