aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-05-06 15:38:05 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2024-05-07 13:04:55 +0200
commite91c405a40ca47533091311f4e4591828260ff5f (patch)
tree0bb5e49d83bece8e2296791744973e9a6efd5d45
parentee9f00edc5e2958fce1c70d0b1cfd62267a3a204 (diff)
downloadsonar-scanner-cli-e91c405a40ca47533091311f4e4591828260ff5f.tar.gz
sonar-scanner-cli-e91c405a40ca47533091311f4e4591828260ff5f.zip
Removed test since we don't log that anymore
-rw-r--r--it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
index 9129ce2..8055d82 100644
--- a/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
+++ b/it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java
@@ -136,23 +136,6 @@ public class ScannerTest extends ScannerTestCase {
}
/**
- * SONARPLUGINS-2256
- */
- @Test
- public void should_warn_when_analysis_is_platform_dependent() {
- SonarScanner build = newScanner(new File("projects/simple-sample"))
- // ORCH-243
- .setSourceEncoding("");
- String log = orchestrator.executeBuild(build).getLogs();
-
- // Note: we can't really check the locale value and the charset because the ones used during the Sonar analysis may not be the ones
- // used to launch the tests. But we can check that the analysis is platform dependent (i.e. "sonar.sourceEncoding" hasn't been set).
- assertThat(log).contains("Default locale:")
- .contains(", source code encoding:")
- .contains("(analysis is platform dependent)");
- }
-
- /**
* SONARUNNER-153
*/
@Test