Modify

Ticket #103 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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:2 Changed 7 years ago by hblanco@…

  • Description modified (diff)
  • Milestone set to 0.11

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

comment:6 Changed 7 years ago by javier.amor.garcia@…

  • hours changed from 0.0 to -316.5
  • totalhours changed from 320.0 to 3.5

comment:7 Changed 7 years ago by javier.amor.garcia@…

(In [5327]) close #103

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.