Commons Dbcp
  1. Commons Dbcp
  2. DBCP-227

Some unit tests are run using maven, but not ant

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      The following unit tests run using maven, but not ant:
      TestJOCLContentHandler
      TestPoolingDataSource
      TestJndi

      When this is fixed, it would be nice if the junit ant task were used to run the tests so that the JUnit report can be generated.

      1. DBCP-227.patch
        3 kB
        Henri Yandell

        Activity

        Gail Badner created issue -
        Hide
        Henri Yandell added a comment -

        Attachment: Tests added in, uses junit, fixes commons logging property.

        Alternatively, could use 'maven ant', I'm not sure at first glance if dbcp is maintaining the custom ant on purpose (ie for the jdbc2/3 support).

        Show
        Henri Yandell added a comment - Attachment: Tests added in, uses junit, fixes commons logging property. Alternatively, could use 'maven ant', I'm not sure at first glance if dbcp is maintaining the custom ant on purpose (ie for the jdbc2/3 support).
        Henri Yandell made changes -
        Field Original Value New Value
        Attachment DBCP-227.patch [ 12361064 ]
        Hide
        Henri Yandell added a comment -

        svn ci -m "Applying my patch from DBCP-227 - it's easy enough to run 'maven ant' if someone decides to do that someday, so no reason not to improve the existing build.xml in the meantime"
        Sending build.properties.sample
        Sending build.xml
        Sending src/test/org/apache/commons/dbcp/TestAll.java
        Sending src/test/org/apache/commons/dbcp/TestJndi.java
        Transmitting file data ....
        Committed revision 555705.

        Show
        Henri Yandell added a comment - svn ci -m "Applying my patch from DBCP-227 - it's easy enough to run 'maven ant' if someone decides to do that someday, so no reason not to improve the existing build.xml in the meantime" Sending build.properties.sample Sending build.xml Sending src/test/org/apache/commons/dbcp/TestAll.java Sending src/test/org/apache/commons/dbcp/TestJndi.java Transmitting file data .... Committed revision 555705.
        Henri Yandell made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.3 [ 12311977 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        9d 11h 12m 1 Henri Yandell 12/Jul/07 18:52

          People

          • Assignee:
            Unassigned
            Reporter:
            Gail Badner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development