Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Oct 17, 2015
2 parents 3858d90 + 0bc8f16 commit c370b5a
Show file tree
Hide file tree
Showing 6 changed files with 435 additions and 404 deletions.
Expand Up @@ -432,7 +432,9 @@ private static String createMessageFromAllExceptions(String prefix, Throwable ex
private static void addAllExceptionsToMessage(StringBuilder sb, Throwable ex) {
sb.append(ex.getClass().getName());
sb.append("(");
sb.append(ex.getMessage());
// Make sure that no non-printable chars shall pass
// e.g. AD LDAP produces non-printable chars in the messages
sb.append(ex.getMessage().replaceAll("\\p{C}", "?"));
sb.append(")");
if (ex.getCause() != null) {
sb.append("->");
Expand Down
Expand Up @@ -94,7 +94,7 @@ public void test001Connectors() throws SchemaException {
ProvisioningTestUtil.assertConnectorSchemaSanity(conn, prismContext);
}

assertEquals("Unexpected number of connectors found", 5, connectors.size());
assertEquals("Unexpected number of connectors found", 6, connectors.size());
}

@Test
Expand All @@ -114,7 +114,7 @@ public void testListConnectors() throws Exception{
System.out.println("-----\n");
}

assertEquals("Unexpected number of connectors found", 5, connectors.size());
assertEquals("Unexpected number of connectors found", 6, connectors.size());
}

@Test
Expand Down
Expand Up @@ -250,7 +250,7 @@ public void test010ListConnectors() throws CommunicationException {

System.out.println("---------------------------------------------------------------------");

assertEquals("Unexpected number of connectors discovered", 5, connectors.size());
assertEquals("Unexpected number of connectors discovered", 6, connectors.size());
}

@Test
Expand Down

0 comments on commit c370b5a

Please sign in to comment.