#include <TestPreparedStatement.hpp>
Inheritance diagram for TestPreparedStatement:

Public Member Functions | |
| void | testPrepareEmptyStatement () |
| Creates a Statement and prepares it without setting the query first (should throw an exception). | |
| void | testPrepareEmptyParameterStatement () |
| Creates a ParameterStatement and prepares it without setting the query first (should throw an exception). | |
| void | testPrepareUpdateStatement () |
| Creates a Statement, executes an update and tries to prepare it (should throw an exception). | |
| void | testPrepareUpdateParameterStatement () |
| Creates a ParameterStatement, executes an update and tries to prepare it (should return NULL). | |
| void | testPrepareExecuteQueryStatement () |
| Creates a Statement, executes a query and tries to prepare it (should return the result's metadata). | |
| void | testPrepareExecuteQueryParameterStatement () |
| Creates a ParameterStatement, executes a query and tries to prepare it (should return the result's metadata). | |
| void | testPrepareExecuteStatement () |
| Creates a Statement, executes a query with execute and tries to prepare it (should return the result's metadata). | |
| void | testPrepareExecuteParameterStatement () |
| Creates a ParameterStatement, executes a query with execute and tries to prepare it (should return the result's metadata). | |
| void | testPrepareStatement () |
| Creates a Statement, set the query and prepares it. | |
| void | testPrepareParameterStatement () |
| Creates a ParameterStatement, set the query and prepares it. | |
Static Public Member Functions | |
| static CppUnit::Test * | suite () |
| Suite of tests to be run. | |
Even there is no real prepared statement class, any statement or parameter statement can be prepared by the command getMetaData(). This class tests both statement types preparation. This is basically a copy of exec read and exec write commands testing demo-raidb1 *MUST* run locally for test success !!!
1.5.0