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

Inadequate clean-up in many jdbc4 tests

    XMLWordPrintableJSON

Details

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

    Description

      Many of the JUnit tests under the jdbc4 package don't implement tearDown() properly. Common problems:

      • don't close JDBC objects
      • don't call super.tearDown()
      • don't null out instance variables

      Attachments

        1. jdbc4test.diff
          6 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: