Skip to content
Snippets Groups Projects
Commit 2db220d5 authored by jakubs's avatar jakubs
Browse files

SSDM-1939: Let jython recovery tests run also on jython 2.7

SVN: 34363
parent 0de9caff
No related branches found
No related tags found
No related merge requests found
......@@ -293,8 +293,7 @@ public abstract class AbstractJythonDataSetHandlerTest extends AbstractFileSyste
}
/**
* adds an extension to the Jython Path, so that all libraries in it will be visible to the
* Jython environment.
* adds an extension to the Jython Path, so that all libraries in it will be visible to the Jython environment.
*/
protected void extendJythonLibPath(String pathExtension)
{
......@@ -545,7 +544,7 @@ public abstract class AbstractJythonDataSetHandlerTest extends AbstractFileSyste
}
private static final String[] registrationDirectories =
{ "1", "pre-commit", "staging", "pre-staging" };
{ "1", "pre-commit", "staging", "pre-staging" };
/**
* Simulate the file system becoming unavailable
......
......@@ -76,6 +76,13 @@ public class JythonDropboxRecoveryTest extends AbstractJythonDataSetHandlerTest
public Object[][] recoveryTestCasesArray()
{
LinkedList<RecoveryTestCase> testCases = recoveryTestCases();
LinkedList<RecoveryTestCase> testCasesWithJython27 = recoveryTestCases();
for (RecoveryTestCase recoveryTestCase : testCasesWithJython27)
{
recoveryTestCase.overrideProperties.put("jython-version", "2.7");
recoveryTestCase.title += " @ jython 2.7";
}
testCases.addAll(testCasesWithJython27);
// result value
Object[][] resultsList = new Object[testCases.size()][];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment