mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copy testdata for FormMergerTreeStructureProviderTest
This commit is contained in:
@@ -53,7 +53,7 @@ import java.io.File;
|
||||
super.setUp();
|
||||
myTempDirectory = FileUtil.createTempDirectory(getTestName(true), "test");
|
||||
myFilesToDelete.add(getTestContentFile());
|
||||
final File testRoot = new File(PathManagerEx.getTestDataPath(), getTestPath());
|
||||
final File testRoot = new File(getTestDataPath(), getTestPath());
|
||||
assertTrue(testRoot.getAbsolutePath(), testRoot.isDirectory());
|
||||
|
||||
final File currentTestRoot = new File(testRoot, getTestDirectoryName());
|
||||
@@ -69,6 +69,10 @@ import java.io.File;
|
||||
|
||||
}
|
||||
|
||||
protected String getTestDataPath() {
|
||||
return PathManagerEx.getTestDataPath();
|
||||
}
|
||||
|
||||
protected abstract String getTestPath();
|
||||
|
||||
private File getTestContentFile() {
|
||||
|
||||
Reference in New Issue
Block a user