| testsuite.BaseTestCase testsuite.regression.NumbersRegressionTest
NumbersRegressionTest | public class NumbersRegressionTest extends BaseTestCase (Code) | | Tests various number-handling issues that have arrisen in the JDBC driver at
one time or another.
author: Mark Matthews |
NumbersRegressionTest | public NumbersRegressionTest(String name)(Code) | | Constructor for NumbersRegressionTest.
Parameters: name - the test name |
main | public static void main(String[] args)(Code) | | Runs all test cases
Parameters: args - command-line args throws: Exception - if any errors occur |
testBigInt | public void testBigInt() throws Exception(Code) | | Tests that BIGINT retrieval works correctly
throws: Exception - if any errors occur |
testBug5729 | public void testBug5729() throws Exception(Code) | | Tests fix for BUG#5729, UNSIGNED BIGINT returned incorrectly
throws: Exception - if the test fails |
testBug8484 | public void testBug8484() throws Exception(Code) | | Tests fix for BUG#8484 - ResultSet.getBigDecimal() throws exception when
rounding would need to occur to set scale.
throws: Exception - if the test fails |
testFloatsAndReals | public void testFloatsAndReals() throws Exception(Code) | | Tests correct type assignment for MySQL FLOAT and REAL datatypes.
throws: Exception - if the test fails. |
testIntShouldReturnLong | public void testIntShouldReturnLong() throws Exception(Code) | | |
testPrecisionAndScale | public void testPrecisionAndScale() throws Exception(Code) | | Tests that ResultSetMetaData precision and scale methods work correctly
for all numeric types.
throws: Exception - if any errors occur |
Methods inherited from testsuite.BaseTestCase | protected void cleanupTempFiles(File exampleTempFile, String tempfilePrefix)(Code)(Java Doc) protected void closeMemberJDBCResources()(Code)(Java Doc) protected void createFunction(String functionName, String functionDefn) throws SQLException(Code)(Java Doc) protected void createProcedure(String procedureName, String procedureDefn) throws SQLException(Code)(Java Doc) protected void createSchemaObject(String objectType, String objectName, String columnsAndOtherStuff) throws SQLException(Code)(Java Doc) protected void createTable(String tableName, String columnsAndOtherStuff) throws SQLException(Code)(Java Doc) protected void dropFunction(String functionName) throws SQLException(Code)(Java Doc) protected void dropProcedure(String procedureName) throws SQLException(Code)(Java Doc) protected void dropSchemaObject(String objectType, String objectName) throws SQLException(Code)(Java Doc) protected void dropTable(String tableName) throws SQLException(Code)(Java Doc) protected Connection getAdminConnection() throws SQLException(Code)(Java Doc) protected Connection getAdminConnectionWithProps(Properties props) throws SQLException(Code)(Java Doc) protected Connection getConnectionWithProps(String propsList) throws SQLException(Code)(Java Doc) protected Connection getConnectionWithProps(String url, String propsList) throws SQLException(Code)(Java Doc) protected Connection getConnectionWithProps(Properties props) throws SQLException(Code)(Java Doc) protected Connection getConnectionWithProps(String url, Properties props) throws SQLException(Code)(Java Doc) protected int getInstanceNumber()(Code)(Java Doc) protected String getMysqlVariable(Connection c, String variableName) throws SQLException(Code)(Java Doc) protected String getMysqlVariable(String variableName) throws SQLException(Code)(Java Doc) protected Properties getPropertiesFromTestsuiteUrl() throws SQLException(Code)(Java Doc) protected int getRowCount(String tableName) throws SQLException(Code)(Java Doc) protected Object getSingleIndexedValueWithQuery(Connection c, int columnIndex, String query) throws SQLException(Code)(Java Doc) protected Object getSingleIndexedValueWithQuery(int columnIndex, String query) throws SQLException(Code)(Java Doc) protected Object getSingleValue(String tableName, String columnName, String whereClause) throws SQLException(Code)(Java Doc) protected Object getSingleValueWithQuery(String query) throws SQLException(Code)(Java Doc) protected boolean isAdminConnectionConfigured()(Code)(Java Doc) protected boolean isClassAvailable(String classname)(Code)(Java Doc) protected boolean isRunningOnJRockit()(Code)(Java Doc) protected boolean isRunningOnJdk131()(Code)(Java Doc) protected boolean isServerRunningOnWindows() throws SQLException(Code)(Java Doc) public void logDebug(String message)(Code)(Java Doc) protected File newTempBinaryFile(String name, long size) throws IOException(Code)(Java Doc) protected String randomString()(Code)(Java Doc) final protected boolean runLongTests()(Code)(Java Doc) protected boolean runMultiHostTests()(Code)(Java Doc) protected boolean runTestIfSysPropDefined(String propName)(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) public void tearDown() throws Exception(Code)(Java Doc) protected boolean versionMeetsMinimum(int major, int minor) throws SQLException(Code)(Java Doc) protected boolean versionMeetsMinimum(int major, int minor, int subminor) throws SQLException(Code)(Java Doc)
|
|
|