| lib.EditorTestCase search_replace.SearchTest
SearchTest | public class SearchTest extends EditorTestCase (Code) | | Test of find functionality in editor.
author: Roman Strobl |
SearchTest | public SearchTest(String testMethodName)(Code) | | Creates a new instance of Main
Parameters: testMethodName - name of test |
closeFindDialogIfOpened | public void closeFindDialogIfOpened()(Code) | | Checks if a find dialog is opened and if yes it closes it.
|
testBackwardSearch | public void testBackwardSearch()(Code) | | TC12 - Backward Search
|
testFindDialogComboBox | public void testFindDialogComboBox()(Code) | | TC3 - Find Dialog Combo Box
|
testFindDialogOpenClose | public void testFindDialogOpenClose()(Code) | | TC1 - open and close find dialog
|
testFindNextPrevious | public void testFindNextPrevious()(Code) | | TC14 - Find Next - Previous
|
testFindSelectionRepeated | public void testFindSelectionRepeated()(Code) | | TC2 - Find Selection Repeated
|
testFindSelectionWithoutDialog | public void testFindSelectionWithoutDialog()(Code) | | TC15 - Find Selection Without Dialog
|
testHighlightSearch | public void testHighlightSearch()(Code) | | TC10 - Highlight Search
|
testIncrementalSearch | public void testIncrementalSearch()(Code) | | TC11 - Incremental Search
|
testMatchCase | public void testMatchCase()(Code) | | TC6 - Match Case
|
testMatchWholeWordsOnly | public void testMatchWholeWordsOnly()(Code) | | TC9 - Match Whole Words Only
|
testNothingFound | public void testNothingFound()(Code) | | TC5 - Nothing Found
|
testRegexpComplex | public void testRegexpComplex()(Code) | | TC19 - Regexp Search - Complex
|
testRegexpSimple | public void testRegexpSimple()(Code) | | TC18 - Regexp Search - Simple
|
testSearchSelection | public void testSearchSelection()(Code) | | TC16 - Search Selection
|
testSearchSelectionNegative | public void testSearchSelectionNegative()(Code) | | TC17 - Search Selection Negative
|
testUnselectedAllOptions | public void testUnselectedAllOptions()(Code) | | TC4 - Unselected All Options
|
testWrapSearch | public void testWrapSearch()(Code) | | TC13 - Wrap Search
|
uncheckAll | public void uncheckAll()(Code) | | Unchecks all checkboxes in find dialog.
|
waitForLabel | public void waitForLabel(String label)(Code) | | Waits for label to appear on Status Bar, checks it 10 times before
failing.
Parameters: label - label which should be displayed on status bar |
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, int key, int mod, String oldVal)(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 ValueResolver getTextFieldResolver(JTextFieldOperator oper, String newValue)(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) protected boolean waitMaxMilisForValue(int maxMiliSeconds, ValueResolver resolver, Object requiredValue)(Code)(Java Doc)
|
|
|