API FinTP REST
 All Classes Namespaces Files Functions Variables
ro.allevo.fintpws.test.TestHelper Class Reference

Static Public Member Functions

static JSONObject assertResponse (WebResource wr, String method, String path, int status, Object entity) throws JSONException
 
static JSONObject assertResponseMethodNotAllowed (WebResource wr, String method, String path, Object entity) throws JSONException
 
static JSONObject assertResponseConflict (WebResource wr, String method, String path, Object entity) throws JSONException
 
static JSONObject assertResponseCreated (WebResource wr, String method, String path, Object entity) throws JSONException
 
static JSONObject assertResponseOK (WebResource wr, String method, String path, Object entity) throws JSONException
 
static JSONObject assertResponseNotFound (WebResource wr, String method, String path, Object entity) throws JSONException
 
static JSONObject assertResponseBadRequest (WebResource wr, String method, String path, Object entity) throws JSONException
 

Private Member Functions

 TestHelper ()
 

Static Private Attributes

static Logger logger
 Field logger. More...
 

Constructor & Destructor Documentation

ro.allevo.fintpws.test.TestHelper.TestHelper ( )
inlineprivate

Member Function Documentation

static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponse ( WebResource  wr,
String  method,
String  path,
int  status,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseBadRequest ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseConflict ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseCreated ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseMethodNotAllowed ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseNotFound ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic
static JSONObject ro.allevo.fintpws.test.TestHelper.assertResponseOK ( WebResource  wr,
String  method,
String  path,
Object  entity 
) throws JSONException
inlinestatic

Member Data Documentation

Logger ro.allevo.fintpws.test.TestHelper.logger
staticprivate
Initial value:
= LogManager.getLogger(TestHelper.class
.getName())

Field logger.


The documentation for this class was generated from the following file: