Class AppPkgTestRunner


  • public class AppPkgTestRunner
    extends Object
    Provides a FormCommandHander Test Runner class.
    Since:
    17.10.0
    • Constructor Detail

      • AppPkgTestRunner

        public AppPkgTestRunner()
    • Method Detail

      • setConsoleLogging

        public AppPkgTestRunner setConsoleLogging​(boolean consoleLogging)
        Set whether console logging enabled.
        Parameters:
        consoleLogging - set whether console logging is enabled.
        Returns:
        this test runner
      • setLogOnError

        public AppPkgTestRunner setLogOnError​(boolean logOnError)
        Enable console logging when an assertion error occurs.
        Parameters:
        logOnError - set whether console logging is enabled.
        Returns:
        this test runner
      • setAppPkgFile

        public AppPkgTestRunner setAppPkgFile​(File appPkgFile)
        Set the application package ZIP file
        Parameters:
        appPkgFile - the application package ZIP file (required)
        Returns:
        this test runner
      • setMockEntityService

        public AppPkgTestRunner setMockEntityService​(MockEntityService mockEntityService)
        Set the mock entity service
        Parameters:
        mockEntityService - the mock entity service (required)
        Returns:
        this test runner
      • setTestFile

        public AppPkgTestRunner setTestFile​(File testFile)
        Set the JSON test description file.
        Parameters:
        testFile - the JSON test description file.
        Returns:
        this test runner