forked from upstream-mirrors/quik
Set up JUnit
This commit is contained in:
@@ -55,5 +55,7 @@ dependencies {
|
||||
kapt "com.google.dagger:dagger-compiler:2.11"
|
||||
kapt 'io.realm:realm-annotations:4.1.1'
|
||||
kapt 'io.realm:realm-annotations-processor:4.1.1'
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
||||
provided 'javax.annotation:jsr250-api:1.0'
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.moez.QKSMS
|
||||
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
import org.junit.runners.JUnit4
|
||||
|
||||
@RunWith(JUnit4::class)
|
||||
class JUnitTest {
|
||||
|
||||
@Test
|
||||
fun twoPlusTwoEqualsFour() {
|
||||
assert(2 + 2 == 4)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user