#include <TestBeginCommitRollback.hpp>
Inheritance diagram for TestBeginCommitRollback:
Public Member Functions | |
virtual void | setUp () |
Calls ConnectionSetup::setUp() then set connection autocommit=false. | |
void | testReadRequestAndCommit () |
Sends a read request and a checks that a commit won't raise an error. | |
void | testReadRequestAndRollback () |
Sends a read request and a checks that a roolback won't raise an error. | |
void | testWriteRequestAndCommit () |
Sends a write request and a commit inside a transaction and checks that the value has been written correctly. | |
void | testWriteRequestAndRollback () |
Sends a write request and a rollback inside a transaction and checks that the value has not been written. | |
Static Public Member Functions | |
static CppUnit::Test * | suite () |
Suite of tests to be run. |
Runs read and write requests inside transactions. A controller *MUST* run locally for test success !!!