From Fedora Project Wiki

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

Description

This test case tests input works correctly for your ibus input method.


How to test

  1. You want to prepare some phrases, and sentences to input preferably mixed with some ASCII text with punctuation marks.
  2. Basic test: input test sentences into various applications you use.
  3. Rest is only for Chinese, Japanese and Korean users (who are testing hanja input):
    1. Candidate selection test +: Modify a few characters in test sentences by invoking the candidate selection dialog.
    2. Incomplete character handling test *: Just type a part of character, then perform following sub-tests:
      1. switch on/off:
        1. switch on IM, type an incomplete words, then switch off IM.
        2. Type a few English keys.
        3. switch on IM, then type an different characters
  4. focus in/out: Similar to on/off sub-test, but click on other window to focus out, type a few English word, then focus in by click back on the application.
  5. Pre-edit buffer test $:Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests:
    1. switch on/off: Similar to the counterpart in Incomplete character test.
    2. focus in/out: Similar to the counterpart in Incomplete character test.
  • +: Required if IM offers the choice among matching candidates.
  • *: Required if IM needs more than one key to form a complete-character. For example, Chinese IMs require more than one key to form a Chinese character.
  • $: Required if IM use pre-edit buffer to store phrases. ibus-pinyin and ibus-chewing are examples of IM that need to perform this test.

Expected Results

  1. Basic test: Committed string should be exactly same as test sentences.
  2. Candidate selection test: Committed string should reflect the modified characters.
  3. Incomplete character handling test: Incomplete character should not appear in 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.