On Mon, 24 Oct 2011, Sergey Vladimirov wrote:
Can anyone confirm this test failure? I run test class at 2 different
computers (Windows XP / Ubuntu) and all test passed.
Fails for me here:
[junit] Running org.apache.poi.hpsf.basic.TestWrite
[junit] at
org.apache.poi.hpsf.ClipboardData.<init>(ClipboardData.java:36)
[junit] at
org.apache.poi.hpsf.TypedPropertyValue.readValue(TypedPropertyValue.java:167)
[junit] at
org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:163)
[junit] at
org.apache.poi.hpsf.basic.TestWrite.check(TestWrite.java:605)
[junit] at
org.apache.poi.hpsf.basic.TestWrite.testVariantTypes(TestWrite.java:380)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at
junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:743)
[junit] )
[junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.02 sec
Testcase: testVariantTypes took 0.003 sec
FAILED
org.apache.poi.hpsf.IllegalPropertySetDataException: ClipboardData size
less than 4 bytes (doesn't even have format field!)
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]