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

Tests for MessageResource. More...

Public Member Functions

void cleanupBefore () throws JSONException
 Method cleanup. More...
 
void cleanupAfter () throws JSONException
 Method cleanupAfter. More...
 
void createMessage () throws JSONException
 Method createMessage. More...
 
void createMessageQueue () throws JSONException
 Method createMessageQueue. More...
 
void updateMessageOptionalFields () throws JSONException
 Method updateMessageOptionalFields. More...
 
void updateMessageKeyFields () throws JSONException
 Method updateMessageKeyFields. More...
 
void updateMessageAllFields () throws JSONException
 Method updateMessageAllFields. More...
 
void deleteMessageFromQueue () throws JSONException
 Method deleteMessage. More...
 
void deleteMessage () throws JSONException
 Method deleteMessage. More...
 
void readMessageFromQueue () throws JSONException
 Method readMessage. More...
 
void readMessage () throws JSONException
 Method readMessage. More...
 

Static Public Member Functions

static void startMethod () throws JSONException
 Method startMethod. More...
 
static void cleanup () throws JSONException
 Method finalMethod. More...
 
static void cleanupMessages (String queueName) throws JSONException
 Method cleanupMessages. More...
 
static JSONObject createTestMessageQueue (WebResource wr, String messageId, int priority, String queueName) throws JSONException
 Method createTestMessage. More...
 
static void createMessage (WebResource wr, String id, String queueName) throws JSONException
 Method createMessage. More...
 
static JSONObject readTestMessageFromQueue (WebResource wr, String id, String queueName) throws JSONException
 
static void deleteTestMessage (WebResource wr, String name)
 Method deleteTestMessage. More...
 
static void deleteTestMessageFromQueue (WebResource wr, String name, String queueName)
 Method deleteTestMessageFromQueue. More...
 
static JSONObject findRandomMessage (WebResource wr) throws JSONException
 

Detailed Description

Tests for MessageResource.

Author
costi
Version
Revision:
1.0

Member Function Documentation

static void ro.allevo.fintpws.test.TestMessageResource.cleanup ( ) throws JSONException
inlinestatic

Method finalMethod.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.cleanupAfter ( ) throws JSONException
inline

Method cleanupAfter.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.cleanupBefore ( ) throws JSONException
inline

Method cleanup.

Exceptions
JSONException
static void ro.allevo.fintpws.test.TestMessageResource.cleanupMessages ( String  queueName) throws JSONException
inlinestatic

Method cleanupMessages.

Parameters
queueNameString
Exceptions
JSONException
static void ro.allevo.fintpws.test.TestMessageResource.createMessage ( WebResource  wr,
String  id,
String  queueName 
) throws JSONException
inlinestatic

Method createMessage.

Parameters
wrWebResource
idString
queueNameString
Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.createMessage ( ) throws JSONException
inline

Method createMessage.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.createMessageQueue ( ) throws JSONException
inline

Method createMessageQueue.

Exceptions
JSONException
static JSONObject ro.allevo.fintpws.test.TestMessageResource.createTestMessageQueue ( WebResource  wr,
String  messageId,
int  priority,
String  queueName 
) throws JSONException
inlinestatic

Method createTestMessage.

Parameters
wrWebResource
priorityString
queueNameString
messageIdString
Returns
JSONObject
Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.deleteMessage ( ) throws JSONException
inline

Method deleteMessage.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.deleteMessageFromQueue ( ) throws JSONException
inline

Method deleteMessage.

Exceptions
JSONException
static void ro.allevo.fintpws.test.TestMessageResource.deleteTestMessage ( WebResource  wr,
String  name 
)
inlinestatic

Method deleteTestMessage.

Parameters
wrWebResource
nameString
static void ro.allevo.fintpws.test.TestMessageResource.deleteTestMessageFromQueue ( WebResource  wr,
String  name,
String  queueName 
)
inlinestatic

Method deleteTestMessageFromQueue.

Parameters
wrWebResource
nameString
queueNameString
static JSONObject ro.allevo.fintpws.test.TestMessageResource.findRandomMessage ( WebResource  wr) throws JSONException
inlinestatic
void ro.allevo.fintpws.test.TestMessageResource.readMessage ( ) throws JSONException
inline

Method readMessage.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.readMessageFromQueue ( ) throws JSONException
inline

Method readMessage.

Exceptions
JSONException
static JSONObject ro.allevo.fintpws.test.TestMessageResource.readTestMessageFromQueue ( WebResource  wr,
String  id,
String  queueName 
) throws JSONException
inlinestatic
static void ro.allevo.fintpws.test.TestMessageResource.startMethod ( ) throws JSONException
inlinestatic

Method startMethod.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.updateMessageAllFields ( ) throws JSONException
inline

Method updateMessageAllFields.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.updateMessageKeyFields ( ) throws JSONException
inline

Method updateMessageKeyFields.

Exceptions
JSONException
void ro.allevo.fintpws.test.TestMessageResource.updateMessageOptionalFields ( ) throws JSONException
inline

Method updateMessageOptionalFields.

Exceptions
JSONException

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