diff options
author | Tyler Gunn <tgunn@google.com> | 2014-06-10 13:01:19 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-06-10 13:01:19 -0700 |
commit | a6a0acc4947739512b2bcc58262b19e53723704c (patch) | |
tree | b997eef777f33d4ee147cae420abb272d9509455 /tests | |
parent | cd869f7a17afdbca729bb02dae2d885708c5ebb3 (diff) | |
download | android_packages_apps_ContactsCommon-a6a0acc4947739512b2bcc58262b19e53723704c.tar.gz android_packages_apps_ContactsCommon-a6a0acc4947739512b2bcc58262b19e53723704c.tar.bz2 android_packages_apps_ContactsCommon-a6a0acc4947739512b2bcc58262b19e53723704c.zip |
Removing flawed "getTodayString" and "getYesterdayString" methods.
These methods made assumptions of how getRelativeTimeSpanString works that
were incorrect.
Bug: 15541650
Change-Id: Ibdba688587b21d5fc547832ebee0997fc290c9fb
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/contacts/common/util/DateUtilTests.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/src/com/android/contacts/common/util/DateUtilTests.java b/tests/src/com/android/contacts/common/util/DateUtilTests.java index c225780e..f4602892 100644 --- a/tests/src/com/android/contacts/common/util/DateUtilTests.java +++ b/tests/src/com/android/contacts/common/util/DateUtilTests.java @@ -28,20 +28,6 @@ import android.text.format.Time; public class DateUtilTests extends TestCase { /** - * Test ability to get the word "Yesterday". - */ - public void testGetYesterday() { - assertEquals("Yesterday", DateUtils.getYesterdayString()); - } - - /** - * Test ability to get the word "Today". - */ - public void testGetToday() { - assertEquals("Yesterday", DateUtils.getYesterdayString()); - } - - /** * Test date differences which are in the same day. */ public void testDayDiffNone() { |