net.grinder.util.weave.j2se6
Class TestASMTransformerFactory.PointCutRegistryStubFactory

java.lang.Object
  extended by junit.framework.Assert
      extended by net.grinder.testutility.CallRecorder
          extended by net.grinder.testutility.AbstractStubFactory<T>
              extended by net.grinder.testutility.RandomStubFactory<net.grinder.util.weave.j2se6.PointCutRegistry>
                  extended by net.grinder.util.weave.j2se6.TestASMTransformerFactory.PointCutRegistryStubFactory
All Implemented Interfaces:
net.grinder.testutility.CallAssertions
Enclosing class:
TestASMTransformerFactory

public static final class TestASMTransformerFactory.PointCutRegistryStubFactory
extends net.grinder.testutility.RandomStubFactory<net.grinder.util.weave.j2se6.PointCutRegistry>


Nested Class Summary
 
Nested classes/interfaces inherited from class net.grinder.testutility.CallRecorder
net.grinder.testutility.CallRecorder.MethodFilter
 
Constructor Summary
protected TestASMTransformerFactory.PointCutRegistryStubFactory()
           
 
Method Summary
 void addConstructor(Class<?> theClass, Constructor<?> constructor, String location)
           
<T extends Member>
void
addMember(Class<?> theClass, T member, String location, Map<String,Map<T,List<net.grinder.util.weave.j2se6.WeavingDetails>>> members, Weaver.TargetSource source)
           
 void addMethod(Class<?> theClass, Method method, String location)
           
 void addMethod(Class<?> theClass, Method method, String location, Weaver.TargetSource source)
           
 void addMethod(Class<?> theClass, String methodName, String location)
          Convenience for methods that have no parameters.
 void clear()
           
 Map<Constructor<?>,List<net.grinder.util.weave.j2se6.WeavingDetails>> override_getConstructorPointCutsForClass(Object stub, String className)
           
 Map<Method,List<net.grinder.util.weave.j2se6.WeavingDetails>> override_getMethodPointCutsForClass(Object stub, String className)
           
 
Methods inherited from class net.grinder.testutility.RandomStubFactory
create
 
Methods inherited from class net.grinder.testutility.AbstractStubFactory
getAllInterfaces, getClass, getStub, setResult, setThrows
 
Methods inherited from class net.grinder.testutility.CallRecorder
assertException, assertException, assertException, assertException, assertNoMoreCalls, assertSuccess, assertSuccess, getCallHistory, record, resetCallHistory, setIgnoreCallOrder, setIgnoreMethod, setIgnoreObjectMethods, waitUntilCalled
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestASMTransformerFactory.PointCutRegistryStubFactory

protected TestASMTransformerFactory.PointCutRegistryStubFactory()
Method Detail

clear

public void clear()

override_getConstructorPointCutsForClass

public Map<Constructor<?>,List<net.grinder.util.weave.j2se6.WeavingDetails>> override_getConstructorPointCutsForClass(Object stub,
                                                                                                                      String className)

override_getMethodPointCutsForClass

public Map<Method,List<net.grinder.util.weave.j2se6.WeavingDetails>> override_getMethodPointCutsForClass(Object stub,
                                                                                                         String className)

addConstructor

public void addConstructor(Class<?> theClass,
                           Constructor<?> constructor,
                           String location)

addMethod

public void addMethod(Class<?> theClass,
                      String methodName,
                      String location)
               throws SecurityException,
                      NoSuchMethodException
Convenience for methods that have no parameters.

Throws:
SecurityException
NoSuchMethodException

addMethod

public void addMethod(Class<?> theClass,
                      Method method,
                      String location)

addMethod

public void addMethod(Class<?> theClass,
                      Method method,
                      String location,
                      Weaver.TargetSource source)

addMember

public <T extends Member> void addMember(Class<?> theClass,
                                         T member,
                                         String location,
                                         Map<String,Map<T,List<net.grinder.util.weave.j2se6.WeavingDetails>>> members,
                                         Weaver.TargetSource source)


Copyright © 2000-2013. All Rights Reserved.