On Tue, Aug 26, 2008 at 9:40 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote:

> ...The tests do simple string comparision, which
> do not take into account that the reported properties can come in any 
> order....

Other tests like [1] actually evaluate the returned json code to
verify test values. I guess the
org.apache.sling.jcr.contentloader.internal.JsonReaderTest should be
modified to use a similar testing method and avoid the "out of order
properties" problem.

-Bertrand

[1]  
http://svn.apache.org/repos/asf/incubator/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonRenderingTest.java

Reply via email to