AI 148634: CTS: Exclude AlarmManager test broken by CL148448
CL148448 changed the time zone for the test process to GMT. This broke a
test which makes the (reasonable) assumption that the test application
should have the same default timezone as any service it starts.
Automated import of CL 148634
diff --git a/tests/tests/app/src/android/app/cts/AlarmManagerTest.java b/tests/tests/app/src/android/app/cts/AlarmManagerTest.java
index bca4cea..87b74cf 100644
--- a/tests/tests/app/src/android/app/cts/AlarmManagerTest.java
+++ b/tests/tests/app/src/android/app/cts/AlarmManagerTest.java
@@ -29,6 +29,8 @@
import android.os.SystemClock;
import android.app.cts.ISecondary;
import android.test.AndroidTestCase;
+
+import dalvik.annotation.BrokenTest;
import dalvik.annotation.TestTargets;
import dalvik.annotation.TestStatus;
import dalvik.annotation.TestTargetNew;
@@ -85,6 +87,7 @@
method = "setTimeZone",
args = {java.lang.String.class}
)
+ @BrokenTest("Broken by CL148448. Default timezone of the test and the service differ.")
public void testSetTimeZone() throws Exception {
mSync = new Sync();
final String ACTION = "android.app.REMOTESERVICE";