Package com.avoka.fc.core.util
Class GroovyTestUtils
- java.lang.Object
-
- com.avoka.fc.core.util.GroovyTestUtils
-
public class GroovyTestUtils extends Object
Provides GroovyTest Utility methods.- Since:
- 17.10.5
-
-
Constructor Summary
Constructors Constructor Description GroovyTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
requiresUnitTestModification
public static boolean requiresUnitTestModification(String testScript)
Test whether the unit test contains TransactSDKUnitTest class.- Parameters:
testScript
- the groovy unit test script to test- Returns:
- true if a TransactSDKUnitTest
-
convertToAbstractJUnitTest
public static String convertToAbstractJUnitTest(String testScript)
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
-
-