All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wtf.emulator.data.RunResultsSummary Maven / Gradle / Ivy

Go to download

With this Gradle plugin you can run your Android instrumentation tests with emulator.wtf

The newest version!
package wtf.emulator.data;

import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;

import javax.annotation.Nullable;

@AutoValue public abstract class RunResultsSummary {
  public abstract RunResult runResult();
  public abstract TestCounts counts();
  @Nullable public abstract String error();
  @Nullable public abstract TestFailure firstFailure();

  public static Builder builder() {
    return new AutoValue_RunResultsSummary.Builder();
  }

  @AutoValue.Builder
  public abstract static class Builder {
    public abstract Builder runResult(RunResult runResult);
    public abstract Builder counts(TestCounts counts);
    public abstract Builder error(String error);
    public abstract Builder firstFailure(TestFailure firstFailure);
    public abstract RunResultsSummary build();
  }

  public static TypeAdapter typeAdapter(Gson gson) {
    return new AutoValue_RunResultsSummary.GsonTypeAdapter(gson);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy