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 org.truth0.subjects.Subject.java

/**
 * @deprecated use {@link com.google.common.truth.Subject}.
 */
@Deprecated
public class Subject<S extends Subject<S, T>, T> extends com.google.common.truth.Subject<S, T> {

From source file com.pkware.truth.android.app.AbstractServiceSubject.java

public abstract class AbstractServiceSubject<S extends AbstractServiceSubject<S, T>, T extends Service>
        extends Subject<S, T> {
    protected AbstractServiceSubject(FailureStrategy failureStrategy, T subject) {
        super(failureStrategy, subject);
    }
}

From source file com.pkware.truth.android.content.AbstractContextSubject.java

public abstract class AbstractContextSubject<S extends AbstractContextSubject<S, T>, T extends Context>
        extends Subject<S, T> {
    protected AbstractContextSubject(FailureStrategy failureStrategy, T subject) {
        super(failureStrategy, subject);
    }
}

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

/**
 * Truth support for validating File.
 */
public class FileSubject extends Subject<FileSubject, File> {
    public FileSubject(FailureStrategy failureStrategy, File subject) {
        super(failureStrategy, subject);

From source file com.pkware.truth.android.app.AbstractDialogSubject.java

public abstract class AbstractDialogSubject<S extends AbstractDialogSubject<S, T>, T extends Dialog>
        extends Subject<S, T> {
    protected AbstractDialogSubject(FailureStrategy failureStrategy, T subject) {
        super(failureStrategy, subject);
    }

From source file com.pkware.truth.android.view.AbstractViewGroupLayoutParamsSubject.java

public abstract class AbstractViewGroupLayoutParamsSubject<S extends AbstractViewGroupLayoutParamsSubject<S, T>, T extends ViewGroup.LayoutParams>
        extends Subject<S, T> {
    protected AbstractViewGroupLayoutParamsSubject(FailureStrategy failureStrategy, T subject) {
        super(failureStrategy, subject);
    }

From source file com.google.devtools.build.skyframe.CycleInfoSubject.java

/**
 * {@link Subject} for {@link CycleInfo}. Please add to this class if you need more functionality!
 */
public class CycleInfoSubject extends Subject<CycleInfoSubject, CycleInfo> {
    CycleInfoSubject(FailureStrategy failureStrategy, @Nullable CycleInfo cycleInfo) {
        super(failureStrategy, cycleInfo);

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

/**
 * Truth Subject for Java 8 Optional.
 */
@SuppressWarnings("NonBooleanMethodNameMayNotStartWithQuestion")
public class Java8OptionalSubject extends Subject<Java8OptionalSubject, Optional<?>> {

From source file com.github.droibit.plugin.truth.postfix.example.delegation.FooSubject.java

/**
 * A simple example Subject to demonstrate extension.
 *
 * <p>Callers would call {@code assertAbout(foo()).that(foo).matches(bar);}
 * or {@code assertAbout(foo()).that(foo).matchesEither(bar, baz);}
 *

From source file com.google.gerrit.extensions.common.PathSubject.java

public class PathSubject extends Subject<PathSubject, Path> {
    private static final SubjectFactory<PathSubject, Path> PATH_SUBJECT_FACTORY = new SubjectFactory<PathSubject, Path>() {
        @Override
        public PathSubject getSubject(FailureStrategy failureStrategy, Path path) {
            return new PathSubject(failureStrategy, path);
        }