You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2018/01/04 05:41:09 UTC

[incubator-plc4x] branch master updated: ignore test and mock classes

This is an automated email from the ASF dual-hosted git repository.

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new f49a686  ignore test and mock classes
f49a686 is described below

commit f49a6868eea9ed03ed9909259ec9e2922d04ea90
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Thu Jan 4 16:41:01 2018 +1100

    ignore test and mock classes
---
 sonar-project.properties | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sonar-project.properties b/sonar-project.properties
index 0b43a15..1c2f236 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -9,6 +9,9 @@ sonar.projectVersion=0.1
 # If not set, SonarQube starts looking for source code from the directory containing 
 # the sonar-project.properties file.
 sonar.sources=./applications/iotree/src,./applications/plclogger/src,./integrations/apache-camel/src,./integrations/apache-edgent/src,./plc4j/api/src,./plc4j/core/src,./plc4j/protocols/s7/src,./plc4j/protocols/s7-utils/src,./plc4j/protocols/utils/src,./plc4j/src,./src
- 
+
+# ignore tests (DRY vs WET)
+sonar.exclusions=**/*Tests.java,**/*Test.java,**/Mock*.java
+
 # Encoding of the source code. Default is default system encoding
 #sonar.sourceEncoding=UTF-8

-- 
To stop receiving notification emails like this one, please contact
['"commits@plc4x.apache.org" <co...@plc4x.apache.org>'].