Skip to content

Commit

Permalink
Create Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
LiLittleCat committed Aug 9, 2022
1 parent 7492206 commit 7e9dc56
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 37 deletions.
20 changes: 20 additions & 0 deletions src/test/java/com/lilittlecat/plugin/PanguFormatTest.java
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());
}

}

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/testData/rename/foo.xml

This file was deleted.

3 changes: 0 additions & 3 deletions src/test/testData/rename/foo_after.xml

This file was deleted.

0 comments on commit 7e9dc56

Please sign in to comment.