/** Test of getFileList method, of class RestGateWay. */ @Test public void testGetFileList_0args() { System.out.println("getFileList"); RestGateWay instance = new RestGateWay(); String expResult = ""; String result = instance.getFileList(); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of putUpload method, of class RestGateWay. */ @Test public void testPutUpload() { System.out.println("putUpload"); String filePath = ""; RestGateWay instance = new RestGateWay(); String expResult = ""; String result = instance.putUpload(filePath); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of deleteFile method, of class RestGateWay. */ @Test public void testDeleteFile_String() { System.out.println("deleteFile"); String file = ""; RestGateWay instance = new RestGateWay(); String expResult = ""; String result = instance.deleteFile(file); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of getFileListJSON method, of class RestGateWay. */ @Test public void testGetFileListJSON() { System.out.println("getFileListJSON"); String dir = ""; RestGateWay instance = new RestGateWay(); FTPFile[] expResult = null; FTPFile[] result = instance.getFileListJSON(dir); assertArrayEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of postSignIn method, of class RestGateWay. */ @Test public void testPostSignIn() { System.out.println("postSignIn"); String user = ""; String password = ""; RestGateWay instance = new RestGateWay(); String expResult = ""; // appel a la methode static pour get le html ; String result = instance.postSignIn(user, password); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of getFile method, of class RestGateWay. */ @Test public void testGetFile() { System.out.println("getFile"); String dir = ""; String fileName = ""; RestGateWay instance = new RestGateWay(); Response expResult = null; Response result = instance.getFile(dir, fileName); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of upload method, of class RestGateWay. */ @Test public void testUpload() { System.out.println("upload"); InputStream file = null; FormDataContentDisposition fileDetail = null; String dir = ""; RestGateWay instance = new RestGateWay(); String expResult = ""; String result = instance.upload(file, fileDetail, dir); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }