Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369910 - [Client] Support setUp and tearDown functions for client tests
Summary: [Client] Support setUp and tearDown functions for client tests
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M5   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 05:21 EST by Tim Buschtoens CLA
Modified: 2012-01-27 09:10 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Buschtoens CLA 2012-01-27 05:21:01 EST
Support JUnit-like setUp and tearDown function in our javascript test framework. They would probably be called _setUp and _tearDown to be consistent with our js naming for private/protected fields.
Comment 1 Tim Buschtoens CLA 2012-01-27 06:03:14 EST
Changes are in CVS HEAD.

One limitation is that the setUp/tearDone function will also be executed *between* multipart tests (tests that are split into several function to allow dom-events to be fired inbetween them). To fix this would require some deeper changes to TestRunner.js