Unit Test Results

Designed for use with JUnit and Ant.

Class testsuite.simple.MetadataTest

NameTestsErrorsFailuresTime(s)
MetadataTest16208.633

Tests

NameStatusTypeTime(s)
testForeignKeysSuccess0.957
testGetPrimaryKeysSuccess0.300
testViewMetaDataSuccess0.328
testRSMDIsReadOnlySuccess0.312
testBitTypeSuccess0.305
testSupportsSelectForUpdateSuccess0.285
testTinyint1IsBitSuccess0.465
testGetPrimaryKeysUsingInfoShcemaSuccess0.374
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)
0.400
testGetColumnsUsingInfoSchemaSuccess0.378
testGetTablesUsingInfoSchemaSuccess0.398
testGetColumnPrivilegesUsingInfoSchemaErrorThere is no such grant defined for user 'unittest' on host '192.168.29.254'

com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: There is no such grant defined for user 'unittest' on host '192.168.29.254' 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)
0.440
testGetProceduresUsingInfoSchemaSuccess0.680
testGetCrossReferenceUsingInfoSchemaSuccess0.997
testGetExportedKeysUsingInfoSchemaSuccess1.423
testGetImportedKeysUsingInfoSchemaSuccess0.392
Properties »
System.out »
System.err »