From af6cf781e505d67908f3639443e6270395a069fe Mon Sep 17 00:00:00 2001 From: Bytekeeper Date: Mon, 2 May 2016 12:44:01 +0200 Subject: [PATCH] Added integration test that modifies one method and one constructor signature and shows that both are not ignored, although they ought to be. --- src/it/MCLIRR-98/invoker.properties | 20 ++++++ src/it/MCLIRR-98/pom.xml | 70 +++++++++++++++++++ src/it/MCLIRR-98/src/main/java/Changed.java | 9 +++ src/it/setup-MCLIRR-98/pom.xml | 17 +++++ .../src/main/java/Changed.java | 8 +++ 5 files changed, 124 insertions(+) create mode 100644 src/it/MCLIRR-98/invoker.properties create mode 100644 src/it/MCLIRR-98/pom.xml create mode 100644 src/it/MCLIRR-98/src/main/java/Changed.java create mode 100644 src/it/setup-MCLIRR-98/pom.xml create mode 100644 src/it/setup-MCLIRR-98/src/main/java/Changed.java diff --git a/src/it/MCLIRR-98/invoker.properties b/src/it/MCLIRR-98/invoker.properties new file mode 100644 index 0000000..b607fe3 --- /dev/null +++ b/src/it/MCLIRR-98/invoker.properties @@ -0,0 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +invoker.goals=clean install diff --git a/src/it/MCLIRR-98/pom.xml b/src/it/MCLIRR-98/pom.xml new file mode 100644 index 0000000..294a642 --- /dev/null +++ b/src/it/MCLIRR-98/pom.xml @@ -0,0 +1,70 @@ + + 4.0.0 + + org.codehaus.mojo.clirr + MCLIRR-98 + 2.0 + jar + + MCLIRR-98 + http://maven.apache.org + + + UTF-8 + + + + + + org.apache.maven.plugins + maven-site-plugin + @sitePluginVersion@ + + + org.codehaus.mojo + clirr-maven-plugin + @project.version@ + + + + check + + + + + 1.0 + ${project.build.directory}/clirr-check-results.txt + ${project.build.directory}/clirr-check-results.xml + + + Changed + Changed(java.lang.Integer) + 7005 + Changed(java.lang.String) + just because + + + Changed + void setValue(java.lang.String) + 7005 + void setValue(java.lang.Double) + just because + + + + + + + + + true + + + org.codehaus.mojo + clirr-maven-plugin + @project.version@ + + + + diff --git a/src/it/MCLIRR-98/src/main/java/Changed.java b/src/it/MCLIRR-98/src/main/java/Changed.java new file mode 100644 index 0000000..ef362c6 --- /dev/null +++ b/src/it/MCLIRR-98/src/main/java/Changed.java @@ -0,0 +1,9 @@ +public class Changed { + public Changed(String in) { + } + + public void setValue(Double in) { + + } + +} diff --git a/src/it/setup-MCLIRR-98/pom.xml b/src/it/setup-MCLIRR-98/pom.xml new file mode 100644 index 0000000..0df96df --- /dev/null +++ b/src/it/setup-MCLIRR-98/pom.xml @@ -0,0 +1,17 @@ + + 4.0.0 + + org.codehaus.mojo.clirr + MCLIRR-98 + 1.0 + jar + + MCLIRR-98 1.0 + http://maven.apache.org + + + UTF-8 + + + diff --git a/src/it/setup-MCLIRR-98/src/main/java/Changed.java b/src/it/setup-MCLIRR-98/src/main/java/Changed.java new file mode 100644 index 0000000..b28d4c8 --- /dev/null +++ b/src/it/setup-MCLIRR-98/src/main/java/Changed.java @@ -0,0 +1,8 @@ +public class Changed { + public Changed(Integer in) { + } + + public void setValue(String in) { + + } +}