02f167c35ad81fce82c0ebc14a15892fb6981866 |
|
06-Jun-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Move tests with private APIs to coretests Tests have been moved from CTS tests, with some small modifications. Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Bug: 37780152 Change-Id: I87ce084276db0f1157260bbeb0c9009c5227bfcf
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
bbe51f8290af05b4071c7ed44fcbaa98e2f85e13 |
|
28-Apr-2017 |
Andrei Stingaceanu <stg@google.com> |
Move text coretests to JUnit (2) * moves android.text.util, android.text.format and android.text.method packages core tests to AndroidJUnit * replaced manual mocks with mockito usage * cleaned up dead code Bug: 31223263 Test: adb shell am instrument -w -e package android.text\ com.android.frameworks.coretests/android.support.test.runner\ .AndroidJUnitRunner Change-Id: I7b13c10521381e4f26ca8e6189392914238a21dd
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
c6bffbf6033c88d1b8403360ba129831b0155f33 |
|
13-Dec-2016 |
Roozbeh Pournader <roozbeh@google.com> |
Use ICU for formatting in DateUtils.formatDuration Previously, we were using native strings. ICU has higher quality and more comprehensive data. Also adds parameters for specifying the format width (e.g. "2 hrs" vs "2 hours"). Bug: 31526474 Test: adb shell am instrument -w -e class android.text.format.DateUtilsTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Change-Id: I754f6c761c2ed3853046796c57ff2d86a6ccd43e
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
4262e94a18979c862e31afcd20f07a3ef1e247e5 |
|
01-Jul-2016 |
Roozbeh Pournader <roozbeh@google.com> |
Set the locale explicitly for tests that depend on it Previously, the tests in DateUtilsTest and LinkifyTest assumed the US English locale, which would not necessarily be the case when the tests were run. Now we save the original locale, set the locale to US English, and finally restore the original when the tests are done. Bug: 29880704 Change-Id: Ieef59e5fc128b484b0db13f35bfa4372fed650d0
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
f1cee7a5869161a5fd27f6a6257670459e8f4cf2 |
|
30-Jun-2016 |
Siyamed Sinir <siyamed@google.com> |
Merge "Enable Text core tests"
|
9e5c91768ae6bad62e489ab48b3e9e810c5128c1 |
|
30-Jun-2016 |
Roozbeh Pournader <roozbeh@google.com> |
Add locale checks to DateUtilsTest This is to debug why the tests are failing on some scenarios. Bug: 29880704 Change-Id: Ibae466681a6b40fced98f5f907ffd3582dc37ebf
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
68089c81068cc93d3fd42e2f768fc3a2a0d08f3c |
|
30-Jun-2016 |
Siyamed Sinir <siyamed@google.com> |
Enable Text core tests Some of the tests were disabled because of the access permissions. This CL: * Removes @Suppress annotations * Annotates the test classes with related annotations such as @SmallTest * Removes unused imports * Replaces android.test.sitebuilder.annotation.SmallTest annotations with android.support.test.filters.SmallTest Bug: 29879498 Change-Id: I9e6e326bc6eaf365d7d5c6d1f7edec35e6957302
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
025148cc4de9c1104a30333c14eb63337af4e3de |
|
07-Mar-2013 |
Elliott Hughes <enh@google.com> |
Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest. Change-Id: Icbdb4e9133a9ae1c1b37f822367e1ac86e9e36cb
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|
53f6e8a9b95a1fe5229295ade4989339d577de08 |
|
14-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Utility to format human-friendly durations. Bug: 6777872 Change-Id: Ie7ebcb456306f4f88b4707030dd7beda3fc90368
/frameworks/base/core/tests/coretests/src/android/text/format/DateUtilsTest.java
|