From a08ac3fee0c8c83bc9987ee5e25969923a23f3c6 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 6 Dec 2013 15:49:21 -0600 Subject: [PATCH] Disable flaky tests --- .../java/com/todoroo/astrid/backup/BackupServiceTests.java | 2 +- .../com/todoroo/astrid/gtasks/GtasksDetailExposerTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/astrid/src/instrumentTest/java/com/todoroo/astrid/backup/BackupServiceTests.java b/astrid/src/instrumentTest/java/com/todoroo/astrid/backup/BackupServiceTests.java index 29a60f694..c7bc2c9a3 100644 --- a/astrid/src/instrumentTest/java/com/todoroo/astrid/backup/BackupServiceTests.java +++ b/astrid/src/instrumentTest/java/com/todoroo/astrid/backup/BackupServiceTests.java @@ -102,7 +102,7 @@ public class BackupServiceTests extends DatabaseTestCase { } /** Test no backup */ - public void testNoBackup() { + public void disabled_testNoBackup() { assertEquals(0, temporaryDirectory.list().length); System.err.println("test no backup"); boolean backupSetting = getBackupSetting(); diff --git a/astrid/src/instrumentTest/java/com/todoroo/astrid/gtasks/GtasksDetailExposerTest.java b/astrid/src/instrumentTest/java/com/todoroo/astrid/gtasks/GtasksDetailExposerTest.java index f05e89e27..c9558d361 100644 --- a/astrid/src/instrumentTest/java/com/todoroo/astrid/gtasks/GtasksDetailExposerTest.java +++ b/astrid/src/instrumentTest/java/com/todoroo/astrid/gtasks/GtasksDetailExposerTest.java @@ -62,7 +62,7 @@ public class GtasksDetailExposerTest extends DatabaseTestCase { thenExpectDetail("List Two"); } - public void testExposeListDoesntExist() { + public void disabled_testExposeListDoesntExist() { givenTwoListSetup(); givenLoggedInStatus(true); givenTaskWithList("blah"); @@ -72,7 +72,7 @@ public class GtasksDetailExposerTest extends DatabaseTestCase { thenExpectNoDetail(); } - public void testExposeListNotSet() { + public void disabled_testExposeListNotSet() { givenTwoListSetup(); givenLoggedInStatus(true); givenTaskWithList(null);