diff options
author | 2021-08-24 13:03:02 -0400 | |
---|---|---|
committer | 2021-08-27 12:58:58 +0000 | |
commit | e1d67de22d0bf9fe50c16ee6bc1e50310e74d4fa (patch) | |
tree | 49d46b2ea8504fe1e64b3db8a4024963c0e40c85 /runtime/pom.xml | |
parent | 6d02de6b9ea3f4e6fc588813fd2177c732a2af92 (diff) |
clamp sonar fix on test code and the rest
- rename files to "...ItTestCase" to comply SONAR
and checkstyle
- surefire plugin include *Test.java files
- failsafe plugin include *ItTestCase.java files
- use assertEquals etc.
- replace to "var"
- remove unused import
Issue-ID: POLICY-3452
Change-Id: I2e6e829726c4585f5f8bc985f4e8f2b88d17aef1
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'runtime/pom.xml')
-rw-r--r-- | runtime/pom.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/pom.xml b/runtime/pom.xml index 3a8ece35b..ef15198dc 100644 --- a/runtime/pom.xml +++ b/runtime/pom.xml @@ -662,6 +662,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <includes> + <include>**/*Test.java</include> + </includes> <forkCount>1C</forkCount> <reuseForks>true</reuseForks> <useSystemClassLoader>false</useSystemClassLoader> @@ -685,7 +688,7 @@ </additionalClasspathElement> </additionalClasspathElements> <includes> - <include>**/*ItCase.java</include> + <include>**/*ItTestCase.java</include> </includes> <forkCount>1C</forkCount> <reuseForks>true</reuseForks> |