mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-31 23:03:54 +01:00
QuizActivityUnitTest.kt: modified property names to camel case to meet ktlint standard
This commit is contained in:
parent
07e466cf40
commit
b6c943edc6
1 changed files with 3 additions and 3 deletions
|
|
@ -25,8 +25,8 @@ import org.robolectric.annotation.Config
|
||||||
@RunWith(RobolectricTestRunner::class)
|
@RunWith(RobolectricTestRunner::class)
|
||||||
@Config(sdk = [21], application = TestCommonsApplication::class)
|
@Config(sdk = [21], application = TestCommonsApplication::class)
|
||||||
class QuizActivityUnitTest {
|
class QuizActivityUnitTest {
|
||||||
private val SAMPLE_ALERT_TITLE_VALUE = "Title"
|
private val sampleAlertTitleValue = "Title"
|
||||||
private val SAMPLE_ALERT_MESSAGE_VALUE = "Message"
|
private val sampleAlertMessageValue = "Message"
|
||||||
|
|
||||||
private lateinit var activity: QuizActivity
|
private lateinit var activity: QuizActivity
|
||||||
private lateinit var positiveAnswer: Button
|
private lateinit var positiveAnswer: Button
|
||||||
|
|
@ -88,6 +88,6 @@ class QuizActivityUnitTest {
|
||||||
@Test
|
@Test
|
||||||
@Throws(Exception::class)
|
@Throws(Exception::class)
|
||||||
fun testCustomAlert() {
|
fun testCustomAlert() {
|
||||||
activity.customAlert(SAMPLE_ALERT_TITLE_VALUE, SAMPLE_ALERT_MESSAGE_VALUE)
|
activity.customAlert(sampleAlertTitleValue, sampleAlertMessageValue)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue