Skip to content

Commit 576bd41

Browse files
committed
CHG replace usage of TODO() with UnsupportedOperationException
1 parent 549cea5 commit 576bd41

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/test/java/com/baloise/confluence/digitalsignature/DigitalSignatureMacroTest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,19 @@ internal class DigitalSignatureMacroTest {
102102
override fun getEmail(): String = userEmail
103103

104104
override fun getUserKey(): UserKey {
105-
TODO("Not yet implemented")
105+
throw UnsupportedOperationException("Not yet implemented")
106106
}
107107
override fun getUsername(): String {
108-
TODO("Not yet implemented")
108+
throw UnsupportedOperationException("Not yet implemented")
109109
}
110110
override fun getProfilePictureUri(p0: Int, p1: Int): URI {
111-
TODO("Not yet implemented")
111+
throw UnsupportedOperationException("Not yet implemented")
112112
}
113113
override fun getProfilePictureUri(): URI {
114-
TODO("Not yet implemented")
114+
throw UnsupportedOperationException("Not yet implemented")
115115
}
116116
override fun getProfilePageUri(): URI {
117-
TODO("Not yet implemented")
117+
throw UnsupportedOperationException("Not yet implemented")
118118
}
119119
}
120120
}

src/test/java/com/baloise/confluence/digitalsignature/UserProfileByNameTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ internal class UserProfileByNameTest {
2828
override fun getEmail(): String = userEmail
2929

3030
override fun getUserKey(): UserKey {
31-
TODO("Not yet implemented")
31+
throw UnsupportedOperationException("Not yet implemented")
3232
}
3333
override fun getProfilePictureUri(p0: Int, p1: Int): URI {
34-
TODO("Not yet implemented")
34+
throw UnsupportedOperationException("Not yet implemented")
3535
}
3636
override fun getProfilePictureUri(): URI {
37-
TODO("Not yet implemented")
37+
throw UnsupportedOperationException("Not yet implemented")
3838
}
3939
override fun getProfilePageUri(): URI {
40-
TODO("Not yet implemented")
40+
throw UnsupportedOperationException("Not yet implemented")
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)