mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-03 16:23: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)
|
||||
@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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue