Merge "Ignore flaky test" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
267f49b168
@@ -30,6 +30,7 @@ import android.provider.DeviceConfig;
|
||||
import android.provider.Settings.Global;
|
||||
import android.test.AndroidTestCase;
|
||||
import android.test.suitebuilder.annotation.SmallTest;
|
||||
import android.test.suitebuilder.annotation.Suppress;
|
||||
import android.util.ArrayMap;
|
||||
|
||||
import com.android.frameworks.servicestests.R;
|
||||
@@ -115,6 +116,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
|
||||
testServiceDefaultValue_On(ServiceType.NULL);
|
||||
}
|
||||
|
||||
@Suppress
|
||||
@SmallTest
|
||||
public void testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() {
|
||||
testServiceDefaultValue_Off(ServiceType.VIBRATION);
|
||||
@@ -200,6 +202,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
|
||||
testServiceDefaultValue_On(ServiceType.QUICK_DOZE);
|
||||
}
|
||||
|
||||
@Suppress
|
||||
@SmallTest
|
||||
public void testUpdateConstants_getCorrectData() {
|
||||
mBatterySaverPolicy.updateConstantsLocked(BATTERY_SAVER_CONSTANTS, "");
|
||||
|
||||
Reference in New Issue
Block a user