Add dedicated end-to-end tests for IC#commitText()

This is part of effort to achieve 100% test coverage of
InputConnection APIs.

Although InputConnection#commitText() is already indirectly verified
by various tests in CtsInputMethodTestCases, it'd still make sense for
us to test this vital API in the same way we test APIs in
InputConnection, including a special case where the API is called
after onUnbindInput().

This CL also renames
  InputConnectionBlockingMethodTest
to
  InputConnectionEndToEndTest
to make it clear that it now tests non-blocking APIs defined in
InputConnection.

Bug: 129012881
Test: atest -c CtsInputMethodTestCases:InputConnectionEndToEndTest
Change-Id: I8aae18b6b4161ce13495d930a764500c69eb3f9d
1 file changed