CPString cp2 = new CPString(new String("3"));
CPString cp3 = new CPString(new String("5"));
checkEquality(cp1,cp2,"3",cp3); //$NON-NLS-1$
}
public void testCPField() {
CPMember cp1 = new CPMember("Name:I", 0, null);
CPMember cp2 = new CPMember("Name:I", 0, null);
CPMember cp3 = new CPMember("Name:Z", 0, null);
CPMember cp4 = new CPMember("GName:I", 0, null);
checkEquality(cp1,cp2,"Name",cp3); //$NON-NLS-1$
checkEquality(cp1,cp2,"I",cp4); //$NON-NLS-1$
}