The KcsAvailable(), KcsCreateProfile(), KcsFreeProfile(), KcsModifyLoadHints(), KcsSaveProfile(), and KcsSetCallback() functions in the KCMS framework API are not addressed directly as a testing category in a single script. Each of these functions is exercised in the course of performing normal testing.
KcsCreateProfile() (CREATE: command) is called to generate an empty profile that can be used by subsequent script commands such as GETATTR:, SETATTR:, and UPDATE:.
KcsFreeProfile() (FREE: command) is called in each test script where a profile is loaded, connected, or created. This is the expectation of the KCMS framework.
KcsModifyLoadHints()(MODIFYLH: command) typically is called to load the rest of a profile previously loaded for attributes only. It is called in the IC_lhints.scr script.
KcsSaveProfile() (SAVE: command) is performed and tested in several of the script categories listed in Table 4-2.
KcsSetCallback() is called in the EVAL:, UPDATE:, and OPTIMIZE: script commands whose operation is expected to take an extended period of time.
In addition, the LOG: command is not associated with a particular KCMS API function. Instead it serves to show comment data in the test scripts.
Table 4-2 Testing the SAVE: Command
Category |
Script Name |
---|---|
Connecting Profiles |
IC_conerr.scr |
Getting and Setting Attributes |
IC_attr1.scr |
Updating Profiles |
IC_update1.scr, IC_update2.scr |
Enhancements |
IC_gray.scr, IC_pacbug.scr, IC_sun_update.scr, IC_updatewin.scr, IC_xprofilesav.scr, IC_xprofilesavremote.scr, IC_xprofilesavroot.scr |