diff --git a/app/src/androidTest/java/ch/sdp/vibester/GenreTemporaryTest.kt b/app/src/androidTest/java/ch/sdp/vibester/GenreTemporaryTest.kt index da50ebd09..b2d7bf879 100644 --- a/app/src/androidTest/java/ch/sdp/vibester/GenreTemporaryTest.kt +++ b/app/src/androidTest/java/ch/sdp/vibester/GenreTemporaryTest.kt @@ -34,7 +34,7 @@ class GenreTemporaryTest { } @Test - fun GenreLayoutIsDisplayed() { + fun genreLayoutIsDisplayed() { onView(withId(R.id.rockButton)).check(matches(isDisplayed())) onView(withId(R.id.kpopButton)).check(matches(isDisplayed())) onView(withId(R.id.topTracksButton)).check(matches(isDisplayed())) diff --git a/app/src/main/java/ch/sdp/vibester/activity/LyricsBelongGameActivity.kt b/app/src/main/java/ch/sdp/vibester/activity/LyricsBelongGameActivity.kt index 4a42f68b8..32689f53d 100644 --- a/app/src/main/java/ch/sdp/vibester/activity/LyricsBelongGameActivity.kt +++ b/app/src/main/java/ch/sdp/vibester/activity/LyricsBelongGameActivity.kt @@ -53,11 +53,17 @@ class LyricsBelongGameActivity : AppCompatActivity() { } } + /** + * display the given String in lyricResult + */ private fun updateSpeechResult(speechInput: String) { findViewById(R.id.lyricResult).text = speechInput findViewById