You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</description>
25
-
<vendor>JetBrains</vendor>
26
-
</idea-plugin>
27
-
""".trimIndent()
28
-
)
29
-
30
-
build(VERIFY_PLUGIN_TASK_NAME).let {
31
-
assertContains("Plugin name specified in plugin.xml should not contain the word 'plugin'", it.output)
32
-
}
33
-
}
34
-
35
12
@Test
36
13
fun`fail on warning if option is disabled`() {
37
14
buildFile.groovy(
@@ -55,7 +32,7 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
55
32
)
56
33
57
34
buildAndFail(VERIFY_PLUGIN_TASK_NAME).let {
58
-
assertContains("Plugin name specified in plugin.xml should not contain the word 'IntelliJ'", it.output)
35
+
assertContains("The plugin name should not contain the word 'IntelliJ'", it.output)
59
36
}
60
37
}
61
38
@@ -78,7 +55,7 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
78
55
)
79
56
80
57
buildAndFail(VERIFY_PLUGIN_TASK_NAME).let {
81
-
assertContains("Invalid plugin descriptor 'description': Please provide a long-enough English description.", it.output)
58
+
assertContains("Invalid plugin descriptor 'description'. The plugin description is shorter than 40 characters and/or the plugin description contains non-Latin characters.", it.output)
82
59
}
83
60
}
84
61
@@ -105,15 +82,15 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
105
82
)
106
83
107
84
build(VERIFY_PLUGIN_TASK_NAME).let {
108
-
assertContains("Invalid plugin descriptor 'description': Please provide a long-enough English description.", it.output)
85
+
assertContains("Invalid plugin descriptor 'description'. The plugin description is shorter than 40 characters and/or the plugin description contains non-Latin characters.", it.output)
109
86
}
110
87
}
111
88
112
89
@Test
113
90
fun`fail on errors by default`() {
114
91
pluginXml.delete()
115
92
buildAndFail(VERIFY_PLUGIN_TASK_NAME).let {
116
-
assertContains("Plugin descriptor 'plugin.xml' is not found", it.output)
93
+
assertContains("The plugin descriptor 'plugin.xml' is not found.", it.output)
117
94
}
118
95
}
119
96
@@ -129,7 +106,7 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
129
106
130
107
pluginXml.delete()
131
108
build(VERIFY_PLUGIN_TASK_NAME).let {
132
-
assertContains("Plugin descriptor 'plugin.xml' is not found", it.output)
109
+
assertContains("The plugin descriptor 'plugin.xml' is not found.", it.output)
133
110
}
134
111
}
135
112
@@ -156,7 +133,7 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
156
133
)
157
134
158
135
buildAndFail(VERIFY_PLUGIN_TASK_NAME).let {
159
-
assertContains("<name> must not be equal to default value:", it.output)
136
+
assertContains("Please ensure that <name> is not equal to the default value", it.output)
160
137
}
161
138
}
162
139
@@ -183,7 +160,7 @@ class VerifyPluginTaskSpec : IntelliJPluginSpecBase() {
183
160
)
184
161
185
162
build(VERIFY_PLUGIN_TASK_NAME).let {
186
-
assertContains("Invalid plugin descriptor 'description': Please provide a long-enough English description.", it.output)
163
+
assertContains("Invalid plugin descriptor 'description'. The plugin description is shorter than 40 characters and/or the plugin description contains non-Latin characters.", it.output)
0 commit comments