Browse Source

REPORT-40472 [回归]修复更新升级还原到以前版本后,还可以还原到以前版本

feature/big-screen
Bryant 4 years ago
parent
commit
27d5ffff59
  1. 4
      designer-base/src/test/java/com/fr/design/update/utils/UpdateFileUtilsTest.java

4
designer-base/src/test/java/com/fr/design/update/utils/FileUtilsTest.java → designer-base/src/test/java/com/fr/design/update/utils/UpdateFileUtilsTest.java

@ -11,11 +11,11 @@ import java.io.File;
* @version 10.0
* Created by Bryant on 2020-09-25
*/
public class FileUtilsTest {
public class UpdateFileUtilsTest {
@Test
public void testListFilteredFiles() {
String[] result = FileUtils.listFilteredFiles("home", "backup");
String[] result = UpdateFileUtils.listFilteredFiles("home", "backup");
Assert.assertEquals(0, result.length);
StableUtils.deleteFile(new File(StableUtils.pathJoin("home")));
}
Loading…
Cancel
Save