|
|
|
@ -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"))); |
|
|
|
|
} |