| lib.EditorTestCase code_folding.CodeFoldingTest java_code_folding.JavaCodeFoldingTest java_code_folding.JavaFoldsTest
JavaFoldsTest | public class JavaFoldsTest extends JavaCodeFoldingTest (Code) | | Test behavior of java code folds.
Sample file contains java folds. Test creates a fold hierarchy dump
and compares it with golden file.
Then test simply moves a caret
position and tries to invoke expand or collapse action.
At the end collapse all and expand all action is tested.
Note: static imports block are not a subject of testing yet [PENDING]
author: Martin Roskanin |
editor | EditorOperator editor(Code) | | |
JavaFoldsTest | public JavaFoldsTest(String testMethodName)(Code) | | Creates a new instance of Main
|
testJavaFolds | public void testJavaFolds()(Code) | | |
Methods inherited from java_code_folding.JavaCodeFoldingTest | protected String getDefaultProjectName()(Code)(Java Doc)
|
Fields inherited from lib.EditorTestCase | final public static int WAIT_MAX_MILIS_FOR_CLIPBOARD(Code)(Java Doc)
|
Methods inherited from lib.EditorTestCase | protected void closeDefaultProject()(Code)(Java Doc) public void closeDialog(String title)(Code)(Java Doc) public void closeFile()(Code)(Java Doc) public void closeFileWithDiscard()(Code)(Java Doc) public void closeFileWithSave()(Code)(Java Doc) protected void closeProject(String projectName)(Code)(Java Doc) protected void compareReferenceFiles(Document testDoc)(Code)(Java Doc) protected void cutCopyViaStrokes(JEditorPaneOperator txtOper, int key, int mod)(Code)(Java Doc) protected ValueResolver getClipboardResolver(JEditorPaneOperator txtOper, Transferable oldClipValue)(Code)(Java Doc) protected String getDefaultProjectName()(Code)(Java Doc) protected EditorOperator getDefaultSampleEditorOperator()(Code)(Java Doc) final protected String getDefaultSampleName()(Code)(Java Doc) final protected String getDefaultSamplePackage()(Code)(Java Doc) protected void openDefaultProject()(Code)(Java Doc) protected void openDefaultSampleFile()(Code)(Java Doc) public void openFile(String treeSubPackagePathToFile, String fileName)(Code)(Java Doc) public void openFile()(Code)(Java Doc) public void openProject(String projectName)(Code)(Java Doc) protected void openSourceFile(String dir, String srcName)(Code)(Java Doc) protected void pasteViaStrokes(ComponentOperator compOper, int key, int mod, ValueResolver resolver)(Code)(Java Doc) public void waitForChildNode(String parentPath, String childName)(Code)(Java Doc) public static boolean waitMaxMilisForValue(int maxMiliSeconds, ValueResolver resolver, Object requiredValue)(Code)(Java Doc)
|
|
|