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

coulbeck
06.51.2006 6bf1875b2d72f489aa0eca7e8e83dfd8f51679a6
Unit test coverage for SearchRequestProtocolOp.toString().
1 files modified
9 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/ldap/TestSearchProtocolOp.java 9 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/ldap/TestSearchProtocolOp.java
@@ -77,6 +77,15 @@
  }
  @Test ()
  public void testSearchRequestToString() throws Exception
  {
    SearchRequestProtocolOp protocolOp = buildSearchRequestProtocolOp();
    StringBuilder sb = new StringBuilder();
    protocolOp.toString(sb);
    protocolOp.toString(sb, 1);
  }
  @Test ()
  public void testSearchRequestEncodeDecode() throws Exception
  {
    // Construct a protocol op.