Modify ↓
Ticket #103 (closed defect: fixed)
Add createFakeModule sub to Ebox::Test
| Reported by: | javier.amor.garcia@… | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | 0.11 | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by hblanco@…) (diff)
A sub that create a test stub ebox module.
User must provide:
- name of module
- name of class
May provide:
- extra object methods
- extra class method
- a sub called by the constructor in new objects
- a list of parent classes
We may use:
- Test::MockObject::Extends
- EBox::GConfModule::TestStun?
- EBox::Global::testStub
Attachments
Change History
comment:1 Changed 7 years ago by javier.amor.garcia@…
- Owner changed from juruen@… to javier.amor.garcia@…
- Status changed from new to assigned
comment:3 Changed 7 years ago by javier.amor.garcia@…
- hours changed from 0.0 to 3.0
- Status changed from assigned to closed
- Resolution set to fixed
- totalhours changed from 0.0 to 3.0
comment:4 Changed 7 years ago by javier.amor.garcia@…
- Status changed from closed to reopened
- Resolution fixed deleted
I forgot this: a sub called by the constructor in new objects
comment:5 Changed 7 years ago by javier.amor.garcia@…
- hours changed from 0.0 to 317.0
- Status changed from reopened to closed
- Resolution set to fixed
- totalhours changed from 3.0 to 320.0
Note: See
TracTickets for help on using
tickets.