List of usage examples for com.google.common.truth SubjectFactory SubjectFactory
SubjectFactory
From source file:com.pkware.truth.android.telephony.CellIdentityWcdmaSubject.java
public static SubjectFactory<CellIdentityWcdmaSubject, CellIdentityWcdma> type() { return new SubjectFactory<CellIdentityWcdmaSubject, CellIdentityWcdma>() { @Override//from ww w . ja va 2s. c om public CellIdentityWcdmaSubject getSubject(FailureStrategy fs, CellIdentityWcdma that) { return new CellIdentityWcdmaSubject(fs, that); } }; }
From source file:com.pkware.truth.android.app.InstrumentationActivityMonitorSubject.java
public static SubjectFactory<InstrumentationActivityMonitorSubject, Instrumentation.ActivityMonitor> type() { return new SubjectFactory<InstrumentationActivityMonitorSubject, Instrumentation.ActivityMonitor>() { @Override/*from www . j a v a2s. c o m*/ public InstrumentationActivityMonitorSubject getSubject(FailureStrategy fs, Instrumentation.ActivityMonitor that) { return new InstrumentationActivityMonitorSubject(fs, that); } }; }
From source file:com.pkware.truth.android.util.SparseIntArraySubject.java
public static SubjectFactory<SparseIntArraySubject, SparseIntArray> type() { return new SubjectFactory<SparseIntArraySubject, SparseIntArray>() { @Override/* w w w.j av a 2 s . c o m*/ public SparseIntArraySubject getSubject(FailureStrategy fs, SparseIntArray that) { return new SparseIntArraySubject(fs, that); } }; }
From source file:com.android.tools.idea.gradle.project.sync.LibraryDependenciesSubject.java
@NotNull public static SubjectFactory<LibraryDependenciesSubject, Module> libraryDependencies() { return new SubjectFactory<LibraryDependenciesSubject, Module>() { @Override/*w w w.j a va2 s .co m*/ public LibraryDependenciesSubject getSubject(FailureStrategy failureStrategy, @Nullable Module subject) { return new LibraryDependenciesSubject(failureStrategy, subject); } }; }
From source file:com.pkware.truth.android.os.BundleSubject.java
public static SubjectFactory<BundleSubject, Bundle> type() { return new SubjectFactory<BundleSubject, Bundle>() { @Override//from w w w . j av a 2 s .c o m public BundleSubject getSubject(FailureStrategy fs, Bundle that) { return new BundleSubject(fs, that); } }; }
From source file:com.pkware.truth.android.util.LongSparseArraySubject.java
public static SubjectFactory<LongSparseArraySubject, LongSparseArray> type() { return new SubjectFactory<LongSparseArraySubject, LongSparseArray>() { @Override/* w w w . j a v a 2 s .c o m*/ public LongSparseArraySubject getSubject(FailureStrategy fs, LongSparseArray that) { return new LongSparseArraySubject(fs, that); } }; }
From source file:com.pkware.truth.android.database.sqlite.SqliteDatabaseSubject.java
public static SubjectFactory<SqliteDatabaseSubject, SQLiteDatabase> type() { return new SubjectFactory<SqliteDatabaseSubject, SQLiteDatabase>() { @Override/*from ww w . jav a 2s. co m*/ public SqliteDatabaseSubject getSubject(FailureStrategy fs, SQLiteDatabase that) { return new SqliteDatabaseSubject(fs, that); } }; }
From source file:com.pkware.truth.android.view.MenuItemSubject.java
public static SubjectFactory<MenuItemSubject, MenuItem> type() { return new SubjectFactory<MenuItemSubject, MenuItem>() { @Override// w ww . j a v a 2 s.c o m public MenuItemSubject getSubject(FailureStrategy fs, MenuItem that) { return new MenuItemSubject(fs, that); } }; }
From source file:com.pkware.truth.android.telephony.CellInfoCdmaSubject.java
public static SubjectFactory<CellInfoCdmaSubject, CellInfoCdma> type() { return new SubjectFactory<CellInfoCdmaSubject, CellInfoCdma>() { @Override/* www.ja v a 2s .c om*/ public CellInfoCdmaSubject getSubject(FailureStrategy fs, CellInfoCdma that) { return new CellInfoCdmaSubject(fs, that); } }; }
From source file:com.pkware.truth.android.util.SparseLongArraySubject.java
public static SubjectFactory<SparseLongArraySubject, SparseLongArray> type() { return new SubjectFactory<SparseLongArraySubject, SparseLongArray>() { @Override/*from ww w . ja va2 s . c o m*/ public SparseLongArraySubject getSubject(FailureStrategy fs, SparseLongArray that) { return new SparseLongArraySubject(fs, that); } }; }