resetTestTextInput method

void resetTestTextInput ()

Ensures that testTextInput is registered and TestTextInput.log is reset.

This is called by the testing framework before test runs, so that if a previous test has set its own handler on SystemChannels.textInput, the testTextInput regains control and the log is fresh for the new test. It should not typically need to be called by tests.

Implementation

void resetTestTextInput() {
  testTextInput.resetAndRegister();
}