IC_connect.scr
IC_connect.scr connects various types of device profiles into complete profiles. It evaluates using the complete profiles.
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).
Each command is expected to return successfully.
IC_conmany.scr
IC_conmany.scr performs many CONNECT: commands. It confirms that subsequent framework operations can be performed successfully.
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.
Each command is expected to return successfully.
IC_conerr.scr
IC_conerr.scr attempts to connect various types of device profiles into complete profiles, testing the error handling capabilities of the CONNECT: command.
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:
It attempts to connect a profile that only has its attributes loaded.
It attempts to create a simulate profile with only two profiles provided.
Commands that are expected to fail will have the expected failure status provided as part of the CONNECT: script command.