sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1792406 - in /sis/release-test/maven: pom.xml src/main/java/org/apache/sis/test/Integration.java src/test/java/org/apache/sis/test/IntegrationTest.java
Date Sun, 23 Apr 2017 21:55:35 GMT
Author: desruisseaux
Date: Sun Apr 23 21:55:35 2017
New Revision: 1792406

URL: http://svn.apache.org/viewvc?rev=1792406&view=rev
Log:
Update integration tests for SIS 0.8-SNAPSHOT.

Modified:
    sis/release-test/maven/pom.xml
    sis/release-test/maven/src/main/java/org/apache/sis/test/Integration.java
    sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java

Modified: sis/release-test/maven/pom.xml
URL: http://svn.apache.org/viewvc/sis/release-test/maven/pom.xml?rev=1792406&r1=1792405&r2=1792406&view=diff
==============================================================================
--- sis/release-test/maven/pom.xml (original)
+++ sis/release-test/maven/pom.xml Sun Apr 23 21:55:35 2017
@@ -27,7 +27,7 @@
 
   <groupId>org.apache.sis.test</groupId>
   <artifactId>maven</artifactId>
-  <version>0.7</version>
+  <version>0.8-SNAPSHOT</version>
   <packaging>jar</packaging>
 
   <name>Release candidate test</name>
@@ -46,6 +46,7 @@
 
   <properties>
     <sis.version>${project.version}</sis.version>
+    <sis-nonfree.version>0.7</sis-nonfree.version>      <!-- Release cycle
may differ from core Apache SIS. -->
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
 
@@ -71,6 +72,14 @@
       <name>UCAR repository</name>
       <url>https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases</url>
     </repository>
+
+    <!-- Temporary repository for GeoAPI 3.0.1-RC1.
+         Shall be removed after GeoAPI release. -->
+    <repository>
+      <id>geotoolkit</id>
+      <name>Geotoolkit.org repository</name>
+      <url>http://maven.geotoolkit.org</url>
+    </repository>
   </repositories>
 
   <!-- Inherit the JUnit version number from the SIS project. -->
@@ -118,9 +127,24 @@
       <version>${sis.version}</version>
     </dependency>
     <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-xmlstore</artifactId>
+      <version>${sis.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-geotiff</artifactId>
+      <version>${sis.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-earth-observation</artifactId>
+      <version>${sis.version}</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.sis.non-free</groupId>
       <artifactId>sis-epsg</artifactId>
-      <version>${sis.version}</version>
+      <version>${sis-nonfree.version}</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
@@ -186,6 +210,27 @@
       <scope>test</scope>
     </dependency>
     <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-xmlstore</artifactId>
+      <version>${sis.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-geotiff</artifactId>
+      <version>${sis.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.sis.storage</groupId>
+      <artifactId>sis-earth-observation</artifactId>
+      <version>${sis.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
       <groupId>org.apache.sis.application</groupId>
       <artifactId>sis-console</artifactId>
       <version>${sis.version}</version>
@@ -193,6 +238,11 @@
       <scope>test</scope>
     </dependency>
     <dependency>
+      <groupId>org.hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
       <groupId>gov.nist.math</groupId>
       <artifactId>jama</artifactId>
       <scope>test</scope>

Modified: sis/release-test/maven/src/main/java/org/apache/sis/test/Integration.java
URL: http://svn.apache.org/viewvc/sis/release-test/maven/src/main/java/org/apache/sis/test/Integration.java?rev=1792406&r1=1792405&r2=1792406&view=diff
==============================================================================
--- sis/release-test/maven/src/main/java/org/apache/sis/test/Integration.java (original)
+++ sis/release-test/maven/src/main/java/org/apache/sis/test/Integration.java Sun Apr 23 21:55:35
2017
@@ -20,5 +20,10 @@ package org.apache.sis.test;
 /**
  * Integration tests (empty for now).
  */
-public class Integration  {
+public final class Integration {
+    /**
+     * Do not allow instantiation of this class.
+     */
+    private Integration() {
+    }
 }

Modified: sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java
URL: http://svn.apache.org/viewvc/sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java?rev=1792406&r1=1792405&r2=1792406&view=diff
==============================================================================
--- sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java [UTF-8]
(original)
+++ sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java [UTF-8]
Sun Apr 23 21:55:35 2017
@@ -16,6 +16,7 @@
  */
 package org.apache.sis.test;
 
+import org.apache.sis.setup.About;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.runners.Suite;
@@ -31,6 +32,9 @@ import org.junit.runners.Suite;
     org.apache.sis.test.suite.FeatureTestSuite.class,
     org.apache.sis.test.suite.StorageTestSuite.class,
     org.apache.sis.test.suite.NetcdfTestSuite.class,
+    org.apache.sis.test.suite.GPXTestSuite.class,
+    org.apache.sis.test.suite.GeoTiffTestSuite.class,
+    org.apache.sis.test.suite.EarthObservationTestSuite.class
 })
 public final strictfp class IntegrationTest extends TestSuite {
     /**
@@ -46,12 +50,17 @@ public final strictfp class IntegrationT
     }
 
     /**
-     * Shutdown the library only once after the execution of all test suite.
+     * Prints the Apache SIS configuration than shutdown the library after the execution
of all test suites.
      *
      * @throws Exception if an error occurred during unregistration of the supervisor MBean.
      */
     @AfterClass
+    @SuppressWarnings("UseOfSystemOutOrSystemErr")
     public static void finish() throws Exception {
+        System.err.flush();
+        System.out.println();
+        System.out.println(About.configuration());
+        System.out.flush();
         skipShutdown = false;
         shutdown();
     }



Mime
View raw message