Skip to content

Commit 5c0b176

Browse files
author
Vitaliy Boyko
committed
Fixed typo
1 parent 2a92ba8 commit 5c0b176

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public void testSystemXmlBackendModelAttributeMatchWithFile() {
3737
ModuleSystemXml.FILE_NAME
3838
);
3939

40-
assertFileConatainsCompletions(filePath, systemXmlBackendModelLookupStringCheck);
40+
assertFileContainsCompletions(filePath, systemXmlBackendModelLookupStringCheck);
4141
}
4242

4343
public void testSystemXmlBackendModelAttributeDontMatchWithFile() {
4444
String filePath = this.getFixturePath(
4545
"other-file-than-system.xml"
4646
);
4747

48-
assertFileNotConatainsCompletions(
48+
assertFileNotContainsCompletions(
4949
filePath,
5050
systemXmlBackendModelLookupStringCheck
5151
);
@@ -74,15 +74,15 @@ public void testConfigXmlBackendModelAttributeMatchWithFile() {
7474
ModuleConfigXml.FILE_NAME
7575
);
7676

77-
assertFileConatainsCompletions(filePath, configXmlBackendModelLookupStringCheck);
77+
assertFileContainsCompletions(filePath, configXmlBackendModelLookupStringCheck);
7878
}
7979

8080
public void testConfigXmlBackendModelAttributeDontMatchWithFile() {
8181
String filePath = this.getFixturePath(
8282
"other-file-than-config.xml"
8383
);
8484

85-
assertFileNotConatainsCompletions(
85+
assertFileNotContainsCompletions(
8686
filePath,
8787
configXmlBackendModelLookupStringCheck
8888
);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void assertCompletionContains(String filePath, String... lookupStrings) {
3131
checkContainsCompletion(lookupStrings);
3232
}
3333

34-
protected void assertFileConatainsCompletions(
34+
protected void assertFileContainsCompletions(
3535
String positiveFilePath,
3636
String... lookupStrings
3737
) {
@@ -44,7 +44,7 @@ protected void assertFileConatainsCompletions(
4444
checkContainsCompletion(lookupStrings, messageEmptyLookup, messageCompletionContains);
4545
}
4646

47-
protected void assertFileNotConatainsCompletions(
47+
protected void assertFileNotContainsCompletions(
4848
String negativeFilePath,
4949
String... lookupStrings
5050
) {

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ public void testCreateDataActionGroupMustProvideCompletion () {
1919
);
2020
myFixture.copyFileToProject(filePath);
2121

22-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
22+
assertFileContainsCompletions(filePath, lookupStringsEntities);
2323
}
2424

2525
public void testCreateDataInTestMustProvideCompletion () {
2626
String filePath = this.getFixturePath("TestMftfTest.xml");
2727
myFixture.copyFileToProject(filePath);
2828

29-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
29+
assertFileContainsCompletions(filePath, lookupStringsEntities);
3030
}
3131

3232
public void testCreateDataInTestWithSectionMustBeEmpty () {
@@ -40,7 +40,7 @@ public void testUpdateDataActionGroupMustProvideCompletion () {
4040
String filePath = this.getFixturePath("TestActionGroup.xml");
4141
myFixture.copyFileToProject(filePath);
4242

43-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
43+
assertFileContainsCompletions(filePath, lookupStringsEntities);
4444
}
4545

4646
public void testUpdateDataActionGroupMustBeEmpty () {
@@ -54,7 +54,7 @@ public void testUpdateDataInTestMustProvideCompletion () {
5454
String filePath = this.getFixturePath("TestMftfTest.xml");
5555
myFixture.copyFileToProject(filePath);
5656

57-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
57+
assertFileContainsCompletions(filePath, lookupStringsEntities);
5858
}
5959

6060
public void testUpdateDataInTestMustBeEmpty () {
@@ -68,7 +68,7 @@ public void testUserInputInActionGroupMustProvideCompletion () {
6868
String filePath = this.getFixturePath("TestActionGroup.xml");
6969
myFixture.copyFileToProject(filePath);
7070

71-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
71+
assertFileContainsCompletions(filePath, lookupStringsEntities);
7272
}
7373

7474
public void testUserInputInActionGroupMustBeEmpty () {
@@ -82,7 +82,7 @@ public void testUserInputInTestMustProvideCompletion () {
8282
String filePath = this.getFixturePath("TestMftfTest.xml");
8383
myFixture.copyFileToProject(filePath);
8484

85-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
85+
assertFileContainsCompletions(filePath, lookupStringsEntities);
8686
}
8787

8888
public void testUserInputInTestMustBeEmpty () {
@@ -96,7 +96,7 @@ public void testEntityExtendsInDataMustProvideCompletion () {
9696
String filePath = this.getFixturePath("TestData.xml");
9797
myFixture.copyFileToProject(filePath);
9898

99-
assertFileConatainsCompletions(filePath, lookupStringsEntities);
99+
assertFileContainsCompletions(filePath, lookupStringsEntities);
100100
}
101101

102102
public void testEntityExtendsInDataMustBeEmpty () {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ public void testSourceModelXmlElementMatchWithFilePositiveCase() {
2525
String filePath = this.getFixturePath(ModuleSystemXml.FILE_NAME);
2626
myFixture.copyFileToProject(filePath);
2727

28-
assertFileConatainsCompletions(filePath, lookupStringsCheck);
28+
assertFileContainsCompletions(filePath, lookupStringsCheck);
2929
}
3030

3131
public void testSourceModelXmlElementMatchWithFileNegativeCase() {
3232
String filePath = this.getFixturePath("not-system.xml");
3333
myFixture.copyFileToProject(filePath);
3434

35-
assertFileNotConatainsCompletions(
35+
assertFileNotContainsCompletions(
3636
filePath,
3737
lookupStringsCheck
3838
);
@@ -49,14 +49,14 @@ public void testSourceModelXmlAttributeMatchWithFilePositiveCase() {
4949
String filePath = this.getFixturePath(ModuleWidgetXml.FILE_NAME);
5050
myFixture.copyFileToProject(filePath);
5151

52-
assertFileConatainsCompletions(filePath, lookupStringsCheck);
52+
assertFileContainsCompletions(filePath, lookupStringsCheck);
5353
}
5454

5555
public void testSourceModelXmlAttributeMatchWithFileNegativeCase() throws IOException {
5656
String filePath = this.getFixturePath("not-widget.xml");
5757
myFixture.copyFileToProject(filePath);
5858

59-
assertFileNotConatainsCompletions(
59+
assertFileNotContainsCompletions(
6060
filePath,
6161
lookupStringsCheck
6262
);

0 commit comments

Comments
 (0)