https://bz.apache.org/bugzilla/show_bug.cgi?id=63399

            Bug ID: 63399
           Summary: Ant target test-ooxml fails while running
                    AddImageBench
           Product: POI
           Version: 4.0.x-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: dmgau...@uab.edu
  Target Milestone: ---

When I run the test-ooxml Ant target, the build fails while running
AddImageBench.

The file
build/ooxml-test-results/TEST-org.apache.poi.benchmark.AddImageBench.txt
contains the following:

*** START OF FILE ***
    Testsuite: org.apache.poi.benchmark.AddImageBench
    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec

    Testcase: initializationError took 0 sec
            Caused an ERROR
    No runnable methods
    java.lang.Exception: No runnable methods
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
*** END OF FILE ***

As a workaround, I have tried adding the following lines to the
"ooxml-test-runner" in build.xml, but JUnit still tries to run AddImageBench:

    <!-- At least one test in these directories fails -->
    <exclude name="**/org/apache/poi/benchmark/*"/>

    <!-- Tests known to fail -->
    <exclude name="**/AddImageBench.*"/>

I am working in Windows 10, and have had this problem running ant both from the
command line and from inside Eclipse.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to