From Fedora Project Wiki
(Delete null line) |
(Fix a typo) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case is to type compose characters in f29 or later | |description=This test case is to type compose characters in f29 or later | ||
|actions=Install | |actions=Install your IBus engines | ||
* For GNOME3 | * For GNOME3 | ||
# Run `gnome-control-center | # Run `gnome-control-center keyboard` and add an input method sources besides XKB sources to enable IBus for XKB sources. | ||
# Run gnome- | # Run `gnome-control-center keyboard` and go to "Compose key" and setup your compose key. | ||
# Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a". | # Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a". | ||
* For others | * For others | ||
Line 11: | Line 11: | ||
# Run `setxkbmap -query` command, | # Run `setxkbmap -query` command, | ||
# Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a". | # Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a". | ||
* Test Case 2 (after above test) | |||
# Run `mkdir $HOME/.config/myapp` | |||
# Create $HOME/.config/myapp/ibus-compose.emoji to copy https://raw.githubusercontent.com/ibus/ibus/master/src/tests/ibus-compose.emoji | |||
# Add the following lines in $HOME/.XCompose : `include "%H/.config/myapp/ibus-compose.emoji"` | |||
# Run `ibus restart` | |||
# Run `gedit` | |||
# Type compose sequences described in E.g. Multi_key, Multi_key, I, n, t | |||
* Test Case 3 (Java application) | |||
# Download OmegaT_@VERSION@_Linux_64.tar.bz2 from "Linux with 64-bit JRE" in https://omegat.org/download | |||
# Run `tar xfvj OmegaT_@VERSION@_Linux_64.tar.bz2` and extract the OmegaT archive file. | |||
# Run `java -jar OmegaT_@VERSION@_Linux_64/OmegaT.jar` | |||
# Open "Project" -> "New" and create a new project with a test Source language and translated language | |||
# Click "Add Files" in the "Source Files" dialog, add a translatable file and close the dialog. E.g. IBus POT file | |||
# Enable the source file pane and execute the compose tests | |||
* (In case Java applications do not show the font correctly in test case 3) | |||
# Check the current font with `fc-match ":lang=ja"` | |||
# Check the current Java version with `/usr/bin/java -version` | |||
# Check the `JAVA_HOME` with `rpm -ql $(rpm -qf /usr/bin/java)` | |||
# Make a font fallback directory with `sudo mkdir -p $JAVA_HOME/lib/fonts/fallback` | |||
# Make a symlink of the current font file to the Java font fallback drectory | |||
|results= | |results= | ||
* For GNOME3 | * For GNOME3 | ||
# N/A | # N/A | ||
# N/A | # N/A | ||
# IBus pre-edit shows " | # IBus pre-edit shows "·" (U+00B7), "^" and output "â". | ||
* For others | * For others | ||
# N/A | # N/A | ||
# N/A | # N/A | ||
# Show "options" line | # Show "options" line | ||
# IBus pre-edit shows " | # IBus pre-edit shows "·" (U+00B7), "^" and output "â". | ||
* Test Case 2 | |||
# N/A | |||
# N/A | |||
# N/A | |||
# N/A | |||
# N/A | |||
# You can type the compose keys in the ibus-compose.emoji. | |||
* Test Case 3 | |||
# Download OmegaT_6.0.0_Linux_64.tar.bz2 for E.g. | |||
# Find OmegaT.jar in OmegaT_6.0.0_Linux_64 | |||
# OmegaT GUI is launched | |||
# Open a new test project | |||
# Add ibus/po/ibus10.pot file | |||
# Succeed the compose tests | |||
* (In case Java applications do not show the font correctly in test case 3) | |||
# `NotoSansCJK-VF.ttc: "Noto Sans CJK JP" "Regular"` for E.g. | |||
# `OpenJDK 64-Bit Server VM (Red_Hat-17.0.8.0.7-1.fc39) (build 17.0.8+7, mixed mode, sharing)` for E.g. | |||
# Found `/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib` for E.g. | |||
# Make `/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib/fonts/fallback` directory | |||
# `cd /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib/fonts/fallback && sudo ln -s /usr/share/fonts/google-noto-sans-cjk-vf-fonts/NotoSansCJK-VF.ttc .` for E.g. | |||
}} | }} | ||
[[Category:I18n_Desktop]] | [[Category:I18n_Desktop]] | ||
[[Category:Package_ibus_test_cases]] | [[Category:Package_ibus_test_cases]] |
Latest revision as of 11:22, 12 December 2023
Description
This test case is to type compose characters in f29 or later
How to test
Install your IBus engines
- For GNOME3
- Run
gnome-control-center keyboard
and add an input method sources besides XKB sources to enable IBus for XKB sources. - Run
gnome-control-center keyboard
and go to "Compose key" and setup your compose key. - Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a".
- For others
- Make sure ibus is enabled.
- Configure compose key in your desktop. XFCE4 does not have the setting and you might like to save your compose keys in $HOME/.Xkbmap file.
- Run
setxkbmap -query
command, - Focus on gnome-terminal and after enable an XKB source with Super-Space key, type a compose key, "^" and "a".
- Test Case 2 (after above test)
- Run
mkdir $HOME/.config/myapp
- Create $HOME/.config/myapp/ibus-compose.emoji to copy https://raw.githubusercontent.com/ibus/ibus/master/src/tests/ibus-compose.emoji
- Add the following lines in $HOME/.XCompose :
include "%H/.config/myapp/ibus-compose.emoji"
- Run
ibus restart
- Run
gedit
- Type compose sequences described in E.g. Multi_key, Multi_key, I, n, t
- Test Case 3 (Java application)
- Download OmegaT_@VERSION@_Linux_64.tar.bz2 from "Linux with 64-bit JRE" in https://omegat.org/download
- Run
tar xfvj OmegaT_@VERSION@_Linux_64.tar.bz2
and extract the OmegaT archive file. - Run
java -jar OmegaT_@VERSION@_Linux_64/OmegaT.jar
- Open "Project" -> "New" and create a new project with a test Source language and translated language
- Click "Add Files" in the "Source Files" dialog, add a translatable file and close the dialog. E.g. IBus POT file
- Enable the source file pane and execute the compose tests
- (In case Java applications do not show the font correctly in test case 3)
- Check the current font with
fc-match ":lang=ja"
- Check the current Java version with
/usr/bin/java -version
- Check the
JAVA_HOME
withrpm -ql $(rpm -qf /usr/bin/java)
- Make a font fallback directory with
sudo mkdir -p $JAVA_HOME/lib/fonts/fallback
- Make a symlink of the current font file to the Java font fallback drectory
Expected Results
- For GNOME3
- N/A
- N/A
- IBus pre-edit shows "·" (U+00B7), "^" and output "â".
- For others
- N/A
- N/A
- Show "options" line
- IBus pre-edit shows "·" (U+00B7), "^" and output "â".
- Test Case 2
- N/A
- N/A
- N/A
- N/A
- N/A
- You can type the compose keys in the ibus-compose.emoji.
- Test Case 3
- Download OmegaT_6.0.0_Linux_64.tar.bz2 for E.g.
- Find OmegaT.jar in OmegaT_6.0.0_Linux_64
- OmegaT GUI is launched
- Open a new test project
- Add ibus/po/ibus10.pot file
- Succeed the compose tests
- (In case Java applications do not show the font correctly in test case 3)
NotoSansCJK-VF.ttc: "Noto Sans CJK JP" "Regular"
for E.g.OpenJDK 64-Bit Server VM (Red_Hat-17.0.8.0.7-1.fc39) (build 17.0.8+7, mixed mode, sharing)
for E.g.- Found
/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib
for E.g. - Make
/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib/fonts/fallback
directory cd /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc39.x86_64/lib/fonts/fallback && sudo ln -s /usr/share/fonts/google-noto-sans-cjk-vf-fonts/NotoSansCJK-VF.ttc .
for E.g.