-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The instrumentation tests still fail due to known issue #1.
- Loading branch information
1 parent
d60b2f0
commit 326d4e4
Showing
6 changed files
with
42 additions
and
47 deletions.
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
33 changes: 33 additions & 0 deletions
33
aap-guitarix/src/androidTest/java/org/androidaudioplugin/aap_guitarix/PluginTest.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,33 @@ | ||
package org.androidaudioplugin.aap_mda_lv2 | ||
|
||
import android.content.Context | ||
import androidx.test.core.app.ApplicationProvider | ||
import androidx.test.platform.app.InstrumentationRegistry | ||
import androidx.test.rule.ServiceTestRule | ||
import org.androidaudioplugin.AudioPluginHostHelper | ||
import org.androidaudioplugin.androidaudioplugin.testing.AudioPluginServiceTesting | ||
import org.junit.Rule | ||
import org.junit.Test | ||
|
||
class PluginTest { | ||
private val applicationContext = ApplicationProvider.getApplicationContext<Context>() | ||
private val testing = AudioPluginServiceTesting(applicationContext) | ||
@get:Rule | ||
val serviceRule = ServiceTestRule() | ||
|
||
@Test | ||
fun getPluginServiceInfo() { | ||
testing.getPluginServiceInfo() | ||
} | ||
|
||
@Test | ||
fun basicServiceOperationsForAllPlugins() { | ||
testing.basicServiceOperationsForAllPlugins() | ||
} | ||
|
||
@Test | ||
fun repeatDirectServieOperations() { | ||
for (i in 0 until 5) | ||
basicServiceOperationsForAllPlugins() | ||
} | ||
} |
24 changes: 0 additions & 24 deletions
24
...ix/src/androidTest/java/org/androidaudioplugin/aappluginsample/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
aap-guitarix/src/test/java/org/androidaudioplugin/aappluginsample/ExampleUnitTest.kt
This file was deleted.
Oops, something went wrong.
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
Submodule aap-lv2
updated
16 files