Hi Jon,

Thanks for reporting. This is actually a known issues, which is related to how the tests are implemented: The tests do simple string comparision, which do not take into account that the reported properties can come in any order.

So in fact, the tests may report false negatives here ... We do not seem to have a good solution to this problem yet, unfortunately..

Bertrand, maybe you have more insight into this problem ?

Thanks and Regards
Felix

Jon Gorrono schrieb:
I manually set the Subject line of this message to match the one I
found at markmail.org.... could find it by asking for arhives from the
list service after I joined, though.... not persistent enough....

But I have been getting the same test errors as described in that thread:
Running org.apache.sling.jcr.contentloader.internal.JsonReaderTest
Tests run: 16, Failures: 0, Errors: 16, Skipped: 0, Time elapsed:
0.188 sec <<< FAILURE!

Results :

Tests in error:
  testEmptyObject(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  testEmpty(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testDefaultPrimaryNodeTypeWithSurroundWhitespace(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testDefaultPrimaryNodeTypeWithoutEnclosingBracesWithSurroundWhitespace(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testExplicitePrimaryNodeType(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testMixinNodeTypes1(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testMixinNodeTypes2(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testPropertiesEmpty(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testPropertiesSingleValue(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testPropertiesTwoSingleValue(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testPropertiesMultiValue(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testPropertiesMultiValueEmpty(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  testChild(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  testChildWithMixin(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  testTwoChildren(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)
  
testChildWithProperty(org.apache.sling.jcr.contentloader.internal.JsonReaderTest)

Tests run: 16, Failures: 0, Errors: 16, Skipped: 0


....

This is both on
MacOSX (leapard), jdk 1.5.0_13, mvn 2.0.8, MAVEN_OPTS=Xmx786m -Xms786m
and
Fedora 8, jdk 1.5.0_14, mvn 2.0.8, MAVEN_OPTS=-Xmx2048m -Xms2048m
-XX:PermSize=256m -XX:MaxPermSize=2048m

....
svn co http://svn.apache.org/repos/asf/incubator/sling/trunk sling
cd sling
mvn -s /dev/null clean install
....

I'll install without unit tests.... just reporting what I found.




Reply via email to