Package com.avoka.fc.core.util
Class GroovyTestUtils
java.lang.Object
com.avoka.fc.core.util.GroovyTestUtils
Provides GroovyTest Utility methods.
- Since:
- 17.10.5
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertToAbstractJUnitTest
(String testScript) Convert the TransactSDKUnitTest script to use AbstractJUnitTest class which will run on TM server.static boolean
requiresUnitTestModification
(String testScript) Test whether the unit test contains TransactSDKUnitTest class.
-
Constructor Details
-
GroovyTestUtils
public GroovyTestUtils()
-
-
Method Details
-
requiresUnitTestModification
Test whether the unit test contains TransactSDKUnitTest class.- Parameters:
testScript
- the groovy unit test script to test- Returns:
- true if a TransactSDKUnitTest
-
convertToAbstractJUnitTest
Convert the TransactSDKUnitTest script to use AbstractJUnitTest class which will run on TM server.- Parameters:
testScript
- the groovy unit test script to convert- Returns:
- the converted groovy unit test script
-