Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright (C) 2013 The Android Open Source Project
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
Base interface for Remote CI Servers.
public abstract class TestServer {

Returns the name of the server. Must be unique, not contain spaces, and start with a lower case.

the name of the provider.
    public abstract String getName();

Uploads the APKs to the server.

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 void uploadApks(@NonNull String variantName,
                                    @NonNull File testApk, @Nullable File testedApk);

Returns true if the server is configured and able to run.

if the server is configured.
    public abstract boolean isConfigured();
New to GrepCode? Check out our FAQ X