History log of /frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
869dd39c5a9c1e55a1d7ab796a05e5e710dff348 05-May-2017 Andrei Stingaceanu <stg@google.com> Fix broken Backspace/ForwardDelete tests

* correctly use @Before to intstantiate
* get rid of useless KeyListenerTestCase class
* move to KeyUtils, refactor and document util method to generate
a KeyEvent

Bug: 37991689
Test: adb shell am instrument -w -e package android.text.method
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ibbce351f31eb62492cd1c7c920fdef44df89b683
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.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/method/BackspaceTest.java
d5eff80a7721123f2170ff9a983db9f06535d5b4 03-Feb-2017 Seigo Nonaka <nona@google.com> Introduce Backspace implemenation for flag emoji sequence.

Also introduce some test cases to CoreTest.

Test: ran FrameworksCoreTest
Change-Id: I4e237155a6fa7567937c8d089459c0780f868ffc
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
beb21afc2e3aedd17a3fbcb044a7fa44c0daf69d 11-Jul-2016 Seigo Nonaka <nona@google.com> Treat U+2695, U+2640, U+2642 as emoji characters.

Bug: 29885295
Change-Id: If187a08574b86ab775b0a4594d21bc9e26f84e2f
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.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/method/BackspaceTest.java
bba8d97c369f02a9d1988217324724a24842079f 26-Jun-2016 Seigo Nonaka <nona@google.com> Delete gender-balanced emoji sequence by one backspace key event.

The gender-balanced emojis are made with ZWJ sequence and emoji
modifiers. For example, U+1F469 U+1F3FD U+200D U+1F4BC should be
deleted at the same time by single backsapce key event. Here, U+1F469
is WOMAN, U+1F3FD is EMOJI MODIFIER FITZPATRICK TYPE-4, U+200D is ZERO
WIDTH JOINER, U+1F4BC is BRIEFCASE.

This CL also renames the state name from STATE_BEFORE_ZWJ_EMOJI to
STATE_BEFORE_EMOJI since now all emoji can be a part of ZWJ sequence
after I572dad42ee108476962d4b3fe9f3a6019cb50098

BUG: 29728397
Change-Id: Ib114295db45c6592f1c65a0773ab236f8bf35209
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
6a643348de7f98439511909e924b10a53040791a 21-Jun-2016 Seigo Nonaka <nona@google.com> Add test case for issue 29491345

Bug: 29491345
Change-Id: Icd7d1612ad317978356a17688d6ceb8b6a4825a8
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
3675d3cd84c446d05b3e3e97b04cf0427b2f5da6 19-Apr-2016 Seigo Nonaka <nona@google.com> Delete emojis before and after ZWJ at the same time.

Vendor may want to introduce their own ZWJ emoji sequence. To delete
them by one back space as the same behavior of Unicode emoji sequence,
use all emoji as the zwj emoji.

Bug: 28248662
Change-Id: I572dad42ee108476962d4b3fe9f3a6019cb50098
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
328251a1d756463ad5f0dedcdf8a5b613387f8dc 14-Mar-2016 Seigo Nonaka <nona@google.com> Revive some test cases in BackspaceTest/ForwardDeleteTest.

Implementation can choose the support of ZWJ and Emoji modifier, so move
them back to CoreTests.

Bug: 27553165
Change-Id: Ief9ae64c8c731b927295f54d09512256449b5a88
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
132039ae89cfad501cd14fbb3819901151ae1890 09-Mar-2016 Seigo Nonaka <nona@google.com> Remove duplicated test cases.

Removing duplicated test cases since normal cases are moved to cts.

Bug: 27553165
Change-Id: Ie8c127713dd05a2dc18fc54257ff3d9d1625a0e5
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java
ff3bfd5a79a95dcfccd1b8ad6c08c715ce6fa0e3 21-Jan-2016 Seigo Nonaka <nona@google.com> Improve backspace for emoji and variation sequences.

This CL makes backspace handling aware of variation selector, combining
enclosing keycaps, zero width joiner, regional indicator symbols and
emoji modifiers.

BUG: 25737208

Change-Id: I740578bfee955cc623e2831778e5b7ec4b8cb627
/frameworks/base/core/tests/coretests/src/android/text/method/BackspaceTest.java