diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-03-25 09:36:09 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-03-25 10:40:53 +0100 |
commit | 5869fc40c78cd2e1b7b29a7d74670c0e5a6c1afa (patch) | |
tree | 2ae4de940f48371dfd4c56aabed179a089f67ec6 /sonar-scanner-protocol/src/test/java/org/sonar/scanner | |
parent | 6bc55b17ebd87802cb9b55d5b6625e1a935f3909 (diff) | |
download | sonarqube-5869fc40c78cd2e1b7b29a7d74670c0e5a6c1afa.tar.gz sonarqube-5869fc40c78cd2e1b7b29a7d74670c0e5a6c1afa.zip |
Revert "SONAR-6941 Partition files of scanner report in different folders"
This reverts commit 0417484bef1e4bfefbe7dc8a7a5c9a1a105697af.
Diffstat (limited to 'sonar-scanner-protocol/src/test/java/org/sonar/scanner')
-rw-r--r-- | sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/output/FileStructureTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/output/FileStructureTest.java b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/output/FileStructureTest.java index 2a0890bace8..69d5266cf50 100644 --- a/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/output/FileStructureTest.java +++ b/sonar-scanner-protocol/src/test/java/org/sonar/scanner/protocol/output/FileStructureTest.java @@ -19,11 +19,12 @@ */ package org.sonar.scanner.protocol.output; -import java.io.File; import org.apache.commons.io.FileUtils; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; +import org.sonar.scanner.protocol.output.FileStructure; +import java.io.File; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.Assert.fail; @@ -61,8 +62,8 @@ public class FileStructureTest { public void locate_files() throws Exception { File dir = temp.newFolder(); FileUtils.write(new File(dir, "metadata.pb"), "metadata content"); - FileUtils.write(new File(dir, "3/issues-3.pb"), "issues of component 3"); - FileUtils.write(new File(dir, "4/2/component-42.pb"), "details of component 42"); + FileUtils.write(new File(dir, "issues-3.pb"), "issues of component 3"); + FileUtils.write(new File(dir, "component-42.pb"), "details of component 42"); FileStructure structure = new FileStructure(dir); assertThat(structure.metadataFile()).exists().isFile(); @@ -70,5 +71,4 @@ public class FileStructureTest { assertThat(structure.fileFor(FileStructure.Domain.ISSUES, 3)).exists().isFile(); assertThat(structure.fileFor(FileStructure.Domain.ISSUES, 42)).doesNotExist(); } - } |