Bug 499387: Clean up, Speed up and document Browser test Suite

Fix:
- Adding setWidget(browser) to setUp(), so that browser occupies the
whole shell instead of half of it.

Refactor:
- Consolidated most browser tests into a single class. (There were many
classes with only a single test case).

Speeding up some test cases:
- test_forward : There is no need to wait in this test case as no pages
are loded.
- test_back : as above.
- test_isBackEnabled : as above.
- test_refresh : as above.
- test_stop : There is no need to sleep for 10 seconds after stop
finishes. Stop is not async.

- Split test_setTextLjava_lang_String into that and "test_setTextNull"

etc... similar logic for most refactored tests.

Change-Id: I31b79feeabcc28685b56e0ce1315fd4065f8e206
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=499387
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
12 files changed
tree: 5c152086bebb8f9c0fe66a5bd344fd500775be09
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!