A B C L O P R S U 

A

AbstractTest - Class in org.resthub.test
Base class for your non transactional Spring aware unit tests ContextConfiguration is preconfigured to scan your applicationContext.xml files from classpath
AbstractTest() - Constructor for class org.resthub.test.AbstractTest
 
AbstractTransactionalTest - Class in org.resthub.test
Base class for your transactional unit tests, preconfigure Spring test framework It is suitable for your DAO unit tests, that need to be transactional ContextConfiguration is preconfigured to scan your applicationContext.xml files from classpath
AbstractTransactionalTest() - Constructor for class org.resthub.test.AbstractTransactionalTest
 
AbstractWebTest - Class in org.resthub.test
Base class for your webservice tests, based on Jetty and with preconfigured Spring configuration.
AbstractWebTest() - Constructor for class org.resthub.test.AbstractWebTest
Default constructor
AbstractWebTest(String) - Constructor for class org.resthub.test.AbstractWebTest
Constructor allowing to specify Spring active profiles
AbstractWebTest(int) - Constructor for class org.resthub.test.AbstractWebTest
Constructor allowing to specify HTTP port used to run the server
AbstractWebTest(String, int) - Constructor for class org.resthub.test.AbstractWebTest
Constructor allowing to specify Spring active profiles and HTTP port used to run the server
activeProfiles - Variable in class org.resthub.test.AbstractWebTest
List of Spring profiles (use comma separator) to activate For example "resthub-web-server,resthub-jpa"
afterClass() - Method in class org.resthub.test.AbstractWebTest
 
annotationBasedConfig - Variable in class org.resthub.test.AbstractWebTest
When set to true, activate Spring 3.1 JavaConfig based configuration, by setting context param contextClass to org.springframework.web.context.support.AnnotationConfigWebApplicationContext

B

beforeClass() - Method in class org.resthub.test.AbstractWebTest
 

C

client - Variable in class org.resthub.test.AbstractWebTest
RESThub http client used to send test requests
contextLocations - Variable in class org.resthub.test.AbstractWebTest
Default Spring contexts imported.
customizeContextHandler(ServletContextHandler) - Method in class org.resthub.test.AbstractWebTest
You should override it in order to customize the servlet context handler

L

logger - Static variable in class org.resthub.test.AbstractWebTest
 

O

org.resthub.test - package org.resthub.test
Reusable base test classes

P

port - Variable in class org.resthub.test.AbstractWebTest
HTTP port used for running web tests, default is 9797

R

request(String) - Method in class org.resthub.test.AbstractWebTest
Send a request to the embedded test webserver
reusableServer - Static variable in class org.resthub.test.AbstractWebTest
Jetty reusable embedded server that will run your application
rootUrl - Variable in class org.resthub.test.AbstractWebTest
Default rootUrl used to send requests

S

server - Variable in class org.resthub.test.AbstractWebTest
Class specific Jetty embedded server that will run your application
servletContextHandlerOption - Variable in class org.resthub.test.AbstractWebTest
 
startServerOnce - Variable in class org.resthub.test.AbstractWebTest
Specify if the embedded Jetty server should run once (true, default value) or for each class (false)

U

useOpenEntityManagerInViewFilter - Variable in class org.resthub.test.AbstractWebTest
Define in OpenEntityManagerInViewFilter should be activated or not.
A B C L O P R S U 

Copyright © 2009-2014. All Rights Reserved.