-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
complete android github actions test
- Loading branch information
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
NoiseCapture/src/androidUnitTest/kotlin/org/noise_planet/noisecapture/Test.android.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.noise_planet.noisecapture | ||
|
||
import Greeting | ||
import org.junit.Assert.assertTrue | ||
import org.junit.Test | ||
|
||
class AndroidGreetingTest { | ||
|
||
@Test | ||
fun testExample() { | ||
assertTrue("Check Android is mentioned", Greeting().greet().contains("Android")) | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
NoiseCapture/src/iosTest/kotlin/org/noise_planet/noisecapture/Test.ios.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.noise_planet.noisecapture | ||
|
||
import Greeting | ||
import kotlin.test.Test | ||
import kotlin.test.assertTrue | ||
|
||
class IosGreetingTest { | ||
|
||
@Test | ||
fun testExample() { | ||
assertTrue(Greeting().greet().contains("iOS"), "Check iOS is mentioned") | ||
} | ||
} |