FileDocCategorySizeDatePackage
ImportTestResolver.javaAPI DocAndroid 5.1 API1896Thu Mar 12 22:22:54 GMT 2015com.android.vcard.tests.testutils

ImportTestResolver

public class ImportTestResolver extends android.test.mock.MockContentResolver

Fields Summary
private final ImportTestProvider
mProvider
Constructors Summary
public ImportTestResolver(android.test.AndroidTestCase androidTestCase)

        mProvider = new ImportTestProvider();
    
Methods Summary
public voidaddExpectedContentValues(android.content.ContentValues expectedContentValues)

        mProvider.addExpectedContentValues(expectedContentValues);
    
public android.content.ContentProviderResult[]applyBatch(java.lang.String authority, java.util.ArrayList operations)

        equalsString(authority, RawContacts.CONTENT_URI.toString());
        return mProvider.applyBatch(operations);
    
private static booleanequalsString(java.lang.String a, java.lang.String b)

        if (a == null || a.length() == 0) {
            return b == null || b.length() == 0;
        } else {
            return a.equals(b);
        }
    
public voidverify()

        mProvider.verify();