瀏覽代碼

Removed test since we don't log that anymore

tags/6.0.0.4432
Julien HENRY 3 週之前
父節點
當前提交
e91c405a40
共有 1 個檔案被更改,包括 0 行新增17 行删除
  1. 0
    17
      it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java

+ 0
- 17
it/src/test/java/com/sonarsource/scanner/it/ScannerTest.java 查看文件

@@ -135,23 +135,6 @@ public class ScannerTest extends ScannerTestCase {
.contains("Invalid value of sonar.sources for bad-source-dirs");
}

/**
* 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
*/

Loading…
取消
儲存