Bug 511849 (part1) Refactor Browser Listener tests (Split tests) 

a) Split some test cases into two. Rule of testing: Each test case
should only test 1 thing. 

b) Replaced some try/catch with jUnit annotation: 
@Test(expected = IllegalArgumentException.class) 
(I will replace a few remaining try/catch in subsequent commits) 

Patchset 4:
- removed redundant 'fail()'
- I will go through all try/catch jUnit tests and fix those up in
subsequent commit. (Too many merge conflict with subsequent patch
otherwise).

Change-Id: I051b6651398c9f5640b22f6f06f3efd2a0c46a83 
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com> 
1 file changed
tree: 27c42274068fc019f6aad37aa6047e4ed6a57683
  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!