generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7492206
commit 7e9dc56
Showing
4 changed files
with
20 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.lilittlecat.plugin; | ||
|
||
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase; | ||
import com.lilittlecat.plugin.action.PanguFormatAction; | ||
import org.junit.Test; | ||
|
||
/** | ||
* @author LiLittleCat | ||
* @since 2022/8/9 | ||
*/ | ||
public class PanguFormatTest extends LightJavaCodeInsightFixtureTestCase { | ||
|
||
@Test | ||
public void test(){ | ||
myFixture.configureByText("test.md", "你好Hello世界"); | ||
myFixture.testAction(new PanguFormatAction()); | ||
System.out.println(myFixture.getFile().getText()); | ||
} | ||
|
||
} |
31 changes: 0 additions & 31 deletions
31
src/test/kotlin/com/github/lilittlecat/intellijpangu/MyPluginTest.kt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.