org.powermock.tests.utils.impl
Class TestChunkImpl

java.lang.Object
  extended by org.powermock.tests.utils.impl.TestChunkImpl
All Implemented Interfaces:
TestChunk

public class TestChunkImpl
extends java.lang.Object
implements TestChunk

A test chunk consists of a list of methods that should be executed by a particular classloader.


Constructor Summary
TestChunkImpl(java.lang.ClassLoader classLoader, java.util.List<java.lang.reflect.Method> testMethodsToBeExecutedByThisClassloader)
           
 
Method Summary
 java.lang.ClassLoader getClassLoader()
          
 java.util.List<java.lang.reflect.Method> getTestMethodsToBeExecutedByThisClassloader()
          
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestChunkImpl

public TestChunkImpl(java.lang.ClassLoader classLoader,
                     java.util.List<java.lang.reflect.Method> testMethodsToBeExecutedByThisClassloader)
Method Detail

getClassLoader

public java.lang.ClassLoader getClassLoader()

Specified by:
getClassLoader in interface TestChunk

getTestMethodsToBeExecutedByThisClassloader

public java.util.List<java.lang.reflect.Method> getTestMethodsToBeExecutedByThisClassloader()

Specified by:
getTestMethodsToBeExecutedByThisClassloader in interface TestChunk

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object