sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1583841 - in /sis/release-test/maven: ./ pom.xml src/test/java/org/apache/sis/test/IntegrationTest.java
Date Wed, 02 Apr 2014 00:58:16 GMT
Author: desruisseaux
Date: Wed Apr  2 00:58:16 2014
New Revision: 1583841

URL: http://svn.apache.org/r1583841
Log:
Upgrade integration tests for latest SIS.

Modified:
    sis/release-test/maven/   (props changed)
    sis/release-test/maven/pom.xml
    sis/release-test/maven/src/test/java/org/apache/sis/test/IntegrationTest.java

Propchange: sis/release-test/maven/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Apr  2 00:58:16 2014
@@ -0,0 +1 @@
+target

Modified: sis/release-test/maven/pom.xml
URL: http://svn.apache.org/viewvc/sis/release-test/maven/pom.xml?rev=1583841&r1=1583840&r2=1583841&view=diff
==============================================================================
--- sis/release-test/maven/pom.xml (original)
+++ sis/release-test/maven/pom.xml Wed Apr  2 00:58:16 2014
@@ -27,7 +27,7 @@
 
   <groupId>org.apache.sis.test</groupId>
   <artifactId>maven</artifactId>
-  <version>0.3</version>
+  <version>0.4</version>
   <packaging>jar</packaging>
 
   <name>Release candidate test</name>
@@ -59,7 +59,7 @@
     <repository>
       <id>sis.staging</id>
       <name>SIS staging repository</name>
-      <url>https://repository.apache.org/content/repositories/orgapachesis-092</url>
+      <url>https://repository.apache.org/content/repositories/orgapachesis-1000</url>
     </repository>
     <repository>
       <id>UCAR</id>
@@ -169,5 +169,10 @@
       <type>test-jar</type>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>gov.nist.math</groupId>
+      <artifactId>jama</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 </project>

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=1583841&r1=1583840&r2=1583841&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]
Wed Apr  2 00:58:16 2014
@@ -16,6 +16,7 @@
  */
 package org.apache.sis.test;
 
+import org.junit.BeforeClass;
 import org.junit.runners.Suite;
 
 
@@ -30,4 +31,14 @@ import org.junit.runners.Suite;
     org.apache.sis.test.suite.NetcdfTestSuite.class,
 })
 public final strictfp class IntegrationTest extends TestSuite {
+    /**
+     * Makes {@link #assertNoMissingTest(Class)} a no-operation.
+     * We need to disable the check for missing tests because we inherit the test suites
+     * defined in JAR files, and {@code assertNoMissingTest(Class)} is not designed for
+     * scanning the content of JAR files.
+     */
+    @BeforeClass
+    public static void disableCheckForMissingTests() {
+        skipCheckForMissingTests = true;
+    }
 }



Mime
View raw message