DixieBaseChaosProvider Class Reference
Inherits from | NSObject |
Declared in | DixieBaseChaosProvider.h DixieBaseChaosProvider.m |
Instance Methods
chaos
Returns a new behaviour implementation
- (IMP)chaos
Return Value
An implementation pointer
Discussion
Returns a new behaviour implementation
Declared In
DixieBaseChaosProvider.h
chaosImplementationFor:environment:
The behaviour implementation
- (void)chaosImplementationFor:(id)victim environment:(id)environment
Parameters
- victim
The class or instance of the class, that’s method should be changed
- environment
A DixieCallEnvironment, that describes the arguments and return value
Discussion
The behaviour implementation
Declared In
DixieBaseChaosProvider.h
forwardChaosOf:environment:to:
Will forward the result of one DixieChaosProvider to the next.
- (void)forwardChaosOf:(id)victim environment:(id)environment to:(id)chaosProvider
Parameters
- victim
The class or instance of the class, that’s method should be changed
- environment
A DixieCallEnvironment, that describes the arguments and return value
- chaosProvider
The target DixieBaseChaosProvider, who should provider the behaviour
Discussion
Will forward the result of one DixieChaosProvider to the next.
Declared In
DixieBaseChaosProvider.h