Changes between Version 6 and Version 7 of mutations
- Timestamp:
- 08/21/2013 02:41:38 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mutations
v6 v7 35 35 36 36 {{{MutationFactory onMethodWrappers}}} 37 -> Mutations will be applied wrapping the mutated methods by MethodWrappers. After a crash, the original state of the image can always be restored usingMethodFactory cleanupMethodWrappers37 -> Mutations will be applied wrapping the mutated methods by !MethodWrappers. After a crash, the original state of the image can always be restored using !MethodFactory cleanupMethodWrappers 38 38 39 39 '''2. Optional: Configure the !MutationScope'''[[BR]] 40 40 41 The MutationFactory has an instance of typeMutationScope called scope.41 The !MutationFactory has an instance of type !MutationScope called scope. 42 42 It is required, when the method to be mutated should be selected randomly.[[BR]] 43 43 … … 48 48 '''3. Create a Mutation object'''[[BR]] 49 49 50 The methods of MutationFactory in the protocol 'mutation creation' create Mutation objects.[[BR]]50 The methods of !MutationFactory in the protocol 'mutation creation' create Mutation objects.[[BR]] 51 51 52 52 {{{#createMutation:withParameters:forMethod:}}} is the most general one, allowing to specify … … 58 58 parameters randomly. 59 59 Following aspects are relevant: 60 - The Mutation class - specifies, which mutation will be created. Will be picked from all non-abstract subclasses of Mutation (assembled in MutationFactory class >> #availableMutations)61 - The method - the mutated method. Will be picked from the configured MutationScope60 - The Mutation class - specifies, which mutation will be created. Will be picked from all non-abstract subclasses of Mutation (assembled in !MutationFactory class >> #availableMutations) 61 - The method - the mutated method. Will be picked from the configured !MutationScope 62 62 - The Mutation parameters - depend on the created Mutation. Cannot be specified without specifiying the Mutation class. Check the 'parameters' protocols of the Mutation classes, and class-comments of these classes, for detailed information. If required, the Mutation will be asked to create random parameters. 63 63