sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1480633 - in /sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis: internal/converter/PathConverterTest.java test/PlatformDependent.java test/PlatformDependentTest.java
Date Thu, 09 May 2013 13:45:37 GMT
Author: desruisseaux
Date: Thu May  9 13:45:36 2013
New Revision: 1480633

URL: http://svn.apache.org/r1480633
Log:
Avoid the "Test" suffix on an annotation which is not a test.

Added:
    sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependent.java
      - copied, changed from r1480605, sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependentTest.java
Removed:
    sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependentTest.java
Modified:
    sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java

Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java?rev=1480633&r1=1480632&r2=1480633&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/internal/converter/PathConverterTest.java
[UTF-8] Thu May  9 13:45:36 2013
@@ -25,7 +25,7 @@ import org.apache.sis.math.FunctionPrope
 import org.apache.sis.util.ArraysExt;
 import org.apache.sis.util.ObjectConverter;
 import org.apache.sis.util.UnconvertibleObjectException;
-import org.apache.sis.test.PlatformDependentTest;
+import org.apache.sis.test.PlatformDependent;
 import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.TestCase;
 import org.junit.Test;
@@ -83,7 +83,7 @@ public final strictfp class PathConverte
      * @throws URISyntaxException Should never happen.
      */
     @Test
-    @PlatformDependentTest
+    @PlatformDependent
     public void testFile_URI() throws URISyntaxException {
         assumeUnixRoot();
         final ObjectConverter<File,URI> c = PathConverter.FileURI.INSTANCE;
@@ -97,7 +97,7 @@ public final strictfp class PathConverte
      * @throws MalformedURLException Should never happen.
      */
     @Test
-    @PlatformDependentTest
+    @PlatformDependent
     public void testFile_URL() throws MalformedURLException {
         assumeUnixRoot();
         final ObjectConverter<File,URL> c = PathConverter.FileURL.INSTANCE;
@@ -136,7 +136,7 @@ public final strictfp class PathConverte
      * @throws URISyntaxException Should never happen.
      */
     @Test
-    @PlatformDependentTest
+    @PlatformDependent
     public void testURI_File() throws URISyntaxException {
         PathConverterTest.assumeUnixRoot();
         final ObjectConverter<URI,File> c = PathConverter.URIFile.INSTANCE;
@@ -175,7 +175,7 @@ public final strictfp class PathConverte
      * @throws MalformedURLException Should never happen.
      */
     @Test
-    @PlatformDependentTest
+    @PlatformDependent
     public void testURL_File() throws MalformedURLException {
         PathConverterTest.assumeUnixRoot();
         final ObjectConverter<URL,File> c = PathConverter.URLFile.INSTANCE;

Copied: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependent.java
(from r1480605, sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependentTest.java)
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependent.java?p2=sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependent.java&p1=sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependentTest.java&r1=1480605&r2=1480633&rev=1480633&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependentTest.java
[UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/test/PlatformDependent.java
[UTF-8] Thu May  9 13:45:36 2013
@@ -35,5 +35,5 @@ import java.lang.annotation.Target;
  */
 @Documented
 @Target(ElementType.METHOD)
-public @interface PlatformDependentTest {
+public @interface PlatformDependent {
 }



Mime
View raw message