org.dawb.common.python.test
Class JepTest

java.lang.Object
  extended by org.dawb.common.python.test.JepTest

public class JepTest
extends java.lang.Object


Constructor Summary
JepTest()
           
 
Method Summary
static int[] getData()
           
 void testJepBasic()
          At least this one works...
 void testMemoryLeakJep()
          Memory leak occurs here - THIS DIES FAIRLY HORRIBLY
 void testMemoryLeakUsingScriptFile()
          THIS DIES HORRIBLY
 void testSendingMemoryWithPythonCallingData()
          We get python to call back on Java, if Java calls python directly, the variable sent to python is never deallocated causing a memory leak.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JepTest

public JepTest()
Method Detail

testJepBasic

public void testJepBasic()
                  throws java.lang.Throwable
At least this one works...

Throws:
java.lang.Throwable

getData

public static int[] getData()

testSendingMemoryWithPythonCallingData

public void testSendingMemoryWithPythonCallingData()
                                            throws java.lang.Throwable
We get python to call back on Java, if Java calls python directly, the variable sent to python is never deallocated causing a memory leak.

Throws:
java.lang.Throwable

testMemoryLeakJep

public void testMemoryLeakJep()
                       throws java.lang.Throwable
Memory leak occurs here - THIS DIES FAIRLY HORRIBLY

Throws:
java.lang.Throwable

testMemoryLeakUsingScriptFile

public void testMemoryLeakUsingScriptFile()
                                   throws java.lang.Throwable
THIS DIES HORRIBLY

Throws:
java.lang.Throwable