File tree 4 files changed +13
-9
lines changed
tests/com/magento/idea/magento2plugin
4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 10
10
* Configure test environment with Magento 2 project
11
11
*/
12
12
abstract public class BaseProjectTestCase extends BasePlatformTestCase {
13
- private static final String testDataProjectPath = "testData/ project" ;
13
+ private static final String testDataProjectPath = "testData" + File . separator + " project" ;
14
14
private static final String testDataProjectDirectory = "magento2" ;
15
15
16
16
@ Override
Original file line number Diff line number Diff line change 5
5
package com .magento .idea .magento2plugin .completion .xml ;
6
6
7
7
import com .magento .idea .magento2plugin .BaseProjectTestCase ;
8
+
9
+ import java .io .File ;
8
10
import java .util .Arrays ;
9
11
import java .util .List ;
10
12
11
13
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 ;
14
16
15
17
@ Override
16
18
protected void setUp () throws Exception {
Original file line number Diff line number Diff line change 1
1
package com .magento .idea .magento2plugin .inspections .xml ;
2
2
3
- import com .intellij .psi .PsiElement ;
4
- import com .intellij .psi .xml .XmlAttributeValue ;
5
3
import com .magento .idea .magento2plugin .BaseProjectTestCase ;
6
4
5
+ import java .io .File ;
6
+
7
7
abstract public class InspectionXmlFixtureTestCase extends BaseProjectTestCase {
8
8
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 ;
11
11
12
12
@ Override
13
13
protected void setUp () throws Exception {
Original file line number Diff line number Diff line change 4
4
import com .intellij .psi .xml .XmlAttributeValue ;
5
5
import com .magento .idea .magento2plugin .BaseProjectTestCase ;
6
6
7
+ import java .io .File ;
8
+
7
9
abstract public class ReferenceXmlFixtureTestCase extends BaseProjectTestCase {
8
10
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 ;
11
13
12
14
@ Override
13
15
protected void setUp () throws Exception {
You can’t perform that action at this time.
0 commit comments