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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]