#include <TestExecWriteRequest.hpp>
Inheritance diagram for TestExecWriteRequest:
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. |
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 !!!
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