Class AbstractScenarioTest.MakeExecutableTestModifier
java.lang.Object
net.ssehub.easy.producer.scenario_tests.AbstractScenarioTest.MakeExecutableTestModifier
- All Implemented Interfaces:
AbstractScenarioTest.ITestModifier
- Enclosing class:
AbstractScenarioTest
public static class AbstractScenarioTest.MakeExecutableTestModifier
extends Object
implements AbstractScenarioTest.ITestModifier
A Test modifier that makes given files executable.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMakeExecutableTestModifier(String... makeExecutable) Creates a modifier with a set of files to be made executable. -
Method Summary
Modifier and TypeMethodDescriptiongetTempFolderName(String projectName) Returns the (modified) temp folder name (last segment).getVilOutputFolder(File temp) Returns the VIL output folder to use.Returns the VIL start rule name.voidCalled after copying files from a base test template to the actual test folder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ssehub.easy.producer.scenario_tests.AbstractScenarioTest.ITestModifier
getConfigurationFolder
-
Field Details
-
makeExecutable
-
-
Constructor Details
-
MakeExecutableTestModifier
Creates a modifier with a set of files to be made executable.- Parameters:
makeExecutable- those files (in relative paths) within the temporary copy of the project to be made executable
-
-
Method Details
-
postCopy
Description copied from interface:AbstractScenarioTest.ITestModifierCalled after copying files from a base test template to the actual test folder.- Specified by:
postCopyin interfaceAbstractScenarioTest.ITestModifier- Parameters:
target- the actual test folder
-
getTempFolderName
Description copied from interface:AbstractScenarioTest.ITestModifierReturns the (modified) temp folder name (last segment).- Specified by:
getTempFolderNamein interfaceAbstractScenarioTest.ITestModifier- Parameters:
projectName- the project name usually used as temp folder name.- Returns:
- the temp folder name (last segment)
-
getVilOutputFolder
Description copied from interface:AbstractScenarioTest.ITestModifierReturns the VIL output folder to use.- Specified by:
getVilOutputFolderin interfaceAbstractScenarioTest.ITestModifier- Parameters:
temp- the (temporary) folder where the model to test is located- Returns:
- the VIL output folder, may be null for none
-
getVilStartRuleName
Description copied from interface:AbstractScenarioTest.ITestModifierReturns the VIL start rule name.- Specified by:
getVilStartRuleNamein interfaceAbstractScenarioTest.ITestModifier- Returns:
- the start rule name
-