Rename some exceptions to ignored since we don't care about them

This commit is contained in:
jvoisin
2019-11-23 15:50:22 +01:00
parent 1651e14bf5
commit af97925124
2 changed files with 4 additions and 4 deletions
@@ -45,17 +45,17 @@ public class HLSControllerTestCase extends TestCase {
try {
controller.parseBitRate("asdfl");
fail();
} catch (IllegalArgumentException e) {
} catch (IllegalArgumentException ignored) {
}
try {
controller.parseBitRate("1000@300");
fail();
} catch (IllegalArgumentException e) {
} catch (IllegalArgumentException ignored) {
}
try {
controller.parseBitRate("1000@300x400ZZ");
fail();
} catch (IllegalArgumentException e) {
} catch (IllegalArgumentException ignored) {
}
}
@@ -169,7 +169,7 @@ public class UserDaoTestCase extends DaoTestCaseBean2 {
try {
userDao.updateUserSettings(new UserSettings("sindre"));
fail("Expected DataIntegrityViolationException.");
} catch (DataIntegrityViolationException x) {
} catch (DataIntegrityViolationException ignored) {
}
userDao.createUser(new User("sindre", "secret", null));