net.grinder.scriptengine.jython.instrumentation.dcr
Class AbstractJythonDCRInstrumenterTestCase

java.lang.Object
  extended by net.grinder.scriptengine.jython.instrumentation.AbstractJythonInstrumenterTestCase
      extended by net.grinder.scriptengine.jython.instrumentation.dcr.AbstractJythonDCRInstrumenterTestCase
Direct Known Subclasses:
TestJython22Instrumenter, TestJython25Instrumenter

public abstract class AbstractJythonDCRInstrumenterTestCase
extends AbstractJythonInstrumenterTestCase

Common stuff for Jython DCR instrumenters.

Author:
Philip Aston

Field Summary
 
Fields inherited from class net.grinder.scriptengine.jython.instrumentation.AbstractJythonInstrumenterTestCase
m_instrumenter, m_interpreter, m_one, m_recorder, m_recorderStubFactory, m_six, m_test, m_three, m_two, m_zero
 
Constructor Summary
AbstractJythonDCRInstrumenterTestCase(Instrumenter instrumenter)
           
 
Method Summary
protected  void assertTargetReference(org.python.core.PyObject proxy, Object original, boolean unwrapTarget)
           
protected  void assertTestReference(org.python.core.PyObject pyObject, Test test)
           
 void tearDown()
           
 void testCreateProxyWithJavaClass()
           
 void testCreateProxyWithPyJavaInstance()
           
 void testInstrumentationWithNonWrappableParameters()
           
 void testInstrumentationWithPyClass()
           
 void testInstrumentationWithPyDerivedClass()
           
 void testInstrumentationWithPyLambda()
           
 void testInstrumentationWithReflectedConstructor()
           
 void testInstrumentationWithStaticMethod()
           
 void testJavaBoundMethod()
          See bug 2992248.
 void testJavaBoundMethodSuperClassImplementation()
           
 void testJavaBoundMethodThroughInterface()
           
 void testJavaStaticMethod()
          See bug 2992248.
 void testJavaUnboundMethod()
           
 
Methods inherited from class net.grinder.scriptengine.jython.instrumentation.AbstractJythonInstrumenterTestCase
assertNotWrappable, assertNotWrappableByThisInstrumenter, assertTargetReference, assertVersion, createInstrumentedProxy, getClassForInstance, getInterpretter, getJythonVersion, testCreateProxyWithBoundPyMethod, testCreateProxyWithPyFunction, testCreateProxyWithPyInstance, testCreateProxyWithPyProxy, testCreateProxyWithPyReflectedFunction, testCreateProxyWithRecursiveCode, testCreateProxyWithUnboundPyMethod, testPyDispatcherErrorHandling, testSelectiveInstrumentUnsupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJythonDCRInstrumenterTestCase

public AbstractJythonDCRInstrumenterTestCase(Instrumenter instrumenter)
Method Detail

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

assertTestReference

protected void assertTestReference(org.python.core.PyObject pyObject,
                                   Test test)
Specified by:
assertTestReference in class AbstractJythonInstrumenterTestCase

assertTargetReference

protected void assertTargetReference(org.python.core.PyObject proxy,
                                     Object original,
                                     boolean unwrapTarget)
Specified by:
assertTargetReference in class AbstractJythonInstrumenterTestCase

testInstrumentationWithNonWrappableParameters

public void testInstrumentationWithNonWrappableParameters()
                                                   throws Exception
Throws:
Exception

testInstrumentationWithPyClass

public void testInstrumentationWithPyClass()
                                    throws Exception
Throws:
Exception

testInstrumentationWithPyDerivedClass

public void testInstrumentationWithPyDerivedClass()
                                           throws Exception
Throws:
Exception

testInstrumentationWithStaticMethod

public void testInstrumentationWithStaticMethod()
                                         throws Exception
Throws:
Exception

testInstrumentationWithReflectedConstructor

public void testInstrumentationWithReflectedConstructor()
                                                 throws Exception
Throws:
Exception

testInstrumentationWithPyLambda

public void testInstrumentationWithPyLambda()
                                     throws Exception
Throws:
Exception

testCreateProxyWithPyJavaInstance

public void testCreateProxyWithPyJavaInstance()
                                       throws Exception
Throws:
Exception

testCreateProxyWithJavaClass

public void testCreateProxyWithJavaClass()
                                  throws Exception
Throws:
Exception

testJavaBoundMethod

public void testJavaBoundMethod()
                         throws Exception
See bug 2992248.

Throws:
Exception

testJavaStaticMethod

public void testJavaStaticMethod()
                          throws Exception
See bug 2992248.

Throws:
Exception

testJavaUnboundMethod

public void testJavaUnboundMethod()
                           throws Exception
Throws:
Exception

testJavaBoundMethodSuperClassImplementation

public void testJavaBoundMethodSuperClassImplementation()
                                                 throws Exception
Throws:
Exception

testJavaBoundMethodThroughInterface

public void testJavaBoundMethodThroughInterface()
                                         throws Exception
Throws:
Exception


Copyright © 2000-2013. All Rights Reserved.