Changeset 1553


Ignore:
Timestamp:
02/18/2008 09:43:29 PM (7 years ago)
Author:
th-schwarz
Message:

added some opera tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/branches/2.4/src/test/java/net/fckeditor/tool/CompatibilityTest.java

    r1550 r1553  
    9191            assertTrue(Compatibility.check("Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/1.5.0.9 (Debian-2.0.0.9-2)")); 
    9292    } 
     93         
     94        @Test 
     95        public void testOper925Win2k() throws Exception { 
     96            assertFalse(Compatibility.check("Opera/9.25 (Windows NT 5.0; U; en)")); 
     97    } 
     98         
     99        @Test 
     100        public void testOpera854WinNT() throws Exception { 
     101            assertFalse(Compatibility.check("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.54")); 
     102    } 
     103         
     104        @Test 
     105        public void testOpera95OSX() throws Exception { 
     106                assertTrue(Compatibility.check("Opera/9.50 (Macintosh; Intel Mac OS X; U; en)"));    
     107    } 
     108         
     109        @Test 
     110        public void testOpera95WinVista() throws Exception { 
     111                assertTrue(Compatibility.check("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 6.0; en) Opera 9.50"));    
     112    } 
    93113} 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy