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

ContentValuesVerifier

public class ContentValuesVerifier extends Object implements com.android.vcard.VCardEntryHandler

Fields Summary
private List
mContentValuesVerifierElemList
private int
mIndex
Constructors Summary
Methods Summary
public ContentValuesVerifierElemaddElem(android.test.AndroidTestCase androidTestCase)


        
        ContentValuesVerifierElem elem = new ContentValuesVerifierElem(androidTestCase);
        mContentValuesVerifierElemList.add(elem);
        return elem;
    
public voidonEnd()

        for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) {
            elem.onParsingEnd();
            elem.verifyResolver();
        }
    
public voidonEntryCreated(com.android.vcard.VCardEntry entry)

        AndroidTestCase.assertTrue(mIndex < mContentValuesVerifierElemList.size());
        mContentValuesVerifierElemList.get(mIndex).onEntryCreated(entry);
        mIndex++;
    
public voidonStart()

        for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) {
            elem.onParsingStart();
        }