portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities TestCapability.java
Date Sat, 09 Apr 2005 19:08:32 GMT
taylor      2005/04/09 12:08:32

  Modified:    components/capability/src/test/org/apache/jetspeed/capabilities
                        TestCapability.java
  Log:
  capability tests pass with MySQL
  its a mystery as to why the tests fail with HSQL but the same api calls succeed when the
portal is running
  
  Revision  Changes    Path
  1.6       +2 -2      jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java
  
  Index: TestCapability.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities/TestCapability.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TestCapability.java	9 Apr 2005 18:46:49 -0000	1.5
  +++ TestCapability.java	9 Apr 2005 19:08:32 -0000	1.6
  @@ -133,7 +133,7 @@
           System.out.println("Find pattern: " + userAgent);
           cm = capabilities.getCapabilityMap(userAgent);                
           assertNotNull("getCapabilityMap is null", cm);
  -        assertTrue("stinking IE for Mac", cm.getClient().getName().equals("iemac"));  
     
  +        assertTrue("IE for Mac " + cm.getClient().getName(), cm.getClient().getName().equals("ie5mac"));
       
           capabilityMapReport(cm);
           
           userAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)";
  
  
  

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


Mime
View raw message