Add a test for armenian period.

Bug: 11463389
Change-Id: Ib482290672947df61b86cdb4e78461e9ce843f94
This commit is contained in:
Jean Chalard 2014-05-23 19:34:46 +09:00
parent 75cb258ee4
commit 47ea762fb2

View file

@ -109,4 +109,17 @@ public class ShiftModeTests extends InputTestsBase {
type("¡"); type("¡");
assertTrue("(Spanish) Auto caps after inverted bang", isCapsModeAutoShifted()); 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());
}
} }