]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Drop test about warning on sources in non-leaf module
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Tue, 21 Feb 2017 12:56:13 +0000 (13:56 +0100)
committerJanos Gyerik <janos.gyerik@sonarsource.com>
Thu, 23 Feb 2017 15:32:15 +0000 (16:32 +0100)
it/src/test/java/com/sonar/runner/it/MultimoduleTest.java

index 444dcab75f08ec211b9314501ee9b4effb3a7991..5f4398af56cf5c5f91427e255d950c90ce687902 100644 (file)
@@ -94,16 +94,6 @@ public class MultimoduleTest extends ScannerTestCase {
     assertThat(getComponent("simplest-with-props-each-module:overridden-key-for-module2").getName()).isEqualTo("Module 2");
   }
 
-  /**
-   * SONARPLUGINS-2295
-   */
-  @Test
-  public void test_warning_when_source_folder_on_root_module() {
-    SonarScanner build = newScanner(new File("projects/multi-module/simplest/simplest-with-props-on-each-module"));
-
-    assertThat(orchestrator.executeBuild(build).getLogs()).contains("/!\\ A multi-module project can't have source folders");
-  }
-
   /**
    * SONARPLUGINS-2202
    */