Project

General

Profile

Actions

Bug #22

open

Bug #21: [ CTS ] Assertion failure due to insufficient GnssMeasurementEvents before location signal.

[Failure] CtsLocationGnssTestCases - android.location.cts.gnss.GnssMeasurementWhenNoLocationTest#testGnssMeasurementWhenNoLocation

Added by Billy Chen 7 days ago.

Status:
New
Priority:
Urgent
Assignee:
Start date:
12/01/2025
Due date:
% Done:

0%

Estimated time:

Description

Module: CtsLocationGnssTestCases
Test Case: android.location.cts.gnss.GnssMeasurementWhenNoLocationTest#testGnssMeasurementWhenNoLocation
Error Message:

junit.framework.AssertionFailedError: Failing tests are:

Stack Trace:

junit.framework.AssertionFailedError: Failing tests are: 
(Test: FAIL) Location was received before 2 GnssMeasurementEvents with measurements were reported. Test expects at least 2 GnssMeasurementEvents before a location, given the cold start start. Ensure no other active GPS apps (so the cold start command works) and retry?

    at junit.framework.Assert.fail(Assert.java:50)
    at android.location.cts.common.SoftAssert.assertAll(SoftAssert.java:162)
    at android.location.cts.gnss.GnssMeasurementWhenNoLocationTest.testGnssMeasurementWhenNoLocation(GnssMeasurementWhenNoLocationTest.java:200)

No data to display

Actions

Also available in: Atom PDF