From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case ensures that the `appres` utility correctly lists the resource database of X applications. |setup= 1. Ensure you have a Fedora system with a graphical interface running the X Window System. 2. Install `appres` using the package manager, e.g., `sudo dnf install xorg-x11-apps`. 3. Have at least one X application installed and available to test, such as `xterm`. |actions= # Open a terminal. # Run the command `appres XTerm` (or any...")
 
No edit summary
 
Line 2: Line 2:
|description=This test case ensures that the `appres` utility correctly lists the resource database of X applications.
|description=This test case ensures that the `appres` utility correctly lists the resource database of X applications.
|setup=
|setup=
1. Ensure you have a Fedora system with a graphical interface running the X Window System.
# Ensure you have a Fedora system with a graphical interface running the X Window System.
2. Install `appres` using the package manager, e.g., `sudo dnf install xorg-x11-apps`.
# Install `appres` using the package manager, e.g., `sudo dnf install xorg-x11-apps`.
3. Have at least one X application installed and available to test, such as `xterm`.
# Have at least one X application installed and available to test, such as `xterm`.
|actions=
|actions=
# Open a terminal.
# Open a terminal.

Latest revision as of 17:47, 12 August 2023

Description

This test case ensures that the appres utility correctly lists the resource database of X applications.

Setup

  1. Ensure you have a Fedora system with a graphical interface running the X Window System.
  2. Install appres using the package manager, e.g., sudo dnf install xorg-x11-apps.
  3. Have at least one X application installed and available to test, such as xterm.

How to test

  1. Open a terminal.
  2. Run the command appres XTerm (or any other X application's class name) to list the resources for xterm.
  3. Observe the list of resource names and class names, as well as their default values or current settings.
  4. Optionally, customize some resources for an X application, e.g., by using .Xresources or .Xdefaults files, then reload the X settings.
  5. Run appres again to check if the changes in resources reflect in the appres output.

Expected Results

  1. appres should successfully display the resource database for the specified X application.
  2. The displayed resources should match the default or current settings of the application.
  3. Any customization or modifications made to the X application's resources should be reflected in the appres output after reloading X settings.