@Test(timeout=10000L) public void TestDeleteBoxFolder() throws QblStorageException, IOException, InterruptedException { initTreeTable(); BoxFolder folder = nav.listFolders().get(0); controller.deleteBoxObject(ButtonType.OK, testFolder, folder); executeTransactions(); assertThat(controller.nav.listFolders().size(), is(0)); assertThat(controller.nav.listFiles().size(), is(0)); }
void deleteBoxObject(ButtonType confim, BoxPath path, BoxObject object) throws QblStorageException { if (confim != ButtonType.OK) { return; } transferManager.addUpload(new ManualUpload(DELETE, volume, null, path, object instanceof BoxFolder)); }
RemoteFSController extends AbstractController implements Initializable { void deleteBoxObject(ButtonType confim, BoxPath path, BoxObject object) throws QblStorageException { if (confim != ButtonType.OK) { return; } transferManager.addUpload(new ManualUpload(DELETE, volume, null, path, object instanceof BoxFolder)); } }
RemoteFSController extends AbstractController implements Initializable { void deleteBoxObject(ButtonType confim, BoxPath path, BoxObject object) throws QblStorageException { if (confim != ButtonType.OK) { return; } transferManager.addUpload(new ManualUpload(DELETE, volume, null, path, object instanceof BoxFolder)); }  }
RemoteFSController extends AbstractController implements Initializable { void deleteBoxObject(ButtonType confim, BoxPath path, BoxObject object) throws QblStorageException { if (confim != ButtonType.OK) { return; } transferManager.addUpload(new ManualUpload(DELETE, volume, null, path, object instanceof BoxFolder)); }  @Override void initialize(URL location, ResourceBundle resources); }
RemoteFSController extends AbstractController implements Initializable { void deleteBoxObject(ButtonType confim, BoxPath path, BoxObject object) throws QblStorageException { if (confim != ButtonType.OK) { return; } transferManager.addUpload(new ManualUpload(DELETE, volume, null, path, object instanceof BoxFolder)); }  @Override void initialize(URL location, ResourceBundle resources); static final int OPTION_EDGE_SIZE; }