Unit Test Results

Designed for use with JUnit and Ant.

Class testsuite.simple.MetadataTest

NameTestsErrorsFailuresTime(s)
MetadataTest1620241.832

Tests

NameStatusTypeTime(s)
testForeignKeysSuccess9.794
testGetPrimaryKeysSuccess7.362
testViewMetaDataSuccess9.207
testRSMDIsReadOnlySuccess8.961
testBitTypeSuccess9.015
testSupportsSelectForUpdateSuccess8.756
testTinyint1IsBitSuccess26.054
testGetPrimaryKeysUsingInfoShcemaSuccess18.124
testGetIndexInfoUsingInfoSchemaErrorIllegal operation on empty result set.

java.sql.SQLException: Illegal operation on empty result set. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910) at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java:685) at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:5487) at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5431) at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5447) at testsuite.simple.MetadataTest.testGetIndexInfoUsingInfoSchema(MetadataTest.java:564) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17.893
testGetColumnsUsingInfoSchemaSuccess17.933
testGetTablesUsingInfoSchemaSuccess18.037
testGetColumnPrivilegesUsingInfoSchemaErrorThere is no such grant defined for user 'unittest' on host '192.168.29.20'

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: There is no such grant defined for user 'unittest' on host '192.168.29.20' at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:3118) at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1313) at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1232) at testsuite.simple.MetadataTest.testGetColumnPrivilegesUsingInfoSchema(MetadataTest.java:677) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
18.105
testGetProceduresUsingInfoSchemaSuccess17.873
testGetCrossReferenceUsingInfoSchemaSuccess18.275
testGetExportedKeysUsingInfoSchemaSuccess17.869
testGetImportedKeysUsingInfoSchemaSuccess17.934
Properties »
System.out »
System.err »