Werner Keil created DMAP-122:
--------------------------------
Summary: Client tests still failing with "genericAndroid"
Key: DMAP-122
URL: https://issues.apache.org/jira/browse/DMAP-122
Project: DeviceMap
Issue Type: Bug
Components: Java Client
Affects Versions: 1.0.2 Data, 1.1.1 Java
Reporter: Werner Keil
Assignee: Reza Naghibi
Something is still (or again) wrong with the Classifier.
While web deployment of examples based on the snapshots look like they get the
right device ("result":{"id":"SGP312"..) at least one of the unit tests (the
one for the "alias" entry) fails after test data changes
Tests run: 1176, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.444 sec
<<< FAILURE! - in org.apache.devicemap.DeviceMapClientTest
testDeviceMapClient[1175](org.apache.devicemap.DeviceMapClientTest) Time
elapsed: 0 sec <<< FAILURE!
org.junit.ComparisonFailure: classification failed for 'Mozilla/5.0 (Linux;
Android 4.3; SGP312 Build/10.4.B.0.577) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/38.0.2125.102 Safari/537.36' expected:<[SGP312]> but
was:<[genericAndroid]>
at org.junit.Assert.assertEquals(Assert.java:115)
at
org.apache.devicemap.DeviceMapClientTest.testDeviceMapClient(DeviceMapClientTest.java:74)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)