summaryrefslogtreecommitdiff
path: root/modules/unit_test
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-03 05:59:38 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-03 05:59:38 +0000
commit7cadb4b21b90864b4151481da9aba244d7083788 (patch)
treef8df3ce866f69a6bc11790d3b2cb4c18a4ba297b /modules/unit_test
parent1d5cca34efcd25473f00ed5d6594ea15c569622f (diff)
Refactored the batch Api: 1) created a small batch helper class:
Starting a batch call batch::operation(name, item). In the case of adding photos name = add and item is the parent of the new items. When the operation is finished the batch::end_operation(name) is called. operation and end_operation events are called. Handlers (i.e. item_created) can call batch::in_progress(name) to determine if a batch is being processed.
Diffstat (limited to 'modules/unit_test')
0 files changed, 0 insertions, 0 deletions