generated from JetBrains/intellij-platform-plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from dinbtechit/chores/compatibilty-issues
Removing Deprecated APIs
- Loading branch information
Showing
11 changed files
with
38 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
src/main/kotlin/com/github/dinbtechit/vscodetheme/actions/AlwaysApplyThemeAction.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 5 additions & 19 deletions
24
src/test/kotlin/com/github/dinbtechit/vscodetheme/MyPluginTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,17 @@ | ||
/* | ||
package com.github.dinbtechit.vscodetheme | ||
import com.intellij.ide.highlighter.XmlFileType | ||
import com.intellij.psi.xml.XmlFile | ||
import com.intellij.testFramework.TestDataPath | ||
import com.intellij.testFramework.fixtures.BasePlatformTestCase | ||
import com.intellij.util.PsiErrorElementUtil | ||
import junit.framework.TestCase | ||
@TestDataPath("\$CONTENT_ROOT/src/test/testData") | ||
class MyPluginTest : BasePlatformTestCase() { | ||
fun testXMLFile() { | ||
val psiFile = myFixture.configureByText(XmlFileType.INSTANCE, "<foo>bar</foo>") | ||
val xmlFile = assertInstanceOf(psiFile, XmlFile::class.java) | ||
|
||
assertFalse(PsiErrorElementUtil.hasErrors(project, xmlFile.virtualFile)) | ||
|
||
assertNotNull(xmlFile.rootTag) | ||
|
||
xmlFile.rootTag?.let { | ||
assertEquals("foo", it.name) | ||
assertEquals("bar", it.value.text) | ||
} | ||
} | ||
|
||
override fun getTestDataPath() = "src/test/testData/rename" | ||
fun testRename() { | ||
myFixture.testRename("foo.xml", "foo_after.xml", "a2") | ||
fun testRename() { | ||
TestCase.assertTrue(true) | ||
} | ||
} | ||
*/ |