diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-05-06 15:38:05 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2024-05-07 13:04:55 +0200 |
commit | e91c405a40ca47533091311f4e4591828260ff5f (patch) | |
tree | 0bb5e49d83bece8e2296791744973e9a6efd5d45 /it | |
parent | ee9f00edc5e2958fce1c70d0b1cfd62267a3a204 (diff) | |
download | sonar-scanner-cli-e91c405a40ca47533091311f4e4591828260ff5f.tar.gz sonar-scanner-cli-e91c405a40ca47533091311f4e4591828260ff5f.zip |
Removed test since we don't log that anymore
Diffstat (limited to 'it')
-rw-r--r-- | it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java | 17 |
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 |