Skip to content

Commit 755a707

Browse files
author
Vitaliy Boyko
committed
Fixed file separators
1 parent cd7a8c3 commit 755a707

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

Diff for: tests/com/magento/idea/magento2plugin/BaseProjectTestCase.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Configure test environment with Magento 2 project
1111
*/
1212
abstract public class BaseProjectTestCase extends BasePlatformTestCase {
13-
private static final String testDataProjectPath = "testData/project";
13+
private static final String testDataProjectPath = "testData" + File.separator + "project";
1414
private static final String testDataProjectDirectory = "magento2";
1515

1616
@Override

Diff for: tests/com/magento/idea/magento2plugin/completion/xml/CompletionXmlFixtureTestCase.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
package com.magento.idea.magento2plugin.completion.xml;
66

77
import com.magento.idea.magento2plugin.BaseProjectTestCase;
8+
9+
import java.io.File;
810
import java.util.Arrays;
911
import java.util.List;
1012

1113
abstract public class CompletionXmlFixtureTestCase extends BaseProjectTestCase {
12-
private static final String testDataFolderPath = "testData/completion/";
13-
private static final String fixturesFolderPath = "xml/";
14+
private static final String testDataFolderPath = "testData" + File.separator + "completion" + File.separator;
15+
private static final String fixturesFolderPath = "xml" + File.separator;
1416

1517
@Override
1618
protected void setUp() throws Exception {

Diff for: tests/com/magento/idea/magento2plugin/inspections/xml/InspectionXmlFixtureTestCase.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package com.magento.idea.magento2plugin.inspections.xml;
22

3-
import com.intellij.psi.PsiElement;
4-
import com.intellij.psi.xml.XmlAttributeValue;
53
import com.magento.idea.magento2plugin.BaseProjectTestCase;
64

5+
import java.io.File;
6+
77
abstract public class InspectionXmlFixtureTestCase extends BaseProjectTestCase {
88

9-
private static final String testDataFolderPath = "testData/inspections/";
10-
private static final String fixturesFolderPath = "xml/";
9+
private static final String testDataFolderPath = "testData" + File.separator + "inspections" + File.separator;
10+
private static final String fixturesFolderPath = "xml" + File.separator;
1111

1212
@Override
1313
protected void setUp() throws Exception {

Diff for: tests/com/magento/idea/magento2plugin/reference/xml/ReferenceXmlFixtureTestCase.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
import com.intellij.psi.xml.XmlAttributeValue;
55
import com.magento.idea.magento2plugin.BaseProjectTestCase;
66

7+
import java.io.File;
8+
79
abstract public class ReferenceXmlFixtureTestCase extends BaseProjectTestCase {
810

9-
private static final String testDataFolderPath = "testData/reference/";
10-
private static final String fixturesFolderPath = "xml/";
11+
private static final String testDataFolderPath = "testData" + File.separator + "reference" + File.separator;
12+
private static final String fixturesFolderPath = "xml" + File.separator;
1113

1214
@Override
1315
protected void setUp() throws Exception {

0 commit comments

Comments
 (0)