Merge "AbstractVerifierTest: adapt tests to the new behaviour concerning whitespace" am: c21b54c82b
am: 6aa2e158e4 * commit '6aa2e158e4494329087e48c26af1dcd128a1c048': AbstractVerifierTest: adapt tests to the new behaviour concerning whitespace
This commit is contained in:
@@ -106,8 +106,8 @@ public final class AbstractVerifierTest extends TestCase {
|
||||
|
||||
public void testGetCns_whitespace() {
|
||||
assertCns("cn= p", "p");
|
||||
assertCns("cn=\np", "\np");
|
||||
assertCns("cn=\tp", "\tp");
|
||||
assertCns("cn=\np", "p");
|
||||
assertCns("cn=\tp", "p");
|
||||
}
|
||||
|
||||
public void testGetCnsWithOid() {
|
||||
@@ -140,7 +140,6 @@ public final class AbstractVerifierTest extends TestCase {
|
||||
|
||||
private static void assertCns(String dn, String... expected) {
|
||||
String[] result = AbstractVerifier.getCNs(createStubCertificate(dn));
|
||||
System.out.println("Expected is: " + expected.length);
|
||||
if (expected.length == 0) {
|
||||
assertNull(result);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user