[
https://issues.apache.org/jira/browse/DERBY-6284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13698663#comment-13698663
]
ahsan shamsudeen commented on DERBY-6284:
-----------------------------------------
The lastAutoinccrementValue() is seems unused as Knut Anders Hatlen suggested
.What should I do for that? However, I try to build test cases for above two
methods.
public void testLastAutoincrementValue() throws Exception {
String schemaName = "";
String tableName = "";
String columnName = "";
Long expResult = null;
Long result = ConnectionInfo.lastAutoincrementValue(schemaName,
tableName, columnName);
assertEquals(expResult, result);
fail("The test case is not yet implemented");
}
public void testNextAutoincrementValue() throws Exception {
String schemaName = "";
String tableName = "";
String columnName = "";
long expResult = 0L;
long result = ConnectionInfo.nextAutoincrementValue(schemaName,
tableName, columnName);
assertEquals(expResult, result);
fail("The test case is not yet implemented.");
}
what are the values should i give to schemaName, tableName,columnName ? I have
to create a new schema to test out or can use an existing schema?
> Improve test coverage of org.apache.derby.iapi.db.ConnectionInfo
> ----------------------------------------------------------------
>
> Key: DERBY-6284
> URL: https://issues.apache.org/jira/browse/DERBY-6284
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC
> Reporter: Bryan Pendleton
> Assignee: ahsan shamsudeen
> Priority: Minor
>
> According to code coverage analysis, org.apache.derby.iapi.db.ConnectionInfo
> is
> not currently being exercised by any of our regression tests.
> This task is to investigate this class, and either remove the unused code, or
> add
> regression test that exercise the code, as appropriate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira