Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 671405b6 authored by ykhung's avatar ykhung
Browse files

Ignore the flaky test in the ConvertUtils first to investigate

Bug: 190689531
Test: make SettingsRoboTests
Change-Id: Icf4fdd98d087f3e693a33d63030bec880648c356
parent 2a75186e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ import android.os.UserHandle;
import com.android.settings.testutils.FakeFeatureFactory;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -316,6 +317,7 @@ public final class ConvertUtilsTest {
            .isEqualTo(entry.mConsumePower * ratio);
    }

    @Ignore
    @Test
    public void testUtcToLocalTime_returnExpectedResult() {
        ConvertUtils.sZoneId = null;
@@ -336,6 +338,7 @@ public final class ConvertUtilsTest {
        assertThat(ConvertUtils.sLocale).isEqualTo(new Locale("en_US"));
    }

    @Ignore
    @Test
    public void testUtcToLocalTimeHour_12HourFormat_returnExpectedResult() {
        ConvertUtils.sZoneIdForHour = null;
@@ -357,6 +360,7 @@ public final class ConvertUtilsTest {
        assertThat(ConvertUtils.sLocaleForHour).isEqualTo(new Locale("en_US"));
    }

    @Ignore
    @Test
    public void testUtcToLocalTimeHour_24HourFormat_returnExpectedResult() {
        ConvertUtils.sZoneIdForHour = null;