KCMS Test Suite User's Guide

Connecting Profiles

Connect Profiles

Script Name

IC_connect.scr

Concept

IC_connect.scr connects various types of device profiles into complete profiles. It evaluates using the complete profiles.

Description

This script demonstrates that the KCMS framework can connect a variety of profiles in a variety of ways. It loads profiles of the following types: scanner, monitor, and printer. After the profiles are loaded, the script makes a variety of connections with the CONNECT: command.

Initially the script works with scanner and monitor profiles, creating complete profiles, one for each of the following transformation types: forward, reverse, and gamut. It evaluates using the profiles containing the forward transformations.

Next it loads monitor and printer profiles and creates complete profiles including forward, reverse, and simulate transformations. It creates additional profiles that not only contain these transformations but have image content hints specified as well. Then it evaluates using the forward and simulate profiles. To save disk space, outputs are not saved.

Finally the script works with scanner and printer profiles.

At various points, the script evaluates the connected profiles to verify that the new profile can be used to process image data. Additionally, it varies the content of the connected profile (image, content unknown, and so forth).

Verification

Each command is expected to return successfully.

Connect Many Profiles

Script Name

IC_conmany.scr

Concept

IC_conmany.scr performs many CONNECT: commands. It confirms that subsequent framework operations can be performed successfully.

Description

This script demonstrates that the KCMS framework can connect many profiles in succession while the framework continues to operate without error. The script loads a variety of profiles (monitor, printer, scanner, Photo CD), and connects them with a variety of operation and content hints. On the profiles loaded, it performs 20 connect calls. With the 20 connected profiles in memory, it evaluates the complete profiles. It does not save the color-managed images. After the operations are completed, it frees the profiles from memory.

Verification

Each command is expected to return successfully.

Connect Error

Script Name

IC_conerr.scr

Concept

IC_conerr.scr attempts to connect various types of device profiles into complete profiles, testing the error handling capabilities of the CONNECT: command.

Description

This script demonstrates that the KCMS framework can perform the CONNECT: command under a variety of error conditions and return the correct status. The script performs the CONNECT: command with the following error conditions:

Verification

Commands that are expected to fail will have the expected failure status provided as part of the CONNECT: script command.