[email protected] wrote:
At lenya.zones.apache.org
[lenya.trunk.update] lenya-trunk tests failed
Please help to fix the tests. ATM most of them fail because they are empty.
See logfile: http://lenya.zones.apache.org/log/lenya.trunk.update.log
ooops. perhaps i broke something?
but then it does not look like a usecase-related thing...
can someone explain what may have gone wrong?
test-module-org.apache.lenya.modules.sitetree:
Created dir:
/export/home/lenya/src/lenya-trunk/build/lenya/modules/org.apache.lenya.modules.sitetree/java/test
Compiling 2 source files to
/export/home/lenya/src/lenya-trunk/build/lenya/modules/org.apache.lenya.modules.sitetree/java/test
Copying 2 files to
/export/home/lenya/src/lenya-trunk/build/lenya/modules/org.apache.lenya.modules.sitetree/java/test
Running org.apache.lenya.cms.site.tree.DefaultSiteTreeTest
[WARNING] Couldn't found the second following sibling
Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 4.298 sec
Testsuite: org.apache.lenya.cms.site.tree.DefaultSiteTreeTest
Tests run: 14, Failures: 0, Errors: 0, Time elapsed: 4.298 sec
------------- Standard Output ---------------
[WARNING] Couldn't found the second following sibling
------------- ---------------- ---------------
Testcase: testDefaultSiteTreeString took 1.847 sec
Testcase: testDefaultSiteTreeFile took 0.167 sec
Testcase: testAddNodeStringStringLabelArray took 0.15 sec
Testcase: testAddNodeSiteTreeNode took 0.153 sec
Testcase: testAddNodeStringLabelArrayStringStringboolean took 0.137 sec
Testcase: testAddNodeStringStringLabelArrayStringStringboolean took
0.129 sec
Testcase: testAddLabel took 0.132 sec
Testcase: testRemoveLabel took 0.133 sec
Testcase: testRemoveNode took 0.127 sec
Testcase: testGetNode took 0.137 sec
Testcase: testSave took 0.115 sec
Testcase: testMoveUp took 0.131 sec
Testcase: testMoveDown took 0.134 sec
Testcase: testImportSubtree took 0.259 sec
Running org.apache.lenya.cms.site.tree.SiteTreeNodeImplTest
Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 2.953 sec
Testsuite: org.apache.lenya.cms.site.tree.SiteTreeNodeImplTest
Tests run: 5, Failures: 0, Errors: 1, Time elapsed: 2.953 sec
Testcase: testAddLabel took 1.915 sec
Testcase: testRemoveLabel took 0.176 sec
Testcase: testGetAbsoluteId took 0.143 sec
Testcase: testGetId took 0.2 sec
Testcase: testGetLabels took 0.128 sec
Caused an ERROR
null
java.lang.NullPointerException
at
org.apache.lenya.xml.DocumentHelper.getSimpleElementText(DocumentHelper.java:366)
at
org.apache.lenya.cms.site.tree.SiteTreeLink.getLabel(SiteTreeLink.java:54)
at org.apache.lenya.cms.site.AbstractLink.equals(AbstractLink.java:84)
at
org.apache.lenya.cms.site.tree.SiteTreeNodeImplTest.testGetLabels(SiteTreeNodeImplTest.java:97)
BUILD FAILED
/export/home/lenya/src/lenya-trunk/src/targets/modules-build.xml:91: The
following error occurred while executing this line:
/export/home/lenya/src/lenya-trunk/build/lenya/temp/modules-build.xml:21:
The following error occurred while executing this line:
/export/home/lenya/src/lenya-trunk/build/lenya/temp/modules-build.xml:227:
Test org.apache.lenya.cms.site.tree.SiteTreeNodeImplTest failed
Total time: 20 seconds
statusCheck=BUILD FAILED
--
jörn nettingsmeier
home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621
if you are a free (as in "free speech") software developer
and you happen to be travelling near my home, drop me a line
and come round for a free (as in "free beer") beer. :-D
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]