Class TestValidator
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.util.validation.AbstractValidator
de.tracetronic.jenkins.plugins.ecutest.util.validation.TestValidator
Validator to check test related form fields.
-
Field Summary
Fields inherited from class de.tracetronic.jenkins.plugins.ecutest.util.validation.AbstractValidator
PARAMETER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateFilterExpression
(String filterExpression) Validates the filter expression.Validates the global constant name.Validates the global constant value.Validates the variable names.validateParameterName
(String name) Validates the parameter name.validateParameterValue
(String value) Validates the parameter value.validateTbcFile
(String tbcFile) Validates the TBC file.validateTcfFile
(String tcfFile) Validates the TCF file.validateTestFolder
(String testFolder) Validates the test folder.Methods inherited from class de.tracetronic.jenkins.plugins.ecutest.util.validation.AbstractValidator
validatePackageFile, validateParameterizedValue, validateProjectFile, validateRequiredParamValue, validateRequiredValue, validateTimeout
-
Constructor Details
-
TestValidator
public TestValidator()
-
-
Method Details
-
validateTestFolder
Validates the test folder.- Parameters:
testFolder
- the test folder- Returns:
- the form validation
-
validateTbcFile
Validates the TBC file.- Parameters:
tbcFile
- the TBC file- Returns:
- the form validation
-
validateTcfFile
Validates the TCF file.- Parameters:
tcfFile
- the TCF file- Returns:
- the form validation
-
validateParameterName
Validates the parameter name.- Parameters:
name
- the parameter name- Returns:
- FormValidation
-
validateParameterValue
Validates the parameter value.- Parameters:
value
- the parameter value- Returns:
- FormValidation
-
validatePackageOutputParameterName
Validates the variable names.- Parameters:
name
- the variable names- Returns:
- FormValidation
-
validateGlobalConstantName
Validates the global constant name.- Parameters:
name
- the global constant name- Returns:
- FormValidation
-
validateGlobalConstantValue
Validates the global constant value.- Parameters:
value
- the global constant value- Returns:
- FormValidation
-
validateFilterExpression
Validates the filter expression.- Parameters:
filterExpression
- the filter expression- Returns:
- the form validation
-