com.pkware.truth.android.playservices.Assertions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truth-android-play-services Show documentation
Show all versions of truth-android-play-services Show documentation
A set of Truth subjects geared toward testing Android.
// Copyright 2016 PKWARE, Inc.
//
// This class is generated. Do not modify directly!
package com.pkware.truth.android.playservices;
import com.google.common.truth.SubjectFactory;
import static com.google.common.truth.Truth.assertAbout;
/** Assertions for testing Android classes. */
@SuppressWarnings("deprecation")
public final class Assertions {
public static com.pkware.truth.android.playservices.location.ActivityRecognitionResultSubject assertThat(
com.google.android.gms.location.ActivityRecognitionResult target) {
SubjectFactory type = com.pkware.truth.android.playservices.location.ActivityRecognitionResultSubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.location.DetectedActivitySubject assertThat(
com.google.android.gms.location.DetectedActivity target) {
SubjectFactory type = com.pkware.truth.android.playservices.location.DetectedActivitySubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.location.LocationRequestSubject assertThat(
com.google.android.gms.location.LocationRequest target) {
SubjectFactory type = com.pkware.truth.android.playservices.location.LocationRequestSubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.maps.CameraPositionSubject assertThat(
com.google.android.gms.maps.model.CameraPosition target) {
SubjectFactory type = com.pkware.truth.android.playservices.maps.CameraPositionSubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.maps.GoogleMapSubject assertThat(
com.google.android.gms.maps.GoogleMap target) {
SubjectFactory type = com.pkware.truth.android.playservices.maps.GoogleMapSubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.maps.MarkerSubject assertThat(
com.google.android.gms.maps.model.Marker target) {
SubjectFactory type = com.pkware.truth.android.playservices.maps.MarkerSubject.type();
return assertAbout(type).that(target);
}
public static com.pkware.truth.android.playservices.maps.UiSettingsSubject assertThat(
com.google.android.gms.maps.UiSettings target) {
SubjectFactory type = com.pkware.truth.android.playservices.maps.UiSettingsSubject.type();
return assertAbout(type).that(target);
}
private Assertions() {
throw new AssertionError("No instances.");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy