Skip to content

Commit 2782c3b

Browse files
author
Vitaliy Boyko
committed
Excluded current test name from results (added test case)
1 parent f1b88b1 commit 2782c3b

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11+
<test name="MyTestMftfCase" extends="MyTestMftfCa<caret>">
12+
13+
</test>
14+
</tests>

tests/com/magento/idea/magento2plugin/completion/xml/MftfNameCompletionRegistrarTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,11 @@ public void testExtendsInActionGroupMustBeEmpty() {
2424

2525
assertCompletionNotShowing(filePath);
2626
}
27+
28+
public void testExtendsSameNameMustBeEmpty() {
29+
String filePath = this.getFixturePath("TestMftfTest.xml");
30+
myFixture.copyFileToProject(filePath);
31+
32+
assertCompletionNotShowing(filePath);
33+
}
2734
}

0 commit comments

Comments
 (0)