Add a test for armenian period.
Bug: 11463389 Change-Id: Ib482290672947df61b86cdb4e78461e9ce843f94
This commit is contained in:
parent
75cb258ee4
commit
47ea762fb2
1 changed files with 13 additions and 0 deletions
|
@ -109,4 +109,17 @@ public class ShiftModeTests extends InputTestsBase {
|
|||
type("¡");
|
||||
assertTrue("(Spanish) Auto caps after inverted bang", isCapsModeAutoShifted());
|
||||
}
|
||||
|
||||
public void testOtherSentenceSeparators() {
|
||||
changeLanguage("hy-AM");
|
||||
assertTrue("(Armenian) Auto caps at start", isCapsModeAutoShifted());
|
||||
type("Hey. ");
|
||||
assertFalse("(Armenian) No auto-caps after latin period", isCapsModeAutoShifted());
|
||||
type("Hey\u0589");
|
||||
assertFalse("(Armenian) No auto-caps directly after armenian period",
|
||||
isCapsModeAutoShifted());
|
||||
type(" ");
|
||||
assertTrue("(Armenian) Auto-caps after armenian period-whitespace",
|
||||
isCapsModeAutoShifted());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue