@Beta
public abstract class TestServer
extends java.lang.Object
| Constructor and Description |
|---|
TestServer() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getName()
Returns the name of the server.
|
abstract boolean |
isConfigured()
Returns true if the server is configured and able to run.
|
abstract void |
uploadApks(java.lang.String variantName,
java.io.File testApk,
java.io.File testedApk)
Uploads the APKs to the server.
|
@NonNull public abstract java.lang.String getName()
public abstract void uploadApks(@NonNull
java.lang.String variantName,
@NonNull
java.io.File testApk,
@Nullable
java.io.File testedApk)
variantName - the name of the variant being tested.testApk - the APK containing the tests.testedApk - the APK to be tested. This is optional in case the test apk is self-tested.public abstract boolean isConfigured()