Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369910

Summary: [Client] Support setUp and tearDown functions for client tests
Product: [RT] RAP Reporter: Tim Buschtoens <tbuschto>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: tbuschto
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: All   
OS: All   
Whiteboard:

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