sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1779559 [21/21] - in /sis/trunk: ./ core/sis-feature/src/main/java/org/apache/sis/feature/ core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/ core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/geometry/ core/sis-m...
Date Fri, 20 Jan 2017 04:34:30 GMT
Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
[UTF-8] (original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
[UTF-8] Fri Jan 20 04:34:26 2017
@@ -81,7 +81,7 @@ public final strictfp class IndexedResou
     /**
      * Tests the {@link IndexedResourceBundle#list(Appendable)} method.
      *
-     * @throws IOException Should never happen.
+     * @throws IOException should never happen since this test writes only in memory.
      */
     @Test
     @DependsOnMethod("testGetResources")
@@ -210,7 +210,7 @@ public final strictfp class IndexedResou
     /**
      * If a test failed, lists the resource bundle content to {@link #out}.
      *
-     * @throws IOException Should never happen.
+     * @throws IOException should never happen since this test writes only in memory.
      */
     @After
     public void dumpResourcesOnError() throws IOException {

Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/MarshallerPoolTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/MarshallerPoolTest.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/MarshallerPoolTest.java [UTF-8]
(original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/MarshallerPoolTest.java [UTF-8]
Fri Jan 20 04:34:26 2017
@@ -41,7 +41,7 @@ public final strictfp class MarshallerPo
      * The marshaller should be reset to its initial state
      * despite the setter method we may have invoked on it.
      *
-     * @throws JAXBException Should not happen.
+     * @throws JAXBException if (un)marhaller construction failed.
      */
     @Test
     public void testAcquireRelease() throws JAXBException {

Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/NilReasonTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/NilReasonTest.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/NilReasonTest.java [UTF-8]
(original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/NilReasonTest.java [UTF-8]
Fri Jan 20 04:34:26 2017
@@ -41,7 +41,7 @@ public final strictfp class NilReasonTes
     /**
      * Tests the {@link NilReason#valueOf(String)} method on constants.
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testValueOfConstant() throws URISyntaxException {
@@ -58,7 +58,7 @@ public final strictfp class NilReasonTes
     /**
      * Tests the {@link NilReason#valueOf(String)} method on "other".
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testValueOfOther() throws URISyntaxException {
@@ -79,7 +79,7 @@ public final strictfp class NilReasonTes
     /**
      * Tests the {@link NilReason#valueOf(String)} method on a URI.
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testValueOfURI() throws URISyntaxException {

Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ReferenceResolverMock.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ReferenceResolverMock.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ReferenceResolverMock.java
[UTF-8] (original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ReferenceResolverMock.java
[UTF-8] Fri Jan 20 04:34:26 2017
@@ -54,7 +54,7 @@ public final strictfp class ReferenceRes
      * annotated by {@link org.junit.After}. This is done automatically by {@link org.apache.sis.test.XMLTestCase}.
      *
      * @param  marshalling {@code true} for marshalling, or {@code false} for unmarshalling.
-     * @return The (un)marshalling context.
+     * @return the (un)marshalling context.
      */
     public static Context begin(final boolean marshalling) {
         return new Context(marshalling ? Context.MARSHALLING : 0, null, null, null, null,

Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ValueConverterTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ValueConverterTest.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ValueConverterTest.java [UTF-8]
(original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/ValueConverterTest.java [UTF-8]
Fri Jan 20 04:34:26 2017
@@ -17,15 +17,13 @@
 package org.apache.sis.xml;
 
 import java.util.Locale;
+import java.nio.charset.StandardCharsets;
 import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.TestCase;
 import org.junit.Test;
 
 import static org.junit.Assert.*;
 
-// Branch-dependent imports
-import java.nio.charset.StandardCharsets;
-
 
 /**
  * Tests the {@link ValueConverter} class.

Modified: sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/XLinkTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/XLinkTest.java?rev=1779559&r1=1779558&r2=1779559&view=diff
==============================================================================
--- sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/XLinkTest.java [UTF-8] (original)
+++ sis/trunk/core/sis-utility/src/test/java/org/apache/sis/xml/XLinkTest.java [UTF-8] Fri
Jan 20 04:34:26 2017
@@ -37,7 +37,7 @@ public final strictfp class XLinkTest ex
     /**
      * Tests the automatic {@link XLink#getType()} detection.
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testGetType() throws URISyntaxException {
@@ -110,7 +110,7 @@ public final strictfp class XLinkTest ex
     /**
      * Tests write operation, which should not be allowed for some type of link.
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testWrite() throws URISyntaxException {
@@ -157,7 +157,7 @@ public final strictfp class XLinkTest ex
     /**
      * Tests equality.
      *
-     * @throws URISyntaxException Should never happen.
+     * @throws URISyntaxException if a test URI can not be parsed (should not happen).
      */
     @Test
     public void testEquals() throws URISyntaxException {



Mime
View raw message