From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
For each desktop environments and focus policies: | For each desktop environments and focus policies: | ||
# Basic test: Input test sentences to each application. | # Basic test: Input test sentences to each application. | ||
# Candidate selection test [[# | # Candidate selection test [[#Remark+|+]]: Modify a few characters in test sentences by invoking the candidate selection dialog. | ||
# Incomplete character handling test [[# | # Incomplete character handling test [[#Remark++|++]]: Just type a part of character, then perform following sub-tests: | ||
## switch on/off: | |||
### switch on IM, type an incomplete words, then switch off IM. | |||
### Type a few English keys. | |||
### switch on IM, then type an different characters | |||
## 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. | |||
# Pre-edit buffer test [[# | # Pre-edit buffer test [[#Remark+++|+++]]: | ||
Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests: | |||
## switch on/off: Similar to the counterpart in Incomplete character test. | |||
<div id=" | ## focus in/out: Similar to the counterpart in Incomplete character test. | ||
+: Required if IM offers the choice among matching candidates. | <div id="Remark+">+: Required if IM offers the choice among matching candidates.</div> | ||
<div id="Remark++">++: 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.</div> | |||
++: 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. | |||
<div id="Remark+++">+++: 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.</div> | |||
+++: 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. | |||
|results= | |results= | ||
# expected results | # expected results | ||
# Basic test: Committed string should be exactly same as test sentences. | |||
# Candidate selection test: Committed string should reflect the modified characters. | |||
}} | }} | ||
[[Category:IBus_Test_Cases]] | [[Category:IBus_Test_Cases]] |
Revision as of 02:18, 8 May 2009
Description
This test case tests input works correctly for your ibus input method.
How to test
Requisition
Desktop Environment to test: GNOME, KDE4 Focus policy to test: focus-on-click, focus-follow mouse. Application to test:
Console: xterm, gnome-terminal, konsole. Editors: gedit, kate, gvim, emacs OpenOffice: writer, calc, impress Internet: firefox, thunderbird, pidgin Others: evolution, eclipse
Prepare at least 3 test sentences, preferably mixed with English words and punctuation marks.
For each desktop environments and focus policies:
- Basic test: Input test sentences to each application.
- Candidate selection test +: Modify a few characters in test sentences by invoking the candidate selection dialog.
- Incomplete character handling test ++: Just type a part of character, then perform following sub-tests:
- switch on/off:
- switch on IM, type an incomplete words, then switch off IM.
- Type a few English keys.
- switch on IM, then type an different characters
- 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.
- switch on/off:
- Pre-edit buffer test +++:
Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests:
- switch on/off: Similar to the counterpart in Incomplete character test.
- 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
- expected results
- Basic test: Committed string should be exactly same as test sentences.
- Candidate selection test: Committed string should reflect the modified characters.