From Fedora Project Wiki

Revision as of 14:11, 13 May 2009 by Petersen (talk | contribs)

Description

This test-case is to check that input works correctly for your ibus input-method.


How to test

  1. You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation.
  2. Basic test: input test sentences into various applications you use often.
  3. Additional tests for Chinese, Japanese and Korean users (who are testing hanja input):
    1. Modify a few characters in your test sentences invoking candidate selection.
    2. Incomplete character handling tests:
      1. switch off/on:
        1. switch on IM, type an incomplete word and then switch off IM.
        2. type a few English keys.
        3. switch on IM again, then input a different character
      2. focus out/in: Similar to the previous on/off subtest, but switch focus to another window with the mouse to focus out, type a few English words, then focus back on the application with the mouse.
    3. Pre-edit buffer test: type a few complete characters and an incomplete character in pre-edit buffer. Then perform the following sub-tests:
      1. Switch off/on: with some pre-edit text try turning off the input-method, input some ASCII text, turn on the input-method again and continue to input with the input method.
      2. Focus out/in: with some pre-edit test switch focus to another window with the mouse, input some text there, return to your application and continue your input

Expected Results

  1. Basic test: Committed string should be expected text from your test sentences.
  2. Candidate selection test: Committed string should reflect the modified characters: the expected behaviour may vary somewhat depending on the language being tested.
  3. Incomplete character handling test: Incomplete characters should not appear in the committed string, while other input should be shown as normal.
  4. Pre-edit buffer test: Incomplete characters should not appear, while complete characters should be in the committed string.