}
@Test
- public void getCommentFile() throws URISyntaxException, HttpException, InterruptedException, IOException {
+ public void getCommentFile() throws URISyntaxException, HttpException, InterruptedException, Exception {
final String comm = NORMAL_VIDEO + "comment";
final String tcomm = NORMAL_VIDEO + "tcomment.xml";
File commFile = new File(comm + ".xml");
}
@Test
- public void getCommentFile_Official() throws URISyntaxException, HttpException, InterruptedException, IOException {
+ public void getCommentFile_Official() throws URISyntaxException, HttpException, InterruptedException, Exception {
final String comm = OFFICIAL_VIDEO + "comment";
final String tcomm = OFFICIAL_VIDEO + "tcomment.xml";
File commFile = new File(comm + ".xml");
public class UpdaterTest {
@Test
- public void testUpdate() throws IOException {
+ public void testUpdate() throws Exception {
System.out.println("update");
DBUpdater instance = new DBUpdater();
instance.update();
}
@Test
- public void testSyncAndUpdate() throws IOException {
+ public void testSyncAndUpdate() throws Exception {
DBUpdater updater = new DBUpdater();
updater.sync();
updater.update();