You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by ma...@apache.org on 2020/01/10 18:25:42 UTC
[netbeans] branch master updated: Run tests for some java modules
This is an automated email from the ASF dual-hosted git repository.
matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 9375dbf Run tests for some java modules
new eb5595b Merge pull request #1823 from blackleg/java_tests
9375dbf is described below
commit 9375dbfda4c8161ab623066ef8d56369baef2a50
Author: Hector Espert <he...@gmail.com>
AuthorDate: Thu Dec 26 19:18:36 2019 +0100
Run tests for some java modules
---
.travis.yml | 14 ++++++++++++--
java/api.maven/nbproject/project.properties | 2 +-
.../src/org/netbeans/api/maven/archetype/Archetype.java | 2 +-
java/dbschema/nbproject/project.properties | 6 ++----
java/hudson.maven/nbproject/project.properties | 2 +-
5 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7c84b97..7ef6ce4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -310,11 +310,21 @@ matrix:
- ant $OPTS clean
- ant $OPTS build
script:
+ #- ant $OPTS -f java/ant.debugger test
+ - ant $OPTS -f java/ant.freeform test
+ #- ant $OPTS -f java/ant.grammar test
+ - ant $OPTS -f java/api.debugger.jpda test
+ - ant $OPTS -f java/api.java test
+ - ant $OPTS -f java/api.maven test
+ #- ant $OPTS -f java/beans test
+ - ant $OPTS -f java/classfile test
+ - ant $OPTS -f java/dbschema test -Dtest.config=stable
+ - ant $OPTS -f java/hudson.maven test
- ant $OPTS -f java/java.completion test
- #- ant $OPTS -f java/spi.java.hints test
- ant $OPTS -f java/java.hints.declarative test
- - ant $OPTS -f java/spring.beans test
- ant $OPTS -f java/java.source.base test
+ #- ant $OPTS -f java/spi.java.hints test
+ - ant $OPTS -f java/spring.beans test
- name: Test Java modules with nb-javac on Java 11
jdk: openjdk8
diff --git a/java/api.maven/nbproject/project.properties b/java/api.maven/nbproject/project.properties
index 1825f6e..963ef70 100644
--- a/java/api.maven/nbproject/project.properties
+++ b/java/api.maven/nbproject/project.properties
@@ -16,7 +16,7 @@
# under the License.
is.autoload=true
-javac.source=1.6
+javac.source=1.8
javac.compilerargs=-Xlint -Xlint:-serial
javadoc.apichanges=${basedir}/apichanges.xml
javadoc.arch=${basedir}/arch.xml
diff --git a/java/api.maven/src/org/netbeans/api/maven/archetype/Archetype.java b/java/api.maven/src/org/netbeans/api/maven/archetype/Archetype.java
index 505af97..be1e220 100644
--- a/java/api.maven/src/org/netbeans/api/maven/archetype/Archetype.java
+++ b/java/api.maven/src/org/netbeans/api/maven/archetype/Archetype.java
@@ -30,7 +30,7 @@ import org.netbeans.api.annotations.common.NonNull;
*/
public final class Archetype {
- private org.netbeans.modules.maven.api.archetype.Archetype delegate;
+ private final org.netbeans.modules.maven.api.archetype.Archetype delegate;
/**
* C'tor
diff --git a/java/dbschema/nbproject/project.properties b/java/dbschema/nbproject/project.properties
index 34af3da..d684add 100644
--- a/java/dbschema/nbproject/project.properties
+++ b/java/dbschema/nbproject/project.properties
@@ -16,9 +16,7 @@
# under the License.
javac.compilerargs=-Xlint -Xlint:-serial
-javac.source=1.7
+javac.source=1.8
spec.version.base=1.48.0
-test.config.stableBTD.includes=**/*Test.class
-test.config.stableBTD.excludes=\
- **/ColumnElementTest.class
+test.config.stable.includes=**/XMLGraphSerializerTest.class
diff --git a/java/hudson.maven/nbproject/project.properties b/java/hudson.maven/nbproject/project.properties
index df86cc1..b574476 100644
--- a/java/hudson.maven/nbproject/project.properties
+++ b/java/hudson.maven/nbproject/project.properties
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
is.eager=true
-javac.source=1.6
+javac.source=1.8
javac.compilerargs=-Xlint -Xlint:-serial
test.config.stableBTD.includes=**/*Test.class
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists