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 ta...@apache.org on 2005/04/09 21:08:32 UTC

cvs commit: jakarta-jetspeed-2/components/capability/src/test/org/apache/jetspeed/capabilities TestCapability.java

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