mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
svn: Improve test performance - do not create unused test files
This commit is contained in:
+1
-3
@@ -227,10 +227,8 @@ public class SvnChangesCorrectlyRefreshedTest extends SvnTestCase {
|
||||
assertVF(subTree.mySourceDir, "s1.txt");
|
||||
assertVF(subTree.myRootDir, "target");
|
||||
|
||||
assertVF(subTree.myTargetDir, "t10.txt");
|
||||
assertVF(subTree.myTargetDir, "t11.txt");
|
||||
assertVF(subTree.myTargetDir, "t13.txt");
|
||||
assertVF(subTree.myTargetDir, "t14.txt");
|
||||
assertVF(subTree.myTargetDir, "t15.txt");
|
||||
|
||||
changeListManager.ensureUpToDate(false);
|
||||
checkFilesAreInList(VirtualFile.EMPTY_ARRAY, changeListManager.getDefaultListName(), changeListManager);
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ public class SvnExternalCommitNoticedTest extends SvnTestCase {
|
||||
|
||||
renameFileInCommand(tree.myTargetDir, "aabbcc");
|
||||
refreshChanges();
|
||||
assertChanges(11);
|
||||
assertChanges(tree.myTargetFiles.size() + 1);
|
||||
|
||||
checkin();
|
||||
|
||||
|
||||
@@ -320,7 +320,7 @@ public abstract class SvnTestCase extends AbstractJunitVcsTestCase {
|
||||
|
||||
myTargetDir = findChild(myRootDir, "target", null, create);
|
||||
myTargetFiles.clear();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
myTargetFiles.add(findChild(myTargetDir, "t" + (i + 10) + ".txt", ourS1Contents, create));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user