Methods Summary |
---|
public PropertyNodesVerifierElem | addPropertyNodesVerifierElem()
PropertyNodesVerifierElem elem = new PropertyNodesVerifierElem(mAndroidTestCase);
mPropertyNodesVerifierElemList.add(elem);
return elem;
|
public void | onEntryEnded()
mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());
super.onEntryEnded();
mIndex++;
|
public void | onEntryStarted()
super.onEntryStarted();
AndroidTestCase.assertTrue(mIndex < mPropertyNodesVerifierElemList.size());
|
public void | verify(int resId, int vcardType)
verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
|
public void | verify(int resId, int vcardType, com.android.vcard.VCardParser parser)
verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
vcardType, parser);
|
public void | verify(java.io.InputStream is, int vcardType)
final VCardParser parser = VCardUtils.getAppropriateParser(vcardType);
verify(is, vcardType, parser);
|
public void | verify(java.io.InputStream is, int vcardType, com.android.vcard.VCardParser parser)
parser.addInterpreter(this);
try {
parser.parse(is);
} finally {
if (is != null) {
try {
is.close();
} catch (IOException e) {
}
}
}
|