Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2460 Create a framework for writing unit tests that will access package-private fields and methods of Derby classes
  3. DERBY-3149

Add ant targets for building and running the package private tests against the classes directories

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Build tools, Test
    • None

    Description

      Create ant targets in build.xml to compile and run the package private tests.

      The first step will be to run the tests against the classes directories. Implementing a solution that runs against jars is not technically difficult, it just brings a host of decisions to be taken... Maybe even more important, does running against the jars add any value?

      The compile will be included in the 'all' target to test the implementation. Feel free to post your concerns if you think building the package private tests should be a manual action only.
      The tests will also be run as part of junit-all / junitreport.

      Attachments

        1. derby-3149-1a.diff
          8 kB
          Kristian Waagan
        2. derby-3149-1a.stat
          0.2 kB
          Kristian Waagan
        3. derby-3149-1b.diff
          8 kB
          Kristian Waagan
        4. derby-3149-2a-conditional_compilation_fix.diff
          3 kB
          Kristian Waagan
        5. derby-3149-2b-conditional_compilation_fix.diff
          3 kB
          Kristian Waagan
        6. derby-3149-4a-compile_against_15_libraries.diff
          1 kB
          Kristian Waagan
        7. pptesting_use_jdk16_executable_diff.txt
          0.5 kB
          Katherine Marsden

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: