Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5851

Inconsistent code coverage shown for LogicalPreparedStatement40

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.10.1.1
    • Test
    • None

    Description

      I tried running org.apache.derbyTesting.functionTests.tests.jdbc4.PreparedStatementTest with a connectionCPDecorator in a JDBC4 environment. So this should actually run the test with LogicalPreparedStatement40 statements.

      But in code coverage report methods such as setNClob show no coverage in LogicalPreparedStatement40 class. But in PreparedStatement40 class all these methods are shown as covered. Actually those method calls should go to PreparedStatement40 through LogicalPreparedStatement40. But it is not shown in emma code coverage report.

      Attachments

        1. derby-5851-CPdecorator.patch
          0.9 kB
          Mohamed Nufail

        Activity

          People

            nufail Mohamed Nufail
            nufail Mohamed Nufail
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: