J2K tests paths fixed
This commit is contained in:
@@ -31,7 +31,7 @@ public class StandaloneJavaToKotlinConverterTest extends TestCase {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void runTest() throws Throwable {
|
protected void runTest() throws Throwable {
|
||||||
String javaPath = "j2k/testData" + File.separator + getTestFilePath();
|
String javaPath = "j2k/tests/testData" + File.separator + getTestFilePath();
|
||||||
String kotlinPath = javaPath.replace(".jav", ".kt");
|
String kotlinPath = javaPath.replace(".jav", ".kt");
|
||||||
|
|
||||||
final File kotlinFile = new File(kotlinPath);
|
final File kotlinFile = new File(kotlinPath);
|
||||||
@@ -87,7 +87,7 @@ public class StandaloneJavaToKotlinConverterTest extends TestCase {
|
|||||||
@NotNull
|
@NotNull
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
TestSuite suite = new TestSuite();
|
TestSuite suite = new TestSuite();
|
||||||
suite.addTest(TestCaseBuilder.suiteForDirectory("j2k/testData", "/ast", new TestCaseBuilder.NamedTestFactory() {
|
suite.addTest(TestCaseBuilder.suiteForDirectory("j2k/tests/testData", "/ast", new TestCaseBuilder.NamedTestFactory() {
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public Test createTest(@NotNull String dataPath, @NotNull String name) {
|
public Test createTest(@NotNull String dataPath, @NotNull String name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user