Input Method No.1 IM Test Scenario
Last Update: 31-Jan-2002
Current Version: 1.0.4-2
Authorized Date: 03-Oct-2002
Assertion 1 : Verify that X input Method Sever, which supports UTF-8 encoding
and allows user to input whole repertoire of Unicode 3.0, is supported.
*) This is a not only IM test but also General Input test, so some codesets
may not need IM but keyboard switching.
- IM must be able to input UTF-8.
- Single binary is not mandatory, but binaries for each locale are fine.
- Need not input whole repertoire of Unicode 3.0, but whole characters of Legacy codesets Listed below (e.g. Inputting U+309A COMBINING KATAKANA-HIRAGANA SEMI VOICED SOUND MARK is not mandatory).
Required Characters
- ISO-8859-1
- ISO-8859-2
- ISO-8859-5
- ISO-8859-7
- ISO-8859-9
- ISO-8859-13
- ISO-8859-15
- EUC-JP
- EUC-KR
- EUC-TW
- GB2312
Test Example
In each '*.txt', UTF-8 coded printable characters within the each range
are written. There is 'U+000A'(New Line) in each 16 printable characters.
auto_input.c is a program which reads file and generate same key sequence as if the
sequence is generated by keyboard. If IM has 'Unicode hex input mode',
the program with xx.uni file generates xx.txt file. To compile and execute
auto_input, apply following command. Key sequence will be generated 2 seconds
after invoking the program.
$ gcc -I/usr/X11R6/include/X11 -I/usr/X11R6/include/X11/extensions auto_input.c -o auto_input -L/usr/X11R6/lib -lX11 -lXext -lXtst -lXi
$ ./auto_input xx.uni
IIIMF with Xlib-I18N has capability to input whole characters listed below
by Unicode hex input mode.
OpenI18N 1.2 Specification -- Input Method No.1 IM Test Scenario