Closed (fixed)
Project:
Mockable: Mock objects for Drupal
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2013 at 20:35 UTC
Updated:
6 Aug 2013 at 03:31 UTC
The basis of the mockable module is to be able to determine whether the mockable version of given functions should be used or not.
Examples:
mockable_set('*') make the system use mock objects whenever possible
mockable_set('time_*) make the system use mock function for all functions beginning with time_
mockable_reset('*') make the system use real data everywhere (the default)
mockable_reset('time_*') make the system use real data for time_* and mock functions for anything that has been previously set.
This should be tested.
Comments
Comment #1
alberto56 commentedComment #2.0
(not verified) commentedUpdated issue summary.