mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
16.56.2007 d38af3ce0247e0b2903c983e6b110fc2ca863c15
Update the AciTests.testSearchWithAcis method to provide a more useful error
message if it fails (including the diff between the expected and actual
results).
1 files modified
4 ■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java 4 ●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java
@@ -1442,7 +1442,9 @@
      diffFromExpected = diffLdif(params._expectedResultsLdif, searchResults);
      // Ignoring whitespace the diff should be empty.
      Assert.assertTrue(diffFromExpected.replaceAll("\\s", "").length() == 0);
      Assert.assertTrue(diffFromExpected.replaceAll("\\s", "").length() == 0,
                        "Difference from expected results:" + EOL +
                        diffFromExpected);
    } catch (Throwable e) {
        System.err.println(
              "Started with dit:\n" +