From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test case tests input works correctly for your ibus input method. | |description=This test case tests input works correctly for your ibus input method. | ||
|actions= | |actions= | ||
# You want to prepare some phrases | # You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation. | ||
# Basic test: input test sentences into various applications you use. | # Basic test: input test sentences into various applications you use often. | ||
# | # Switch off/on: try turning the input-method off, input some ASCII, turn on the input-method again and continue to input with the input method. | ||
## | # Focus out/in: move focus to another window (eg with Alt+Tab), input some text there, return to original window and continue your input | ||
## Incomplete character handling test | # Candidate selection tests for Chinese, Japanese and Korean users (who are testing hanja input): | ||
## Modify a few characters in your test sentences invoking candidate selection. | |||
## Incomplete character handling test: just type part of a character, then perform following sub-tests: | |||
### switch on/off: | ### switch on/off: | ||
#### switch on IM, type an incomplete words, then switch off IM. | #### switch on IM, type an incomplete words, then switch off IM. | ||
#### Type a few English keys. | #### Type a few English keys. | ||
#### switch on IM, then type an different characters | #### 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. | ### 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 [[#Remark$|$]]:Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests: | # Pre-edit buffer test [[#Remark$|$]]:Type a few complete characters and an incomplete character in pre-edit buffer. Then perform following sub-tests: | ||
|results= | |results= | ||
# Basic test: Committed string should be | # Basic test: Committed string should be expected text from your test sentences. | ||
# Candidate selection test: Committed string should reflect the modified characters. | # Candidate selection test: Committed string should reflect the modified characters: the expected behaviour may vary somewhat depending on the language being tested. | ||
# Incomplete character handling test: Incomplete | # Incomplete character handling test: Incomplete characters should not appear in the committed string, while other input should be shown as normal. | ||
# Pre-edit buffer test: Incomplete characters should not appear, while complete characters should be in the committed string. | # Pre-edit buffer test: Incomplete characters should not appear, while complete characters should be in the committed string. | ||
}} | }} | ||
[[Category:IBus_Test_Cases]] | [[Category:IBus_Test_Cases]] |
Revision as of 13:57, 13 May 2009
Description
This test case tests input works correctly for your ibus input method.
How to test
- You may want to prepare some test sentences and/or phrases to input preferably mixed with some ASCII (eg English) text including punctuation.
- Basic test: input test sentences into various applications you use often.
- Switch off/on: try turning the input-method off, input some ASCII, turn on the input-method again and continue to input with the input method.
- Focus out/in: move focus to another window (eg with Alt+Tab), input some text there, return to original window and continue your input
- Candidate selection tests for Chinese, Japanese and Korean users (who are testing hanja input):
- Modify a few characters in your test sentences invoking candidate selection.
- Incomplete character handling test: just type part of a 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:
Expected Results
- Basic test: Committed string should be expected text from your test sentences.
- Candidate selection test: Committed string should reflect the modified characters: the expected behaviour may vary somewhat depending on the language being tested.
- Incomplete character handling test: Incomplete characters should not appear in the committed string, while other input should be shown as normal.
- Pre-edit buffer test: Incomplete characters should not appear, while complete characters should be in the committed string.