org.jboss.resteasy.test
Class BaseResourceTest

java.lang.Object
  extended by org.jboss.resteasy.test.BaseResourceTest

public abstract class BaseResourceTest
extends Object

Version:
$Revision:$
Author:
Ryan J. McDonough

Field Summary
protected static ResteasyDeployment deployment
           
protected static Dispatcher dispatcher
           
 
Constructor Summary
BaseResourceTest()
           
 
Method Summary
static void addPerRequestResource(Class<?> resource)
           
static void after()
           
static void before()
           
 ResteasyProviderFactory getProviderFactory()
           
 Registry getRegistry()
           
 String readString(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deployment

protected static ResteasyDeployment deployment

dispatcher

protected static Dispatcher dispatcher
Constructor Detail

BaseResourceTest

public BaseResourceTest()
Method Detail

before

public static void before()
                   throws Exception
Throws:
Exception

after

public static void after()
                  throws Exception
Throws:
Exception

getRegistry

public Registry getRegistry()

getProviderFactory

public ResteasyProviderFactory getProviderFactory()

addPerRequestResource

public static void addPerRequestResource(Class<?> resource)
Parameters:
resource -

readString

public String readString(InputStream in)
                  throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.