aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/sonarsource/scanner
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-02-28 17:50:15 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-03-01 10:05:52 +0100
commite95940e6698b9a79759616e73813ccdb3ba382d7 (patch)
tree8089e5917273f3aeb7f263026986bef20ea52c4a /src/test/java/org/sonarsource/scanner
parent0976c9ff9cf395e366d7ac7614b101cb6ed004a3 (diff)
downloadsonar-scanner-cli-e95940e6698b9a79759616e73813ccdb3ba382d7.tar.gz
sonar-scanner-cli-e95940e6698b9a79759616e73813ccdb3ba382d7.zip
SQSCANNER-37 Fix agent in network connections
Diffstat (limited to 'src/test/java/org/sonarsource/scanner')
-rw-r--r--src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java
index fc583a9..422a20e 100644
--- a/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java
+++ b/src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java
@@ -49,6 +49,8 @@ public class ScannerFactoryTest {
assertThat(runner).isInstanceOf(EmbeddedScanner.class);
assertThat(runner.globalProperties().get("foo")).isEqualTo("bar");
+ assertThat(runner.app()).isEqualTo("ScannerCli");
+ assertThat(runner.appVersion()).isNotNull();
}
@Test