Ignore failing tests in ChartDataUsagePreferenceTest
Bug: 313568482 Test: atest Change-Id: I5812203a9442ba8a7116ffeb6b3cedf39c9ef2dd
This commit is contained in:
@@ -36,6 +36,7 @@ import com.android.settings.datausage.lib.NetworkUsageData;
|
|||||||
import com.android.settings.widget.UsageView;
|
import com.android.settings.widget.UsageView;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mockito.ArgumentCaptor;
|
import org.mockito.ArgumentCaptor;
|
||||||
@@ -92,6 +93,7 @@ public class ChartDataUsagePreferenceTest {
|
|||||||
assertThat(points.valueAt(1)).isNotEqualTo(-1);
|
assertThat(points.valueAt(1)).isNotEqualTo(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313568482")
|
||||||
@Test
|
@Test
|
||||||
public void calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData() {
|
public void calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData() {
|
||||||
final UsageView usageView = mock(UsageView.class);
|
final UsageView usageView = mock(UsageView.class);
|
||||||
@@ -112,6 +114,7 @@ public class ChartDataUsagePreferenceTest {
|
|||||||
assertThat(points.valueAt(1)).isEqualTo(-1);
|
assertThat(points.valueAt(1)).isEqualTo(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313568482")
|
||||||
@Test
|
@Test
|
||||||
public void calcPoints_shouldNotDrawPointForFutureDate() {
|
public void calcPoints_shouldNotDrawPointForFutureDate() {
|
||||||
final UsageView usageView = mock(UsageView.class);
|
final UsageView usageView = mock(UsageView.class);
|
||||||
|
Reference in New Issue
Block a user