Red Hat Bugzilla – Bug 178919
Create mock provider
Last modified: 2013-04-02 00:20:58 EDT
Connecting to real bugzillas during testing could be useful but is impossible
under certain circumstances, and very slow as well. We need to make a mockup
provider class that would act as a stand in and be able to feed information to
tests of the rest of the plugin.
I have implemented a basic mock bugzilla provider which is included in the 0.2.0
release that should land in rawhide today. This currently involves the
MockBugzillaQueryOptions, MockBugzillaUser and MockBugzillaServer and
MockBugzillaOperations_Mock is currently completely unimplemented, containing
all the stubs.
The other classes are partially implemented and support creating and adding
options and users to a bugzilla through a public API. What is currently not
supported is querying, creating a new bug, and modifying a bug. I will add these
over the next few days and start using these classes for testing purposes.
User firstname.lastname@example.org's account has been closed
We are now shipping Mylyn which obsoletes the old bugzilla plugin. Please open
a request at bugs.eclipse.org against Mylyn if this issue persists. Thank you.