From e95940e6698b9a79759616e73813ccdb3ba382d7 Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Tue, 28 Feb 2017 17:50:15 +0100 Subject: SQSCANNER-37 Fix agent in network connections --- src/test/java/org/sonarsource/scanner/cli/ScannerFactoryTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/java/org/sonarsource/scanner') 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 -- cgit v1.2.3