[
https://issues.apache.org/jira/browse/DMAP-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262710#comment-14262710
]
Werner Keil edited comment on DMAP-112 at 1/2/15 1:48 AM:
----------------------------------------------------------
In fact, both picked the same entry, one can tell from the version fix: Fixing
'2.2' to ' 2.3.7'
Only the "DROID X2" had the factory OS version '2.2' not '2.2.2', but the ID
does not matter and the model is the same, that's what's displayed.
And as mentioned, a goal of the W3C client is based on confidence to get the
closest match, if as in this case the "vital signs" of the devices are
practically the same, the user who wants to recognize their actual device does
not care about a deviceID ;-)
More important is e.g. properties the UA comes with are adjusted like the
version number.
was (Author: keilw):
In fact, both picked the same entry, one can tell from the version fix: Fixing
'2.2' to ' 2.3.7'
Only the "DROID X2" had the factory OS version '2.2' not '2.2.2', but the ID
does not matter and the model is the same, that's what's displayed.
> Java client test fails with JDK 1.8.0-25
> ----------------------------------------
>
> Key: DMAP-112
> URL: https://issues.apache.org/jira/browse/DMAP-112
> Project: DeviceMap
> Issue Type: Bug
> Components: Device data
> Affects Versions: 1.1.0 Java
> Environment: JDK 1.8.0-25, OSX (Darwin Kernel Version 13.4.0)
> Reporter: Volkan Yazıcı
> Labels: bug, java8, test
>
> {{mvn clean install test}} fails for the DeviceMap Java Client module:
> {noformat}
> DeviceMapClientTest[979](org.apache.devicemap.DeviceMapClientTest) Time
> elapsed: 0.003 sec <<< FAILURE!
> org.junit.ComparisonFailure: classification failed for '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'
> expected:<[MB870]> but was:<[DROID X2]>
> at org.junit.Assert.assertEquals(Assert.java:115)
> at
> org.apache.devicemap.DeviceMapClientTest.DeviceMapClientTest(DeviceMapClientTest.java:74)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)