Aptana Search Basic Acceptance Tests

From Aptana Development

Contents

General

  1. Goto Search menu and open Search... item from it.Opened dialog should contain Aptana File search page.
  2. Focus on Aptan search page.
  3. Select value for directory field in scope section of the dialog
  4. Click on "Text is Multiline" radio button. Dialog should contain multiline text box now.
  5. Click on "Text is Singleline" radio button. Dialog should contain combo box now.
  6. Close the dialog and reopen again. "Directory" text field value, radio and check box buttons (except of located in scope section) should restore there selection.
  7. Click on search in directory radio button . Check box "Consider derived resources" should be disabled.


Search in open editors

  1. Close all editors.
  2. Create new text file in workspace type "hello world" in it. Save it and then close the editor.
  3. Create new text file in workspace type "hello world2" in it. Do not close the editor
  4. Open search dialog and type "hello world" in "Containing text" field.
  5. Select "*" in "File name patterns" field.
  6. Run the search. Search results should contain match from opened file and should not contain any matches from other files.

Search in Directory

  1. Select directory in "Directory" text field.
  2. Ensure that directory contains text file with "hello world" content.
  3. Select "hello world" value in "Containing text" field.
  4. Select "*" in "File name patterns" field.
  5. Run the search. Search should found the result, all functions of search result page should work same if you were using usual eclipse search and file was located in workspace.

Match Layout

  1. Select search result page with not empty content (it should contain matches).
  2. Open view menu. It should contain three layout modes.
  3. Select Match layout option. View should transform to table with three columns showing individual matches.
  4. You should be able to navigate through matches. Clicking on match should open and select it in a editor.
  5. You should be able to delete selected matches using context menu or 'Del' key.