| Summary: | Trac connector: implement XML-RPC core | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | pombredanne | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 148090 | ||||||||
| Attachments: |
|
||||||||
|
Description
Steffen Pingel
The patch includes abstract test classes and a test class to create a test fixture that is also used by the tests for the query script core. Therefore this patch needs to be merged before the query script core (bug 148090) is merged. Created attachment 45029 [details]
XML-RPC core classes and test classes
Created attachment 45030 [details]
mylar/context/zip
Currently AbstractTracRepositorySearchTest creates a test fixture once when it is first run and stores a boolean flag in a static variable. Basically all tickets are deleted from the repository and a few new ones are created that are queried by the test cases. I took this approach since creating a fresh test fixture each time a test case is run takes a lot more time. I am wondering how this is done for Bugzilla? Does the test repository contain a fixed set of tickets? How is the test fixture created/restored? All of the patches should be applied and the 35 tests I see in AllTracTests pass. Since there were quite a few patches please let me know if I missed one, and close the bugs that are now resolved. Your approach sounds good. For Bugzilla we keep growing the number of comments and number of attachments (potentially also the number of bugs at some point) because we do not have a mechanism for deleting them. (In reply to comment #5) > All of the patches should be applied and the 35 tests I see in AllTracTests > pass. Since there were quite a few patches please let me know if I missed one, > and close the bugs that are now resolved. The patch attached to bug 148090 has not been commited, yet. There should be 59 test cases in total. BTW, it looks like the API of the Trac XmlRpcPlugin has changed slightly in the latest version. Once I update the test server some of the test cases will fail. I will provide a patch for that tomorrow. |