Hi,

You need extra jars in classpath to run the unit tests. To just build you
can use "ant package".

Some of these might be needed if you want to run tests:

#       lib/barcode4j-fop-ext.jar
#       lib/barcode4j.jar
#       lib/checkstyle-5.5-all.jar
#       lib/fop-hyph.jar
#       lib/jacocoagent.jar
#       lib/jacocoant.jar
#       lib/jai_imageio.jar
#       lib/junit-4.10.jar
#       lib/zxing-core-1.7.jar

Thanks

-----Original Message-----
From: John Brown [mailto:[email protected]] 
Sent: 04 January 2013 13:43
To: [email protected]
Subject: FW: FOP-Trunk revision 1428722 unit test fails

Hello All,

The following error occurred while building FOP-Trunk 1428722:

[junit] Testsuite: org.apache.fop.intermediate.IFTestCase
[junit] Tests run: 10, Failures: 0, Errors: 1, Time elapsed: 0.346 sec
[junit] [junit] Testcase:
runTest[5](org.apache.fop.intermediate.IFTestCase):
Caused an ERROR
[junit] Expected XPath expression to evaluate to 'true', but got '' (XPath:
/descendant::if:text[1]/@hyphenated)
[junit] java.lang.RuntimeException: Expected XPath expression to evaluate to
'true', but got '' (XPath: /descendant::if:text[1]/@hyphenated)
[junit] at org.apache.fop.layoutengine.EvalCheck.doCheck(EvalCheck.java:
86)
[junit] at org.apache.fop.layoutengine.EvalCheck.check(EvalCheck.java:65
)
[junit] at org.apache.fop.intermediate.IFTester.doIFChecks(IFTester.java
:80)
[junit] at org.apache.fop.intermediate.IFTestCase.runTest(IFTestCase.jav
a:103)
[junit]
[junit]

BUILD FAILED
C:\Users\John\Downloads\Open_Source\fop-svn\build.xml:820: Tests failed

However, it seems to have built fop*.jar. What is the significance of the
failed test?

Regards,
John Brown.                                       
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to