devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1648962 - in /devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap: DeviceMapClientUnitTest.java DeviceMapClientUrlTestOptional.java
Date Thu, 01 Jan 2015 23:59:12 GMT
Author: rezan
Date: Thu Jan  1 23:59:12 2015
New Revision: 1648962

URL: http://svn.apache.org/r1648962
Log:
removed duplicate unit test and changed test url

Modified:
    devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUnitTest.java
    devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUrlTestOptional.java

Modified: devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUnitTest.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUnitTest.java?rev=1648962&r1=1648961&r2=1648962&view=diff
==============================================================================
--- devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUnitTest.java
(original)
+++ devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUnitTest.java
Thu Jan  1 23:59:12 2015
@@ -83,12 +83,4 @@ public class DeviceMapClientUnitTest {
             Assert.fail("UnsupportedOperationException expected when changing result map,
got: " + ex.toString());
         }
     }
-
-	@Test
-	public void testDeviceMapForMB870() throws Exception {
-		String singleTestString = "Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; MB870 Build/4.5.1A-DTN-150-30;
CyanogenMod-7.2.0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1";
-	
-		Device device = DeviceMapFactory.getClient().classifyDevice(singleTestString);
-		Assert.assertEquals("classification failed for '" + singleTestString + "'", "MB870", device.getId());
-	}
 }

Modified: devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUrlTestOptional.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUrlTestOptional.java?rev=1648962&r1=1648961&r2=1648962&view=diff
==============================================================================
--- devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUrlTestOptional.java
(original)
+++ devicemap/trunk/devicemap/java/classifier/src/test/java/org/apache/devicemap/DeviceMapClientUrlTestOptional.java
Thu Jan  1 23:59:12 2015
@@ -42,11 +42,10 @@ public class DeviceMapClientUrlTestOptio
     }
     
     @Test
-    @Ignore("We should not have dependency to private domains here")
     public void DeviceMapClientCustomUrlTest() throws Exception {
         DeviceMapClient client = new DeviceMapClient();
 
-        client.initDeviceData(LoaderOption.URL, "http://www.rezsoft.org/dmap-data/");
+        client.initDeviceData(LoaderOption.URL, "http://devicemap-vm.apache.org/data/latest/");
 
         String test = "Mozilla/5.0 (Linux; U; Android 2.2; en; HTC Aria A6380 Build/ERE27)
AppleWebKit/540.13+ (KHTML, like Gecko) Version/3.1 Mobile Safari/524.15.0";
 



Mime
View raw message