Skip to content

Commit

Permalink
FIxed ktlintCheck Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Smarshal21 committed Sep 19, 2023
1 parent 8913b0f commit 5893156
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions app/src/test/java/com/nextcloud/talk/utils/BundleKeysTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class BundleKeysTest {
assertEquals("KEY_INVITED_GROUP", BundleKeys.KEY_INVITED_GROUP)
assertEquals("KEY_INVITED_EMAIL", BundleKeys.KEY_INVITED_EMAIL)
}

@Test
fun testBundleKeysValues2() {
assertEquals("KEY_CONVERSATION_NAME", BundleKeys.KEY_CONVERSATION_NAME)
Expand All @@ -80,10 +81,14 @@ class BundleKeysTest {
assertEquals("KEY_SYSTEM_NOTIFICATION_ID", BundleKeys.KEY_SYSTEM_NOTIFICATION_ID)
assertEquals("KEY_MESSAGE_ID", BundleKeys.KEY_MESSAGE_ID)
assertEquals("KEY_MIME_TYPE_FILTER", BundleKeys.KEY_MIME_TYPE_FILTER)
assertEquals("KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_AUDIO",
BundleKeys.KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_AUDIO)
assertEquals("KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_VIDEO",
BundleKeys.KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_VIDEO)
assertEquals(
"KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_AUDIO",
BundleKeys.KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_AUDIO
)
assertEquals(
"KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_VIDEO",
BundleKeys.KEY_PARTICIPANT_PERMISSION_CAN_PUBLISH_VIDEO
)
assertEquals("KEY_IS_MODERATOR", BundleKeys.KEY_IS_MODERATOR)
assertEquals("KEY_SWITCH_TO_ROOM", BundleKeys.KEY_SWITCH_TO_ROOM)
assertEquals("KEY_START_CALL_AFTER_ROOM_SWITCH", BundleKeys.KEY_START_CALL_AFTER_ROOM_SWITCH)
Expand Down
1 change: 0 additions & 1 deletion app/src/test/java/com/nextcloud/talk/utils/UriUtilsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class UriUtilsTest {

@Test
fun testHasHttpProtocolPrefixed() {

val uriHttp = "http://www.example.com"
val resultHttp = UriUtils.hasHttpProtocollPrefixed(uriHttp)
Assert.assertTrue(resultHttp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class PeerConnectionNotifierTest {
private var observer1: PeerConnectionObserver? = null
private var observer2: PeerConnectionObserver? = null
private var mockStream: MediaStream? = null

@Before
fun setUp() {
notifier = PeerConnectionNotifier()
Expand Down

0 comments on commit 5893156

Please sign in to comment.