Move long string test from TextView to StaticLayoutTest

We need to test measurement of very long strings to exercise a
potential stack overflow (bug 13506939). As of M, changes to the text
stack meant that we were not actually exercising the method in
question. In addition, the test required a huge amount of memory,
which was causing problems on low-RAM devices. This patch moves the
test from TextViewTest to StaticLayoutTest (which is a more direct
invocation), and also changes the text string so that it can be
measured more quickly and with less memory than before.

Bug: 25806062
Change-Id: I450b35c18a0b99a8fdfd37218518d8d2e01c3c90
2 files changed