| Summary: | Let client tests use real resources | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M4 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 351769 | ||
|
Description
Ralf Sternberg
The client tests now start a RAP application that provides the resources. A service handler returns the actual resource locations for the client library and the default theme. It turned out that this change made test-driven development difficult, since the test server needs to be restarted after every change. Moreover, having separate JavaScipt files makes debugging easier on the client. Therefore I re-installed the ClientResourcesAdapter and let the ClientResourcesServiceHandler deliver the resources. With this change, the theming resources are still loaded from a live RAP application, so the tests don't have to be adjusted after theming changes. It is still possible to deploy the js tests on a server. |