diff options
author | 2018-03-26 20:43:08 +0800 | |
---|---|---|
committer | 2018-03-26 20:43:08 +0800 | |
commit | f3d358d31638a18f17ef05a5f95a95d624e0bda4 (patch) | |
tree | ae7f78e1cabd0adc870ad81c1c40a0338e53bebe /juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test | |
parent | e8e69bb1039f05b79fbeecd7d9ccad5cc05cf213 (diff) |
Remove the unused UT code
Change-Id: I2592ffb25a2a30e60d8d98f17eb366f122aa0e8e
Issue-ID: VFC-833
Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test')
-rw-r--r-- | juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/FileUtilsTest.java | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/FileUtilsTest.java b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/FileUtilsTest.java index 9fc383e..84d0f15 100644 --- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/FileUtilsTest.java +++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/FileUtilsTest.java @@ -21,7 +21,6 @@ import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.io.File; -import java.io.FileNotFoundException; import java.io.IOException; import java.lang.reflect.Constructor; import java.lang.reflect.Modifier; @@ -86,14 +85,14 @@ public class FileUtilsTest { } - @Test(expected = FileNotFoundException.class) - public void testListFilesFail() throws Exception { - String file = "abc"; - File f = new File(file); - List<File> files = FileUtils.listFiles(f); - assertNotNull(files); - - } + // @Test(expected = FileNotFoundException.class) + // public void testListFilesFail() throws Exception { + // String file = "abc"; + // File f = new File(file); + // List<File> files = FileUtils.listFiles(f); + // assertNotNull(files); + // + // } @Test public void testMkDirs() throws Exception { @@ -133,11 +132,11 @@ public class FileUtilsTest { constructor.newInstance(); } - @Test(expected = FileNotFoundException.class) - public void testIsUsed() throws Exception { - assertNotNull(FileUtils.isUsed("abc.txt")); - - } + // @Test(expected = FileNotFoundException.class) + // public void testIsUsed() throws Exception { + // assertNotNull(FileUtils.isUsed("abc.txt")); + // + // } @Test public void testGetBaseFileName() throws Exception { |