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

davidely
14.20.2006 2cffa5a838e383f31b2726af9f62219c9fafed49
Changed <code> tag to <pre> to preserve formatting of examples in javadoc.
1 files modified
16 ■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java 16 ●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -338,7 +338,7 @@
   * This is an admittedly small advantage, but it does make things a little
   * easier and less error prone.  For example, this
   *
     <code>
     <pre>
       private static final String JOHN_SMITH_LDIF = TestCaseUtils.makeLdif(
          "dn: cn=John Smith,dc=example,dc=com",
          "objectclass: inetorgperson",
@@ -346,11 +346,11 @@
          "sn: Smith",
          "givenname: John");
     </code>
     </pre>
   is a <bold>little</bold> easier to work with than
     <code>
     <pre>
       private static final String JOHN_SMITH_LDIF =
          "dn: cn=John Smith,dc=example,dc=com\n" +
          "objectclass: inetorgperson\n" +
@@ -358,7 +358,7 @@
          "sn: Smith\n" +
          "givenname: John\n";
     </code>
     </pre>
   *
   * @return the concatenation of each line followed by a newline character
   */
@@ -374,14 +374,14 @@
   * This is a convience method that constructs an Entry from the specified
   * lines of LDIF.  Here's a sample usage
   *
   <code>
   <pre>
   Entry john = TestCaseUtils.makeEntry(
      "dn: cn=John Smith,dc=example,dc=com",
      "objectclass: inetorgperson",
      "cn: John Smith",
      "sn: Smith",
      "givenname: John");
   </code>
   </pre>
   * @see #makeLdif
   */
  public static Entry makeEntry(String... lines) throws Exception {
@@ -392,7 +392,7 @@
   * This is a convience method that constructs an List of EntryS from the
   * specified lines of LDIF.  Here's a sample usage
   *
   <code>
   <pre>
   List<Entry> smiths = TestCaseUtils.makeEntries(
      "dn: cn=John Smith,dc=example,dc=com",
      "objectclass: inetorgperson",
@@ -405,7 +405,7 @@
      "cn: Jane Smith",
      "sn: Smith",
      "givenname: Jane");
   </code>
   </pre>
   * @see #makeLdif
   */
  public static List<Entry> makeEntries(String... lines) throws Exception {