sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1778893 [3/3] - in /sis/branches/JDK8/core: sis-metadata/src/main/java/org/apache/sis/metadata/ sis-metadata/src/main/java/org/apache/sis/metadata/iso/ sis-metadata/src/test/java/org/apache/sis/metadata/ sis-utility/src/main/java/org/apach...
Date Sun, 15 Jan 2017 09:20:19 GMT
Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/DefaultTreeTableTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/DefaultTreeTableTest.java?rev=1778893&r1=1778892&r2=1778893&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/DefaultTreeTableTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/DefaultTreeTableTest.java
[UTF-8] Sun Jan 15 09:20:18 2017
@@ -46,8 +46,7 @@ public final strictfp class DefaultTreeT
      * <p>This method is part of a chain.
      * The next method is {@link #testNodeCreation(DefaultTreeTable)}.</p>
      *
-     * @return The created table, for chaining with methods testing the next step
-     *         after this one.
+     * @return the created table, for chaining with methods testing the next step after this
one.
      */
     @TestStep
     public static DefaultTreeTable testTableCreation() {
@@ -67,8 +66,8 @@ public final strictfp class DefaultTreeT
      * The previous method is {@link #testTableCreation()} and
      * the next method is {@link #testNodeDisplacement(TreeTable.Node)}.</p>
      *
-     * @param  table An initially empty table where to set the root.
-     * @return The root node produced by this method.
+     * @param  table  an initially empty table where to set the root.
+     * @return the root node produced by this method.
      */
     @TestStep
     public static DefaultTreeTable.Node testNodeCreation(final DefaultTreeTable table) {
@@ -111,7 +110,7 @@ public final strictfp class DefaultTreeT
      * The previous method is {@link #testNodeCreation(DefaultTreeTable)} and
      * the next method is {@link #testSerialization(TreeTable)}.</p>
      *
-     * @param root The root node where to move children.
+     * @param  root  the root node where to move children.
      */
     @TestStep
     public static void testNodeDisplacement(final TreeTable.Node root) {
@@ -142,8 +141,8 @@ public final strictfp class DefaultTreeT
      * <p>This method is part of a chain.
      * The previous method is {@link #testNodeDisplacement(TreeTable.Node)}.</p>
      *
-     * @param  table The table to clone.
-     * @throws CloneNotSupportedException Should never happen.
+     * @param  table  the table to clone.
+     * @throws CloneNotSupportedException if the table can not be cloned.
      */
     @TestStep
     public static void testClone(final DefaultTreeTable table) throws CloneNotSupportedException
{
@@ -161,7 +160,7 @@ public final strictfp class DefaultTreeT
      * <p>This method is part of a chain.
      * The previous method is {@link #testNodeDisplacement(TreeTable.Node)}.</p>
      *
-     * @param table The table to serialize.
+     * @param  table  the table to serialize.
      */
     @TestStep
     public static void testSerialization(final TreeTable table) {
@@ -188,7 +187,7 @@ public final strictfp class DefaultTreeT
      *
      * <p>This test is actually a chain of {@link TestStep} methods.</p>
      *
-     * @throws CloneNotSupportedException If the {@link DefaultTreeTable#clone()} method
failed.
+     * @throws CloneNotSupportedException if the {@link DefaultTreeTable#clone()} method
failed.
      */
     @Test
     public void testTreeTableCreation() throws CloneNotSupportedException {

Modified: sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java?rev=1778893&r1=1778892&r2=1778893&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
[UTF-8] Sun Jan 15 09:20:18 2017
@@ -68,7 +68,7 @@ public final strictfp class TreeTableFor
      * and performs its check on the assumption that the tree formatting is
      * accurate.
      *
-     * @throws ParseException Should never happen.
+     * @throws ParseException if the parsing failed.
      */
     @Test
     @DependsOnMethod("testTreeFormat")
@@ -139,7 +139,7 @@ public final strictfp class TreeTableFor
      * Tests the parsing of a tree table. This method parses and reformats a tree table,
      * and performs its check on the assumption that the tree table formatting is accurate.
      *
-     * @throws ParseException Should never happen.
+     * @throws ParseException if the parsing failed.
      */
     @Test
     @DependsOnMethod("testTreeTableFormat")
@@ -161,7 +161,7 @@ public final strictfp class TreeTableFor
     /**
      * Tests parsing and formatting using a different column separator.
      *
-     * @throws ParseException Should never happen.
+     * @throws ParseException if the parsing failed.
      */
     @Test
     @DependsOnMethod("testTreeTableParse")
@@ -190,7 +190,7 @@ public final strictfp class TreeTableFor
         tf.setColumnSeparatorPattern("? [ ]; ");
         assertMultilinesEquals(
                 "Node #1         ; 10 ; Value #1B\n" +
-                " ├──Node #2     ; 20\n" + // Column separator omitted here.
+                " ├──Node #2     ; 20\n" +                                  // Column
separator omitted here.
                 " │   └──Node #4 ; 40 ; Value #4B\n" +
                 " └──Node #3     ;    ; Value #3B\n", tf.format(table));
         /*
@@ -256,14 +256,14 @@ public final strictfp class TreeTableFor
         assertMultilinesEquals(
                 "Root\n" +
                 "  ├─CodeList…… Point de contact\n" +
-                "  ├─Enum……………… Half down\n" +        // No localization
provided.
+                "  ├─Enum……………… Half down\n" +                      //
No localization provided.
                 "  └─i18n……………… Une phrase en français\n", tf.format(table));
 
         tf = new TreeTableFormat(Locale.JAPANESE, null);
         assertMultilinesEquals(
                 "Root\n" +
-                "  ├─CodeList…… Point of contact\n" + // Not yet localized.
-                "  ├─Enum……………… Half down\n" +        // No localization
provided.
+                "  ├─CodeList…… Point of contact\n" +               // Not yet
localized.
+                "  ├─Enum……………… Half down\n" +                      //
No localization provided.
                 "  └─i18n……………… 日本語の言葉\n", tf.format(table));
     }
 }



Mime
View raw message