mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
45 lines
833 B
Java
45 lines
833 B
Java
package com.jetbrains.rest;
|
|
|
|
import com.intellij.testFramework.ParsingTestCase;
|
|
import com.jetbrains.python.PythonHelpersLocator;
|
|
import com.jetbrains.rest.parsing.RestParserDefinition;
|
|
|
|
/**
|
|
* User : catherine
|
|
*/
|
|
public class RestParsingTest extends ParsingTestCase {
|
|
|
|
public RestParsingTest() {
|
|
super("", "rst", new RestParserDefinition());
|
|
}
|
|
|
|
public void testTitle() {
|
|
doTest(true);
|
|
}
|
|
|
|
public void testInjection() {
|
|
doTest(true);
|
|
}
|
|
|
|
public void testReference() {
|
|
doTest(true);
|
|
}
|
|
|
|
public void testReferenceTarget() {
|
|
doTest(true);
|
|
}
|
|
|
|
public void testSubstitution() {
|
|
doTest(true);
|
|
}
|
|
|
|
protected String getTestDataPath() {
|
|
return PythonHelpersLocator.getPythonCommunityPath() + "/python-rest/testData/psi";
|
|
}
|
|
|
|
|
|
protected boolean checkAllPsiRoots() {
|
|
return false;
|
|
}
|
|
}
|