You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
514 B
22 lines
514 B
package com.fr.design.update.utils; |
|
|
|
import com.fr.stable.StableUtils; |
|
import org.junit.Assert; |
|
import org.junit.Test; |
|
|
|
import java.io.File; |
|
|
|
/** |
|
* @author Bryant |
|
* @version 10.0 |
|
* Created by Bryant on 2020-09-25 |
|
*/ |
|
public class UpdateFileUtilsTest { |
|
|
|
@Test |
|
public void testListFilteredFiles() { |
|
String[] result = UpdateFileUtils.listFilteredFiles("home", "backup"); |
|
Assert.assertEquals(0, result.length); |
|
StableUtils.deleteFile(new File(StableUtils.pathJoin("home"))); |
|
} |
|
}
|
|
|