portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r576719 - /portals/jetspeed-2/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
Date Tue, 18 Sep 2007 06:31:02 GMT
Author: woonsan
Date: Mon Sep 17 23:31:02 2007
New Revision: 576719

URL: http://svn.apache.org/viewvc?rev=576719&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/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java

Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java?rev=576719&r1=576718&r2=576719&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
(original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
Mon Sep 17 23:31:02 2007
@@ -76,7 +76,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


Mime
View raw message