Skip to content

Commit c1afc05

Browse files
committed
#102 : Increase test coverage as per Sonar report
1 parent 20891f9 commit c1afc05

File tree

5 files changed

+21
-16
lines changed

5 files changed

+21
-16
lines changed

bxbot-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dependencies {
2020
testCompile libraries.powermock_api_easymock
2121
testCompile libraries.easymock
2222
testCompile libraries.spring_boot_starter_test
23+
testCompile libraries.awaitility
2324
}
2425

2526
jacocoTestCoverageVerification {

bxbot-core/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@
108108
<artifactId>spring-boot-starter-test</artifactId>
109109
<scope>test</scope>
110110
</dependency>
111+
<dependency>
112+
<groupId>org.awaitility</groupId>
113+
<artifactId>awaitility</artifactId>
114+
<scope>test</scope>
115+
</dependency>
111116
</dependencies>
112117

113118
<build>

bxbot-core/src/main/java/com/gazbert/bxbot/BxBot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import org.springframework.boot.autoconfigure.SpringBootApplication;
3131

3232
/**
33-
* BX-bot - here be the main boot app.
33+
* BX-bot app.
3434
*
3535
* @author gazbert
3636
*/

bxbot-core/src/main/java/com/gazbert/bxbot/core/config/exchange/AuthenticationConfigImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
package com.gazbert.bxbot.core.config.exchange;
2525

2626
import com.gazbert.bxbot.exchange.api.AuthenticationConfig;
27-
import com.google.common.base.MoreObjects;
28-
2927
import java.util.HashMap;
3028
import java.util.Map;
3129

third_party_licenses.txt

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
Product
22
========
3-
* GSON - https://github.com/google/gson - https://github.com/google/gson/blob/master/LICENSE
4-
* Guava - https://github.com/google/guava/ - https://github.com/google/guava/blob/master/COPYING
5-
* log4j - http://logging.apache.org/log4j/2.x/ - https://logging.apache.org/log4j/2.0/license.html
6-
* JavaMail - https://java.net/projects/javamail/pages/Home - https://glassfish.java.net/public/CDDL+GPL_1_1.html
7-
* Spring Boot - http://projects.spring.io/spring-boot/ - https://github.com/spring-projects/spring-boot/blob/master/LICENSE.txt
8-
* Snake YAML - https://bitbucket.org/asomov/snakeyaml - https://bitbucket.org/asomov/snakeyaml/src/default/LICENSE.txt
3+
* GSON - https://github.com/google/gson - https://github.com/google/gson/blob/master/LICENSE
4+
* Guava - https://github.com/google/guava/ - https://github.com/google/guava/blob/master/COPYING
5+
* log4j - http://logging.apache.org/log4j/2.x/ - https://logging.apache.org/log4j/2.0/license.html
6+
* JavaMail - https://java.net/projects/javamail/pages/Home - https://glassfish.java.net/public/CDDL+GPL_1_1.html
7+
* Spring Boot - http://projects.spring.io/spring-boot/ - https://github.com/spring-projects/spring-boot/blob/master/LICENSE.txt
8+
* Snake YAML - https://bitbucket.org/asomov/snakeyaml - https://bitbucket.org/asomov/snakeyaml/src/default/LICENSE.txt
99

1010
Building & Testing
1111
===================
12-
* JUnit - http://junit.org/ - http://opensource.org/licenses/eclipse-1.0.html
13-
* Powermock - https://github.com/jayway/powermock - https://github.com/jayway/powermock/blob/master/LICENSE.txt
14-
* EasyMock - http://easymock.org/ - http://easymock.org/License.html
15-
* Maven - https://maven.apache.org/ - http://www.apache.org/licenses/
16-
* Gradle - https://gradle.org/ - https://gradle.org/license/
17-
* JsonPath - https://github.com/jayway/JsonPath - https://github.com/jayway/JsonPath/blob/master/LICENSE
12+
* JUnit - http://junit.org/ - http://opensource.org/licenses/eclipse-1.0.html
13+
* Powermock - https://github.com/jayway/powermock - https://github.com/jayway/powermock/blob/master/LICENSE.txt
14+
* EasyMock - http://easymock.org/ - http://easymock.org/License.html
15+
* Maven - https://maven.apache.org/ - http://www.apache.org/licenses/
16+
* Gradle - https://gradle.org/ - https://gradle.org/license/
17+
* JsonPath - https://github.com/jayway/JsonPath - https://github.com/jayway/JsonPath/blob/master/LICENSE
18+
* Awaitility - https://github.com/awaitility/awaitility - https://github.com/awaitility/awaitility/blob/master/LICENSE
1819
* spring-boot-starter-test - http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-testing.html
19-
* Awaitify
20+

0 commit comments

Comments
 (0)