mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
ed90d07a17
commit
5c9f5a5c4f
2 changed files with 5 additions and 0 deletions
|
@ -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")
|
||||
|
|
|
@ -56,6 +56,7 @@ class AvatarIT : AbstractIT() {
|
|||
fragment.addAvatar("email@server.com", avatarRadius, width, targetContext)
|
||||
}
|
||||
|
||||
shortSleep()
|
||||
waitForIdleSync()
|
||||
screenshot(sut)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue