Todos

Class Class Todos Count Method Todos Count Field Todos Count
org.virtualmock.VM 0 1 0
org.virtualmock.VMFactory 0 1 0
org.virtualmock.aspect.AspectUtils 0 1 0
org.virtualmock.aspect.aspectj.AspectjAspectUtils 1 1 0
org.virtualmock.aspect.aspectwerkz.AspectwerkzAspectUtils 0 3 0
org.virtualmock.aspect.aspectwerkz.MethodInterceptorAdvice 0 1 0
org.virtualmock.aspect.aspectwerkz.UnitTestInterceptorAdvice 0 1 0
org.virtualmock.call.Call 0 2 0
org.virtualmock.call.RecordedCall 0 1 0
org.virtualmock.call.RecordedCallQueue 0 3 0
org.virtualmock.call.Signature 0 1 0
org.virtualmock.configuration.ExcludedClassesParser 1 0 0
org.virtualmock.configuration.VMConfig 1 0 0
org.virtualmock.resource.ResourceManager 1 0 0
org.virtualmock.rule.AllRecordedCallsMustBeInvokedRule 0 1 0
org.virtualmock.rule.RuleManager 1 2 0
org.virtualmock.taskdef.VMTransformTask 0 2 0
org.virtualmock.taskdef.VMUnitTask 1 5 0

org.virtualmock.VM

Method Todos
verify(): The verify phase should be set on any type of verify call. Need to think of a reliable way to set it rather than in each call.

org.virtualmock.VMFactory

Method Todos
createResourceManager(): Read Locale settings from config file

org.virtualmock.aspect.AspectUtils

Method Todos
isClassExcluded(): hardcoded to exclude VMTest class as an example

org.virtualmock.aspect.aspectj.AspectjAspectUtils

Class Todos
Write unit test for this class.
Method Todos
isJoinPointExcluded(): expose some API on VM to allow user to dynamically define multiple class exclusion patterns

org.virtualmock.aspect.aspectwerkz.AspectwerkzAspectUtils

Method Todos
isJoinPointExcluded(): Expose some API on VM to allow user to dynamically define multiple class exclusion patterns.
getInvokedCallFromMethodJoinPoint(): write unit test for this
getSignatureFromMethodJoinPoint(): Write unit test for this

org.virtualmock.aspect.aspectwerkz.MethodInterceptorAdvice

Method Todos
execute(): Add functionality to report on collaborators that are not mocked. This will happen just prior to the JoinPoint.proceed() on the last line.

org.virtualmock.aspect.aspectwerkz.UnitTestInterceptorAdvice

Method Todos
execute(): The code in this class related to primitives is a workaround for an AspectWerkz problem with handling null return values for primitive return types

org.virtualmock.call.Call

Method Todos
validateReturnValue(): Does this method properly validate non-primitives of an invalid (non-assignable) type?
validateReturnValue(): Can the common logic in this method be combined with the logic in validateArguments and abstracted out?

org.virtualmock.call.RecordedCall

Method Todos
hasMatchingArgs(): need to implement support for configurable default ArgMatcher, instead of hardcoding default to EqualsMatcher

org.virtualmock.call.RecordedCallQueue

Method Todos
getMatchingCall(): Implement getMatchingCallOrdered().
getMatchingCallUnordered(): Implement ability to set unlimited invocations via VM.
getMatchingCallUnordered(): Need functional test for unlimited invocations.

org.virtualmock.call.Signature

Method Todos
toString(): investigate all possible values for return type string other than not null, null, or void

org.virtualmock.configuration.ExcludedClassesParser

Class Todos
This should be refactored into a generic reusable parser, now that all dependencies are passed in via constructor.

org.virtualmock.configuration.VMConfig

Class Todos
revisit design of how rules are stored - current method of storing types is really just a proof of concept to parse the info out of the XML config file. Also update javadoc.

org.virtualmock.resource.ResourceManager

Class Todos
i18n.

org.virtualmock.rule.AllRecordedCallsMustBeInvokedRule

Method Todos
getViolationMessage(): make this message cleaner and more descriptive

org.virtualmock.rule.RuleManager

Class Todos
Figure out how rules will be handled - ignore, warn, fail...
Method Todos
checkAllRulesInCurrentPhase(): for now, only shows first message for first failed rule. Should optionally show all messages
checkAllRulesInCurrentPhase(): for now, processes all rules regardless of phase

org.virtualmock.taskdef.VMTransformTask

Method Todos
createClasspath(): Do we need to add anything to the classpath? If so, what?
createClasspath(): What about forked mode?

org.virtualmock.taskdef.VMUnitTask

Class Todos
What's the easiest way to write a unit test for an Ant task?
Method Todos
createClasspath(): Do we need to add anything to the classpath? If so, what?
createClasspath(): What about forked mode?
execute(): This is currently hardcoded for AspectJ
execute(): This is currently hardcoded for absolute path on Chad's machine. Make these task parameters
execute(): How can the transformed jar be put at the beginning of the classpath?