Skip to content

Commit 53b8be2

Browse files
Moved dummy cobertura.xml files to resource directory
1 parent 110fdad commit 53b8be2

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

sonar-swift-plugin/src/test/java/org/sonar/plugins/swift/coverage/ReportFilesFinderTest.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/**
2+
* backelite-sonar-swift-plugin - Enables analysis of Swift projects into SonarQube.
3+
* Copyright © 2015 Backelite (${email})
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Lesser General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
*
10+
* This program is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU Lesser General Public License for more details.
14+
*
15+
* You should have received a copy of the GNU Lesser General Public License
16+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
*/
118
package org.sonar.plugins.swift.coverage;
219

320
import java.io.*;
@@ -15,7 +32,7 @@
1532
public class ReportFilesFinderTest {
1633

1734
private static final String TEST_REPORT_PATTERN = "**/cobertura.xml";
18-
private static final String TEST_MATERIALS_DIR = "./src/test/java/org/sonar/plugins/swift/coverage/test_materials";
35+
private static final String TEST_MATERIALS_DIR = "./src/test/resources/coverage";
1936
private static final String TEST_MOD_NAME = "myMod";
2037
private static final File REPORT_PATH_1 = new File(TEST_MATERIALS_DIR + "/dir1/cobertura.xml");
2138
private static final File REPORT_PATH_2 = new File(TEST_MATERIALS_DIR + "/dir2/cobertura.xml");

0 commit comments

Comments
 (0)