Example usage for com.google.common.truth Subject subclass-usage

List of usage examples for com.google.common.truth Subject subclass-usage

Introduction

In this page you can find the example usage for com.google.common.truth Subject subclass-usage.

Usage

From source file dagger.internal.codegen.DaggerModuleMethodSubject.java

/** A {@link Truth} subject for testing Dagger module methods. */
final class DaggerModuleMethodSubject extends Subject<DaggerModuleMethodSubject, String> {

    /** A {@link Truth} subject factory for testing Dagger module methods. */
    static final class Factory extends SubjectFactory<DaggerModuleMethodSubject, String> {

From source file com.pkware.truth.android.widget.ListPopupWindowSubject.java

/**
 * Propositions for {@link ListPopupWindow} subjects.
 */
public class ListPopupWindowSubject extends Subject<ListPopupWindowSubject, ListPopupWindow> {
    protected ListPopupWindowSubject(FailureStrategy failureStrategy, ListPopupWindow subject) {
        super(failureStrategy, subject);

From source file com.pkware.truth.android.gesture.GestureOverlayViewSubject.java

/**
 * Propositions for {@link GestureOverlayView} subjects.
 */
public class GestureOverlayViewSubject extends Subject<GestureOverlayViewSubject, GestureOverlayView> {
    protected GestureOverlayViewSubject(FailureStrategy failureStrategy, GestureOverlayView subject) {
        super(failureStrategy, subject);

From source file com.google.javascript.jscomp.ScopeSubject.java

/**
 * A Truth Subject for the AbstractScope class. Usage:
 *
 * <pre>
 *   import static com.google.javascript.jscomp.testing.ScopeSubject.assertScope;
 *   ...

From source file com.android.build.gradle.integration.common.truth.AbstractZipSubject.java

/**
 * Truth support for zip files.
 */
public abstract class AbstractZipSubject<T extends Subject<T, File>> extends Subject<T, File> {
    private ZipFile zip;

From source file com.google.devtools.build.android.PathsSubject.java

/**
 * A testing utility that allows assertions against Paths.
 */
class PathsSubject extends Subject<PathsSubject, Path> {

    PathsSubject(FailureStrategy failureStrategy, @Nullable Path subject) {

From source file org.sosy_lab.solver.test.BooleanFormulaSubject.java

/**
 * {@link Subject} subclass for testing assertions about BooleanFormulas with Truth
 * (allows to use <code>assert_().about(...).that(formula).isUnsatisfiable()</code> etc.).
 *
 * Use {@link SolverBasedTest0#BooleanFormula()}
 * or {@link SolverBasedTest0#BooleanFormulaOfSolver(FormulaManagerFactory)}

From source file com.google.testing.compile.JavaFileObjectSubject.java

/** Assertions about {@link JavaFileObject}s. */
public final class JavaFileObjectSubject extends Subject<JavaFileObjectSubject, JavaFileObject> {

    private static final SubjectFactory<JavaFileObjectSubject, JavaFileObject> FACTORY = new JavaFileObjectSubjectFactory();

    /** Returns a {@link SubjectFactory} for {@link JavaFileObjectSubject}s. */

From source file com.pkware.truth.android.bluetooth.BluetoothDeviceSubject.java

/**
 * Propositions for {@link BluetoothDevice} subjects.
 */
@SuppressWarnings("MissingPermission")
public class BluetoothDeviceSubject extends Subject<BluetoothDeviceSubject, BluetoothDevice> {

From source file com.pkware.truth.android.playservices.location.DetectedActivitySubject.java

/**
 * Propositions for {@link DetectedActivity} subjects.
 */
public class DetectedActivitySubject extends Subject<DetectedActivitySubject, DetectedActivity> {
    protected DetectedActivitySubject(FailureStrategy failureStrategy, DetectedActivity subject) {
        super(failureStrategy, subject);