Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-09-23 10:08:38 +02:00
parent ed90d07a17
commit 5c9f5a5c4f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 5 additions and 0 deletions

View file

@ -32,6 +32,7 @@ class AuthenticatorActivityIT {
}
@Test
@Suppress("TooGenericExceptionCaught")
fun tryCatch() {
val color = try {
Color.parseColor("1")
@ -43,6 +44,7 @@ class AuthenticatorActivityIT {
}
@Test
@Suppress("TooGenericExceptionCaught")
fun tryCatch2() {
val color = try {
Color.parseColor("")
@ -54,6 +56,7 @@ class AuthenticatorActivityIT {
}
@Test
@Suppress("TooGenericExceptionCaught")
fun tryCatch3() {
val color = try {
Color.parseColor(null)
@ -65,6 +68,7 @@ class AuthenticatorActivityIT {
}
@Test
@Suppress("TooGenericExceptionCaught")
fun tryCatch4() {
val color = try {
Color.parseColor("abc")

View file

@ -56,6 +56,7 @@ class AvatarIT : AbstractIT() {
fragment.addAvatar("email@server.com", avatarRadius, width, targetContext)
}
shortSleep()
waitForIdleSync()
screenshot(sut)
}