test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java

changeset 1743
6a5288a298fd
parent 798
4868a36f6fd8
child 2147
130b8c0e570e
     1.1 --- a/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java	Tue May 14 10:14:54 2013 -0700
     1.2 +++ b/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java	Tue May 14 10:14:54 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -48,13 +48,13 @@
    1.11      private static final String[][] TEST = {
    1.12          //Regular param tags.
    1.13          {BUG_ID + FS + "pkg" + FS + "C.html",
    1.14 -            "<span class=\"strong\">Parameters:</span></dt><dd><code>param1</code> - testing 1 2 3.</dd>" +
    1.15 -                "<dd><code>param2</code> - testing 1 2 3."
    1.16 +            "<span class=\"strong\">Parameters:</span></dt>" + NL + "<dd><code>param1</code> - testing 1 2 3.</dd>" +
    1.17 +                NL + "<dd><code>param2</code> - testing 1 2 3."
    1.18          },
    1.19          //Param tags that don't match with any real parameters.
    1.20          {BUG_ID + FS + "pkg" + FS + "C.html",
    1.21 -            "<span class=\"strong\">Parameters:</span></dt><dd><code><I>p1</I></code> - testing 1 2 3.</dd>" +
    1.22 -                "<dd><code><I>p2</I></code> - testing 1 2 3."
    1.23 +            "<span class=\"strong\">Parameters:</span></dt>" + NL + "<dd><code><I>p1</I></code> - testing 1 2 3.</dd>" +
    1.24 +                NL + "<dd><code><I>p2</I></code> - testing 1 2 3."
    1.25          },
    1.26          //{@inherit} doc misuse does not cause doclet to throw exception.
    1.27          // Param is printed with nothing inherited.

mercurial