QuizActivityUnitTest.kt: modified property names to camel case to meet ktlint standard

This commit is contained in:
tristan81 2024-09-18 20:29:02 +10:00
parent 07e466cf40
commit b6c943edc6

View file

@ -25,8 +25,8 @@ import org.robolectric.annotation.Config
@RunWith(RobolectricTestRunner::class)
@Config(sdk = [21], application = TestCommonsApplication::class)
class QuizActivityUnitTest {
private val SAMPLE_ALERT_TITLE_VALUE = "Title"
private val SAMPLE_ALERT_MESSAGE_VALUE = "Message"
private val sampleAlertTitleValue = "Title"
private val sampleAlertMessageValue = "Message"
private lateinit var activity: QuizActivity
private lateinit var positiveAnswer: Button
@ -88,6 +88,6 @@ class QuizActivityUnitTest {
@Test
@Throws(Exception::class)
fun testCustomAlert() {
activity.customAlert(SAMPLE_ALERT_TITLE_VALUE, SAMPLE_ALERT_MESSAGE_VALUE)
activity.customAlert(sampleAlertTitleValue, sampleAlertMessageValue)
}
}