Class ExecutionLimitsTest


  • public class ExecutionLimitsTest
    extends Object
    Test cases covering build validation and module scripts executions when updating database regarding the original version the module is being updated from.
    Author:
    inigo.sanchez
    • Constructor Detail

      • ExecutionLimitsTest

        public ExecutionLimitsTest​(String moduleId,
                                   String fromVersion,
                                   String toVersion,
                                   boolean onInstall,
                                   boolean shouldExecute,
                                   org.openbravo.test.modularity.ExecutionLimitsTest.Type type,
                                   String description)
        Parameters:
        moduleId - UUID of the module to establish the dependency with
        fromVersion - defines the first module version of the execution dependency
        toVersion - defines the last module version of the execution dependency
        onInstall - flag to indicate if the buildValidation should be executed on install
        shouldExecute - flag to indicate the final result, i.e., if the buildValidation should be executed or not
        type - defines if it is a ModuleScript or BuildValidation test
        description - description for the test case
    • Method Detail

      • isExecutedBasedOnVersionLimits

        public void isExecutedBasedOnVersionLimits()
        Executes the buildValidation or ModuleScript with current version boundaries