/** * CopyRight by Chinamobile */ package com.chinamobile.bcbsp.test.fault.browse; import com.chinamobile.bcbsp.fault.browse.GetFile; import static org.junit.Assert.*; import java.io.IOException; import org.junit.Ignore; import org.junit.Test; public class GetFileTest { GetFile gf ; public void setUp() throws IOException, InterruptedException { //localRecordPath = "/usr/local/mayue",hdfsRecordPath ="/user/input" gf = new GetFile("/usr/local/mayue","/user/input"); gf.setHdfsLocalDir("hdfsLocalDir"); } @Test @Ignore("GetFile(): to be tested") public void testGetFile() { } @Test @Ignore("GetFile1(): to be tested") public void testGetFile1() { } @Test @Ignore("DeletehdfsDir(): to be tested") public void testDeletehdfsDir() { } @Test @Ignore("Del(): to be tested") public void testDel() { } @Test @Ignore("GetHdfsLocalDir(): to be tested") public void testGetHdfsLocalDir() { assertEquals("testGetHdfsLocalDir","hdfsLocalDir",gf.getHdfsLocalDir()); } @Test @Ignore("GetDirRecord(): to be tested") public void testGetDirRecord() { } }