sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1401241 - in /sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis: math/ measure/ test/suite/ util/ util/collection/ util/resources/
Date Tue, 23 Oct 2012 10:27:53 GMT
Author: desruisseaux
Date: Tue Oct 23 10:27:52 2012
New Revision: 1401241

URL: http://svn.apache.org/viewvc?rev=1401241&view=rev
Log:
Minor re-organisation of test orders.

Modified:
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/suite/UtilityTestSuite.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/CharSequencesTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/LocalesTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakHashSetTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakValueHashMapTest.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/math/MathFunctionsTest.java
Tue Oct 23 10:27:52 2012
@@ -18,6 +18,7 @@ package org.apache.sis.math;
 
 import org.junit.Test;
 import org.apache.sis.test.TestCase;
+import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.DependsOnMethod;
 
 import static org.junit.Assert.*;
@@ -33,6 +34,7 @@ import static org.apache.sis.util.Arrays
  * @version 0.3
  * @module
  */
+@DependsOn(org.apache.sis.util.ArraysTest.class)
 public final strictfp class MathFunctionsTest extends TestCase {
     /**
      * Small number for floating point comparisons.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
Tue Oct 23 10:27:52 2012
@@ -19,7 +19,6 @@ package org.apache.sis.measure;
 import java.util.Locale;
 import org.apache.sis.test.TestCase;
 import org.apache.sis.test.DependsOn;
-import org.apache.sis.math.MathFunctionsTest;
 import org.junit.Test;
 
 import static org.junit.Assert.*;
@@ -34,7 +33,7 @@ import static org.apache.sis.test.TestUt
  * @version 0.3
  * @module
  */
-@DependsOn(MathFunctionsTest.class)
+@DependsOn(org.apache.sis.math.MathFunctionsTest.class)
 public final strictfp class AngleFormatTest extends TestCase {
     /**
      * Tests using {@link Locale#CANADA}.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/suite/UtilityTestSuite.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/suite/UtilityTestSuite.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/suite/UtilityTestSuite.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/suite/UtilityTestSuite.java
Tue Oct 23 10:27:52 2012
@@ -33,30 +33,38 @@ import org.junit.runners.Suite;
   org.apache.sis.internal.test.AssertTest.class,
   org.apache.sis.internal.test.XMLComparatorTest.class,
 
-  // Following are testing the actual SIS library.
-  org.apache.sis.util.UtilitiesTest.class,
+  // Most basic functions of SIS library.
   org.apache.sis.util.ArraysTest.class,
   org.apache.sis.util.CharactersTest.class,
   org.apache.sis.util.CharSequencesTest.class,
   org.apache.sis.util.StringBuildersTest.class,
+  org.apache.sis.util.UtilitiesTest.class,
   org.apache.sis.util.LocalesTest.class,
   org.apache.sis.util.resources.IndexedResourceBundleTest.class,
   org.apache.sis.util.logging.PerformanceLevelTest.class,
-  org.apache.sis.util.type.TypesTest.class,
-  org.apache.sis.util.type.SimpleInternationalStringTest.class,
-  org.apache.sis.util.type.DefaultInternationalStringTest.class,
   org.apache.sis.math.MathFunctionsTest.class,
-  org.apache.sis.measure.AngleFormatTest.class,
+
+  // Collections.
   org.apache.sis.internal.util.ReferenceQueueConsumerTest.class,
   org.apache.sis.util.collection.WeakHashSetTest.class,
   org.apache.sis.util.collection.WeakValueHashMapTest.class,
   org.apache.sis.util.collection.CacheTest.class,
+
+  // GeoAPI most basic types.
+  org.apache.sis.util.type.TypesTest.class,
+  org.apache.sis.util.type.SimpleInternationalStringTest.class,
+  org.apache.sis.util.type.DefaultInternationalStringTest.class,
+
+  // Formatting
+  org.apache.sis.measure.AngleFormatTest.class,
   org.apache.sis.io.X364Test.class,
   org.apache.sis.io.EndOfLineFormatterTest.class,
   org.apache.sis.io.IndentedLineFormatterTest.class,
   org.apache.sis.io.ExpandedTabFormatterTest.class,
   org.apache.sis.io.LineWrapFormatterTest.class,
   org.apache.sis.io.TableFormatterTest.class,
+
+  // XML most basic types.
   org.apache.sis.xml.XLinkTest.class,
   org.apache.sis.internal.jaxb.IdentifierMapAdapterTest.class,
   org.apache.sis.internal.jaxb.IdentifierMapWithSpecialCasesTest.class

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/CharSequencesTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/CharSequencesTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/CharSequencesTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/CharSequencesTest.java
Tue Oct 23 10:27:52 2012
@@ -19,6 +19,7 @@ package org.apache.sis.util;
 import java.util.Arrays;
 import java.nio.CharBuffer;
 import org.apache.sis.test.TestCase;
+import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.DependsOnMethod;
 import org.apache.sis.util.type.SimpleInternationalString;
 import org.junit.Test;
@@ -36,6 +37,7 @@ import static org.apache.sis.util.CharSe
  * @version 0.3
  * @module
  */
+@DependsOn(ArraysTest.class)
 public final strictfp class CharSequencesTest extends TestCase {
     /**
      * Tests {@link CharSequences#spaces(int)}.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/LocalesTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/LocalesTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/LocalesTest.java (original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/LocalesTest.java Tue Oct
23 10:27:52 2012
@@ -18,6 +18,7 @@ package org.apache.sis.util;
 
 import java.util.Locale;
 import org.apache.sis.test.TestCase;
+import org.apache.sis.test.DependsOn;
 import org.junit.Test;
 
 import static org.junit.Assert.*;
@@ -31,6 +32,7 @@ import static org.junit.Assert.*;
  * @version 0.3
  * @module
  */
+@DependsOn(Arrays.class)
 public final strictfp class LocalesTest extends TestCase {
     /**
      * Tests the {@link Locales#getAvailableLanguages()} method.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakHashSetTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakHashSetTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakHashSetTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakHashSetTest.java
Tue Oct 23 10:27:52 2012
@@ -20,6 +20,7 @@ import java.util.HashSet;
 import java.util.Random;
 import java.util.concurrent.Callable;
 import org.apache.sis.test.TestCase;
+import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.DependsOnMethod;
 import org.apache.sis.test.TestConfiguration;
 import org.junit.Test;
@@ -37,6 +38,7 @@ import static org.apache.sis.test.TestUt
  * @version 0.3
  * @module
  */
+@DependsOn(org.apache.sis.util.ArraysTest.class)
 public final strictfp class WeakHashSetTest extends TestCase {
     /**
      * The size of the test sets to be created.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakValueHashMapTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakValueHashMapTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakValueHashMapTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/WeakValueHashMapTest.java
Tue Oct 23 10:27:52 2012
@@ -21,8 +21,9 @@ import java.util.HashMap;
 import java.util.Random;
 import java.util.concurrent.Callable;
 import org.apache.sis.test.TestCase;
-import org.apache.sis.test.TestConfiguration;
+import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.DependsOnMethod;
+import org.apache.sis.test.TestConfiguration;
 import org.junit.Test;
 
 import static org.apache.sis.test.Assert.*;
@@ -38,6 +39,7 @@ import static org.apache.sis.test.TestUt
  * @version 0.3
  * @module
  */
+@DependsOn(org.apache.sis.util.ArraysTest.class)
 public final strictfp class WeakValueHashMapTest extends TestCase {
     /**
      * The size of the test sets to be created.

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java?rev=1401241&r1=1401240&r2=1401241&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/resources/IndexedResourceBundleTest.java
Tue Oct 23 10:27:52 2012
@@ -24,6 +24,7 @@ import java.util.logging.LogRecord;
 import java.util.logging.SimpleFormatter;
 import org.opengis.util.InternationalString;
 import org.apache.sis.test.DependsOnMethod;
+import org.apache.sis.test.DependsOn;
 import org.apache.sis.test.TestCase;
 import org.junit.Test;
 
@@ -37,6 +38,7 @@ import static org.junit.Assert.*;
  * @since   0.3 (derived from geotk-2.2)
  * @version 0.3
  */
+@DependsOn(org.apache.sis.util.ArraysTest.class)
 public final strictfp class IndexedResourceBundleTest extends TestCase {
     /**
      * Tests the {@link Errors#getResources(Locale)} method on different locales.



Mime
View raw message