assertFilterNoMatchPackageName(null, filter);
}
public void testJavaLangReflectOr() throws Exception
{
ClassFilter filter1 = PackageClassFilter.createPackageClassFilter("java.lang");
ClassFilter filter2 = PackageClassFilter.createPackageClassFilter("java.lang.reflect");
ClassFilter filter = CombiningClassFilter.create(false, filter1, filter2);
assertFilterMatchesClassName("java.lang.Object", filter);
assertFilterMatchesClassName("java.lang.X", filter);
assertFilterMatchesClassName("java.lang.reflect.Method", filter);
assertFilterMatchesClassName("java.lang.reflect.X", filter);
assertFilterMatchesClassName("java.lang.reflect", filter);