File tree Expand file tree Collapse file tree
src/test/kotlin/org/jetbrains/plugins/colors_panel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ tasks {
133133 publishPlugin {
134134 dependsOn(patchChangelog)
135135 }
136+
137+ buildPlugin {
138+ group = " build"
139+ description = " Builds the plugin into a distributable ZIP file."
140+ }
136141}
137142
138143intellijPlatformTesting {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import com.intellij.psi.xml.XmlFile
66import com.intellij.testFramework.TestDataPath
77import com.intellij.testFramework.fixtures.BasePlatformTestCase
88import com.intellij.util.PsiErrorElementUtil
9- import org.jetbrains.plugins.colors_panel.services.MyProjectService
9+
1010
1111@TestDataPath(" \$ CONTENT_ROOT/src/test/testData" )
1212class MyPluginTest : BasePlatformTestCase () {
@@ -29,11 +29,6 @@ class MyPluginTest : BasePlatformTestCase() {
2929 myFixture.testRename(" foo.xml" , " foo_after.xml" , " a2" )
3030 }
3131
32- fun testProjectService () {
33- val projectService = project.service<MyProjectService >()
34-
35- assertNotSame(projectService.getRandomNumber(), projectService.getRandomNumber())
36- }
3732
3833 override fun getTestDataPath () = " src/test/testData/rename"
3934}
You can’t perform that action at this time.
0 commit comments