Uploaded image for project: 'DeviceMap'
  1. DeviceMap
  2. DMAP-122

Client tests still failing with "genericAndroid"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0.2 Data, 1.2.0 Java
    • None
    • Java Client

    Description

      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)

      Attachments

        Activity

          People

            rezan Reza Naghibi
            wkeil Werner Keil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: