You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2007/09/18 08:31:32 UTC

svn commit: r576721 - /portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java

Author: woonsan
Date: Mon Sep 17 23:31:31 2007
New Revision: 576721

URL: http://svn.apache.org/viewvc?rev=576721&view=rev
Log:
TestCapability checks if capabilities.getClients() returns client objects sorted by ascending order. Also it is better to allow same eval-ordered clients.
Fixed the problem that the current test case disallow same eval-ordered clients.

Modified:
    portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java

Modified: portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java?rev=576721&r1=576720&r2=576721&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java (original)
+++ portals/jetspeed-2/trunk/components/jetspeed-capability/src/test/java/org/apache/jetspeed/capabilities/TestCapability.java Mon Sep 17 23:31:31 2007
@@ -90,7 +90,7 @@
         {
             Client client = (Client) caps.next();
             int evalOrder = client.getEvalOrder();
-            if (lastOrder >= evalOrder)
+            if (lastOrder > evalOrder)
             {
                 assertTrue("Client result set is not ordered!", false);
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org