TestExecWriteRequest Class Reference

Test class for ExecWriteRequest command. More...

#include <TestExecWriteRequest.hpp>

Inheritance diagram for TestExecWriteRequest:

ConnectionSetup List of all members.

Public Member Functions

void testWriteBadRequest ()
 Tries to send a dummy write request to the controller and checks that the error is consistent.
void testWriteBadTable ()
 Tries to do a good write request on a dummy table and checks that the error is consistent.
void testWriteGood ()
 Sends a valid update request to the controller and checks that there is no error.
void doNWrites (std::wstring, int)
 Sends given arg writes displaying given function name.
void testThreadedWrite ()
 Launches 10 threads doing 100 writes each DISABLED TEST because too long.
void testWriteThousandGood ()
 Sends 1000 valid update requests to the controller and checks that there is no error.
void testLongWriteMySQL ()
 Sends a 10s write query to check socket timeout issues.

Static Public Member Functions

static CppUnit::Test * suite ()
 Suite of tests to be run.

Detailed Description

Test class for ExecWriteRequest command.

Tries to run a dummy request, then a request on a dummy table, then a correct request and finally a correct request played 1000 times A controller *MUST* run locally for test success !!!


Member Function Documentation

void TestExecWriteRequest::testLongWriteMySQL (  ) 

Sends a 10s write query to check socket timeout issues.

DISABLED TEST, mysql only

void TestExecWriteRequest::testWriteThousandGood (  ) 

Sends 1000 valid update requests to the controller and checks that there is no error.

DISABLED TEST because too long


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 17:40:19 2007 for Carob by  doxygen 1.4.7