Jump to content

PDDR/2 - Printer Test Tool (PTT): Difference between revisions

From EDM2
Created page with " === Printer Test Tool (PTT) === The ''Printer Test Tool (PTT)''is a Presentation Manager application that enables the user to select one or more tests and execute them. ====..."
 
Ak120 (talk | contribs)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{PrintDDRef}}
{{IBM-Reprint}}
=Printer Test Tool (PTT)=
The ''Printer Test Tool (PTT)'' is a Presentation Manager application that enables the user to select one or more tests and execute them.


=== Printer Test Tool (PTT) ===
===Overview===
The ''Printer Test Tool (PTT)''is a Presentation Manager application that enables the user to select one or more tests and execute them.
 
==== Overview ====
The PTT provides a mechanism for testing s by calling graphics programming interface (GPI) functions. Each call, on execution, produces quantifiable output by which the test can be measured. As each test is run, the PTT monitors the return codes from the GRE calls and writes the results to a log file. The current log file can be displayed at any time during manual testing.
The PTT provides a mechanism for testing s by calling graphics programming interface (GPI) functions. Each call, on execution, produces quantifiable output by which the test can be measured. As each test is run, the PTT monitors the return codes from the GRE calls and writes the results to a log file. The current log file can be displayed at any time during manual testing.


==== PTT Architecture ====
==PTT Architecture==
The PTT is comprised of two major components:
The PTT is comprised of two major components:
*A PM master program (PTT.EXE) that provides the user interface for test selection and execution.
*A PM master program (PTT.EXE) that provides the user interface for test selection and execution.
*Test-case dynamic-link libraries (DLLs) that contain the actual test-case executable code.
*Test-case dynamic-link libraries (DLLs) that contain the actual test-case executable code.


==== PTT Master Program ====
===PTT Master Program===
PTT.EXE enables the user to do the following:
PTT.EXE enables the user to do the following:
*Select one or more tests from the test cases available.
*Select one or more tests from the test cases available.
Line 20: Line 21:
*Display the PTT release level.
*Display the PTT release level.
*Exit PTT.
*Exit PTT.
Command-line options enable the user to specify the following:
Command-line options enable the user to specify the following:
*Output log file name
*Output log file name
Line 26: Line 26:
*Search patterns for DLLs to be preloaded.
*Search patterns for DLLs to be preloaded.


=== Test-Case DLLs ===
===Test-Case DLLs===
Each test-case DLL contains tests for a ''family'' of GPI calls. See [[GPI Function Tests (32-Bit)]] for descriptions of the supplied test-case DLLs and the GPI functions called.
Each test-case DLL contains tests for a ''family'' of GPI calls. See [[#GPI Function Tests (32-Bit)]] for descriptions of the supplied test-case DLLs and the GPI functions called.


'''Note:''' The test-case DLLs must reside in the same directory as the PTT executable.
'''Note:''' The test-case DLLs must reside in the same directory as the PTT executable.


=== Operating PTT ===
==Operating PTT==
The PTT can be started from the command line in either an OS/2 window or a full-screen session. The PTT can also be started from the OS/2 Desktop or any other folder by using its icon. When using an icon, command-line options are specified in the '''Optional Parameters'''field of the Settings menu for the icon.
The PTT can be started from the command line in either an OS/2 window or a full-screen session. The PTT can also be started from the OS/2 Desktop or any other folder by using its icon. When using an icon, command-line options are specified in the '''Optional Parameters''' field of the Settings menu for the icon.


=== Specifying Command Options ===
===Specifying Command Options===
All command-line options are specified with a hyphen (-), followed by a case-sensitive alphabetic character. The alpha character is followed immediately by the parameter value, if any, with no intervening spaces. Following are examples of PTT command lines.
All command-line options are specified with a hyphen (-), followed by a case-sensitive alphabetic character. The alpha character is followed immediately by the parameter value, if any, with no intervening spaces. Following are examples of PTT command lines.


<pre class="western">Load all DLLs in the current directory and set the logging level to 8:
Load all DLLs in the current directory and set the logging level to 8:
PTT -T*.DLL -L8
Preload the GRELINE DLL.
(Search LIBPATH to locate the DLLs.)
PTT -Tgreline.dll
Executing PTT with the -? command-line option displays a list of the valid command-line options.
PTT -?


    PTT -T*.DLL -L8
===Menu Selections===
The following options are available on the PTT menu:
{|
!Testcases
|-
|Test Groups||Lists all DLLs loaded.
|-
|Test Cases||Lists all test cases available for the selected Test Groups.
|-
|Add Match||Adds the selected match pattern from the chosen list.
|-
|Save||Saves the entries selected.
|-
|Cancel||Cancels this action and returns to the main options.
|-
|Delete Match||Deletes the selected match pattern from the test case list.
|-
|Help||Not available.
|-
!Actions
|-
|Display to Screen||Displays the output of the test case to the screen.
|-
|Start Printing||Prints the test case to an attached printer.
|-
!Options
|-
|Configuration||Configures printer, DC, data type, PS Units, PS type. See "Configuring the Device Context and Presentation Space" for more information about configuring PTT DLLs.
|-
|Display Log Window||Displays PASS/FAIL logging window.
|-
|Change Log Window||Selects a level (1 - 9).
|-
!Help
|-
|Help||Not available.
|-
|About||Displays an application message and version number. There is no on-line Help with PTT.
|-
!Exit
|-
|(No drop-down)||Exits PTT. (Available only when using a mouse.) Use the accelerator key, '''Alt+F4'''.
|}
===Locating, Preloading, and Loading Test-Case DLLs===
Each test case DLL passes a list of its test cases to PTT when PTT initializes the DLL after loading. A test-case index file associates each test-case name with the DLL that contains it. When duplicate test cases are encountered while loading DLLs and test-case index files, only the first instance of a test case is retained.
 
PTT locates the test cases using the following sequence:
:1. DLLs specified using the -T command-line option are preloaded during PTT startup. Preloaded DLLs remain resident for the duration of the PTT session.
:The -T command-line option specifies a search pattern for locating the test -case DLLs to be preloaded. The -T option value can contain global file-name characters (''wildcards'') in the file name. Following is an example of the command used to preload DLLs:


Preload the GRELINE DLL.
Preload all DLLs in the PTT\DLL directory on the current drive.
(Search LIBPATH to locate the DLLs.)
PTT -T\PTT\DLL\*.DLL
:The -T command-line option can be specified multiple times (on the command line) with different paths to the DLLs.
:2. At this point, if no test cases have been identified to PTT, PTT attempts to preload all the test-case DLLs it can locate using a *.DLL search pattern. This searches the current directory.
:3. If PTT fails to locate any test-case DLLs in the current directory, a message to that effect is issued.
:An '''OK''' check box in the informational window permits the user to continue bringing up PTT.
 
==PTT Log File==
PTT writes information to a log file. The information to be logged is determined by the current ''logging level'', which is hierarchical. At any given logging level, all information at that level and below is logged.
 
===Specifying the PTT Log File Name===
A path and file name for the PTT log file can be specified on the PTT command line using the -F option. If no log file name option is given on the command line, the default file name, PTT_LOG in the current directory, is used. If a log file does not exist when PTT is started, the log file is created automatically. If the log file does exist, the new log is appended to the existing log file.
 
===Specifying the PTT Logging Levels===
The PTT logging level can be specified on the PTT command line or changed from the Options pull-down menu after PTT has started. To set the logging level on the command line, specify a -L''x''option, where ''x''is the desired logging level, using a number in the range 1-9. To change the logging level after PTT has started, select ''Change logging level''from the Options pull-down menu or use the accelerator key, '''Alt+L'''. The default PTT logging level is '''1, L_HDR'''.
 
The following table describes the logging levels supported by PTT:
{|class="wikitable"
!Level||Level Name||Description
|-
|1||L_HDR||Test Pass/Fail logging only.
|-
|2||L_ABORT||Test case failed. Test is incomplete.
|-
|3||Reserved.||Do not use.
|-
|4||L_FAIL||Internal test-case failure. An interface other than the call currently being tested has experienced a functional or other type of failure.
|-
|5||Reserved||Do not use.
|-
|6||L_WARN||Warning The presentation space is improperly configured for the test case (or a similar error).
|-
|7||L_TRACE||Trace commands, incorrect values, or other unexpected results.
|-
|8||L_LOTRACE||Location trace.  Log entries and exits of internal test-case routines.
|-
|9||L_DEBUG||Debugging. Test-case debugging information, internal test-case results, errors, and other information.
|}
 
===Displaying the PTT Log File===
To display the PTT log file for the current session, select '''Display log window''' from the '''Options''' menu or use '''Alt+D'''.
 
==Configuring the Device Context and Presentation Space==
PTT enables you to specify the device context, presentation-space type, and presentation-space units to use when executing test cases. These parameters can be changed during testing. To change the configuration manually, select '''Configuration''' from the '''Options''' pull-down menu or use '''Alt+C'''.


    PTT -Tgreline.dll</pre>
===Setting the Device Driver===
To set or change the device driver, select one of the optional s available in the Printer Queue, Printer Name, and Printer Port window by clicking the mouse on the desired driver. If a device driver is installed after PTT is initiated, the user can select ''Refresh Printer Driver List'' to list the other optional device drivers.


Executing PTT with the -? command-line option displays a list of the valid command-line options.
===Setting the Device Context===
To set or change the device context, select one of the following options from the Device Context section of the PTT Configuration dialog panel:
;OD_QUEUED:Output is to be queued. (This is the default.) This option is for hardcopy drivers only. The driver opens a spool file and uses the spooler's Spl interface to send output to that file. The driver must consider the data type if this option is chosen. The following data types are available:
:;PM_Q_STD:The hardcopy driver uses the spooler to create a device-independent spool file using the Spl interfaces. See [[#Setting the Data Type]].
:;PM_Q_RAW:The hardcopy driver processes the GRE functions to generate device-specific output data. This data is written to a spool file using the spooler Spl interfaces. See [[#Setting the Data Type]].
;OD_DIRECT:Output is not queued. The presentation driver processes the GRE routines to generate device-specific data. Hardcopy drivers use the Prt interface routines to pass the output to the physical device driver.
;OD_INFO:The presentation driver does not generate any output. The information device context is used only to retrieve information.
;OD_METAFILE:The device context is used to write a metafile. The option is handled by PMGPI and never is passed to the device driver.
;OD_METAFILE_NOQUERY:
This is the same as OD_METAFILE, except querying of attributes is not permitted. The option is handled by PMGPI and never is passed to the device driver.
;OD_MEMORY:This is a device context that is used to contain a bit map. The device driver processes the output data the same as for an OD_DIRECT device type, except the output is written to a bit map that is compatible with the physical device. (PTT creates the bit map and associates it with the device context.)


<pre class="western">PTT -?</pre>
===Setting the Queue Processor===
To select the data type to be used when executing test cases, use the mouse to click on the queue processor that is available in the window.


=== Menu Selections ===
===Setting the Data Type===
The following options are available on the PTT menu:
To select the data type to be used when executing test cases, select one of the following options in the '''Data Type''' check box of the PTT Configuration dialog panel:
*PM_Q_RAW Raw data.
*PM_Q_STD Metafile-formatted data. (This is the default.)


''Testcases''
===Setting the Presentation-Space Type ===
To select the presentation-space type to be used when executing test cases, choose one of the following options from the '''PS Type''' section of the PTT Configuration dialog panel:
*GPIT_MICRO Micro-presentation space.
*GPIT_NORMAL Normal presentation space. (This is the default.)


Test Groups Lists all DLLs loaded. <br />Test Cases Lists all test cases available for the selected Test Groups. <br />Add Match Adds the selected match pattern from the chosen list. <br />Save Saves the entries selected. <br />Cancel Cancels this action and returns to the main options. <br />Delete Match Deletes the selected match pattern from the test case list. <br />Help Not available.
=== Setting Presentation-Space Units ===
To set the presentation page-size units for test-case execution, select one of the following from the '''PS Units''' section of the PTT Configuration dialog panel:
*PU_ARBITRARY Application-convenient units.
*PU_PELS Pel coordinates. (This is the default.)
*PU_LOMETRIC Units of 0.1 mm.
*PU_HIMETRIC Units of 0.01 mm.
*PU_LOENGLISH Units of 0.01 inch.
*PU_HIENGLISH Units of 0.001 inch.
*PU_TWIPS Units of 1/1440 inch.


''Actions''
==Selecting and Executing Test Groups and Test Cases==
The test cases to be executed are selected from the Test Case Selection dialog panel. Select '''Testcase''' from the PTT menu bar or use '''ALT+T'''. One or more test cases can be selected for execution during manual operation.


Display to Screen Displays the output of the test case to the screen. <br />Start Printing Prints the test case to an attached printer.
===Test Group Selection===
There is a 1:n relationship between test groups and test-case DLLs. Each test group represents a specific DLL. Before a test case can be selected, the test group containing the test case must be selected from the '''Test Groups''' section of the PTT Test Case Selection dialog panel. When you select a test group, the list of test cases it contains is added to the Test Cases section of the dialog panel. De-selecting a test group removes the list of test cases it contains from the Test Cases section.


''Options''
'''Note:''' Test groups must be de-selected specifically. PTT never de-selects a test group automatically.


Configuration Configures printer, DC, data type, PS Units, PS type. See &quot; Configuring the Device Context and Presentation Space&quot; for more information about configuring PTT DLLs.
===Test Case Selection===
Once the test groups are selected, the individual test cases can be selected from the '''Test Cases''' section of the PTT Test Case Selection dialog panel. Test cases can be selected and de-selected individually, or groups of test cases can be selected with the match patterns provided using the '''Add Match''' and '''Delete Match''' push buttons.


Display Log Window Displays PASS/FAIL logging window.
'''Note:''' Test cases must be de-selected specifically unless the user's test group is de-selected. When that happens, all test cases are de-selected and made unavailable. The PTT never de-selects a test case automatically.


Change Log Window Selects a level (1 - 9).
===Saving Selected Test Cases===
After selecting one or more test cases, use the '''Save''' push button or '''Alt+S''' to close the Test Case Selection dialog panel.


''Help''
===Executing Test Cases===
After selecting and saving one or more test cases, select ''Display to Screen'' from the '''Action''' topic of the PTT menu bar, or use '''Alt+S''' to begin test-case execution to the monitor or display output device. To send the output of the test case to the printer, select '''Start Printing''' from the '''Action''' topic of the PTT menu bar. Each test case selected is executed in the order it appeared in the Test Cases section of the Test Case Selection dialog panel.


Help Not available.
During test execution, <kbd>***** Printer Test Tool: Test Running *****</kbd> appears in the PTT window title bar. When the test is complete, the name of the individual test selected reappears in the title bar if a single test was selected. Printer Test Tool: MULTIPLE TESTS SELECTED appears if more than one test is selected.


About Displays an application message and version number. There is no on- line Help with PTT.
==Displaying the PTT Release and Revision Levels==
To display the current PTT release and revision levels, select '''About''' from the PTT menu bar or use '''ALT+A'''.


''Exit''
===Exiting PTT===
To terminate PTT, select '''Exit''' from the PTT menu bar or use '''ALT+F4''' from the keyboard.


( No drop-down ) Exits PTT. (Available only when using a mouse.) Use the accelerator key, '''Alt+F4'''.
==GPI Function Tests (32-Bit)==
This section shows the GPI calls made by the Printer Test Tool's test groups. The following tables are organized by test group. Each table lists the test cases in the group and the functions tested by each test case. '''Configuration Settings''' describes settings that must be selected in the '''Configuration''' dialog box to run the test. If no Configurations Settings are specified, use the default settings of OD_QUEUED, PM_Q_STD, GPIT_MICRO, and PU_PELS.


=== Locating, Preloading, and Loading Test-Case DLLs ===
'''Note:''' These tables represent GPI calls for the 32-bit PTT.
Each test case DLL passes a list of its test cases to PTT when PTT initializes the DLL after loading. A test-case index file associates each test-case name with the DLL that contains it. When duplicate test cases are encountered while loading DLLs and test-case index files, only the first instance of a test case is retained.


PTT locates the test cases using the following sequence:
=== GPIARC Test Group ===
The GpiArc test case verifies printer drivers' arc-related functionality. This test case consists of precision, functionality, and exhaustive tests.


1.DLLs specified using the -T command-line option are preloaded during PTT startup. Preloaded DLLs remain resident for the duration of the PTT session .
The precision tests verify the GPI Arc APIs for page positioning and different arc shapes sizing. The functionality test verifies the GPI Arc APIs as they function together and with other GPI APIs such as GpiBeginPath and GpiEndPath. Exhaustive testing of the GPI Arc APIs involves verifying the functionality of a given API with respect to the print driver.


The -T command-line option specifies a search pattern for locating the test -case DLLs to be preloaded. The -T option value can contain global file- name characters (''wildcards'') in the file name. Following is an example of the command used to preload DLLs:
This table lists the test cases and the functions called by each test case in the GpiArc test group. The GpiArc test group is found in GPIARC.DLL.
{| class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiArcPre1||
GpiFullArc


<pre class="western">Preload all DLLs in the PTT\DLL directory on the current drive.
GpiMove


  PTT -T\PTT\DLL\*.DLL</pre>
GpiPartialArc
The -T command-line option can be specified multiple times (on the command line) with different paths to the DLLs.


2.At this point, if no test cases have been identified to PTT, PTT attempts to preload all the test-case DLLs it can locate using a *.DLL search pattern. This searches the current directory.
GpiPointArc


3.If PTT fails to locate any test-case DLLs in the current directory, a message to that effect is issued.
GpiSetArcParams
||
|-
|GpiArcPre2||GpiMarker
GpiMove


An '''OK'''check box in the informational window permits the user to continue bringing up PTT.
GpiPolyFillet


=== PTT Log File ===
GpiPolyFilletSharp
PTT writes information to a log file. The information to be logged is determined by the current ''logging level'', which is hierarchical. At any given logging level, all information at that level and below is logged.


=== Specifying the PTT Log File Name ===
GpiPolySpline
A path and file name for the PTT log file can be specified on the PTT command line using the -F option. If no log file name option is given on the command line, the default file name, PTT_LOG in the current directory, is used. If a log file does not exist when PTT is started, the log file is created automatically. If the log file does exist, the new log is appended to the existing log file.


=== Specifying the PTT Logging Levels ===
GpiSetArcParams
The PTT logging level can be specified on the PTT command line or changed from the Options pull-down menu after PTT has started. To set the logging level on the command line, specify a -L''x''option, where ''x''is the desired logging level, using a number in the range 1-9. To change the logging level after PTT has started, select ''Change logging level''from the Options pull- down menu or use the accelerator key, '''Alt+L'''. The default PTT logging level is '''1, L_HDR'''
||
|-
|GpiArcApp||GpiMove
GpiPartialArc


The following table describes the logging levels supported by PTT:
GpiPointArc


<pre class="western">/--------------------------------------------------------------\
GpiPolyFillet
|Level  |Level Name          |Description                    |
|--------+--------------------+--------------------------------|
|1      |L_HDR              |Test Pass/Fail logging only.    |
|--------+--------------------+--------------------------------|
|2      |L_ABORT            |Test case failed. Test is      |
|        |                    |incomplete.                    |
|--------+--------------------+--------------------------------|
|3      |Reserved.          |Do not use.                    |
|--------+--------------------+--------------------------------|
|4      |L_FAIL              |Internal test-case failure. An  |
|        |                    |interface other than the call  |
|        |                    |currently being tested has      |
|        |                    |experienced a functional or    |
|        |                    |other type of failure.          |
|--------+--------------------+--------------------------------|
|5      |Reserved            |Do not use.                    |
|--------+--------------------+--------------------------------|
|6      |L_WARN              |Warning The presentation space  |
|        |                    |is improperly configured for the|
|        |                    |test case (or a similar error). |
|--------+--------------------+--------------------------------|
|7      |L_TRACE            |Trace commands, incorrect      |
|        |                    |values, or other unexpected    |
|        |                    |results.                        |
|--------+--------------------+--------------------------------|
|8      |L_LOTRACE          |Location trace.  Log entries and|
|        |                    |exits of internal test-case    |
|        |                    |routines.                      |
|--------+--------------------+--------------------------------|
|9      |L_DEBUG            |Debugging. Test-case debugging  |
|        |                    |information, internal test-case |
|        |                    |results, errors, and other      |
|        |                    |information.                    |
\--------------------------------------------------------------/</pre>


=== Displaying the PTT Log File ===
GpiPolyFilletSharp
To display the PTT log file for the current session, select '''Display log window'''from the '''Options'''menu or use '''Alt+D'''.


=== Configuring the Device Context and Presentation Space ===
GpiPolySpline
PTT enables you to specify the device context, presentation-space type, and presentation-space units to use when executing test cases. These parameters can be changed during testing. To change the configuration manually, select '''Configuration'''from the '''Options'''pull-down menu or use '''Alt+C'''.


=== Setting the Device Driver ===
GpiQueryCurrentPosition
To set or change the device driver, select one of the optional s available in the Printer Queue, Printer Name, and Printer Port window by clicking the mouse on the desired driver. If a device driver is installed after PTT is initiated, the user can select ''Refresh Printer Driver List''to list the other optional device drivers.


=== Setting the Device Context ===
GpiSetArcParams
To set or change the device context, select one of the following options from the Device Context section of the PTT Configuration dialog panel:


OD_QUEUED Output is to be queued. (This is the default.) This option is for hardcopy drivers only. The driver opens a spool file and uses the spooler's Spl interface to send output to that file. The driver must consider the data type if this option is chosen. The following data types are available:
GpiSetPattern
||
|-
|GpiSetArcParamsExh1||GpiFullArc
GpiMove


PM_Q_STD The hardcopy driver uses the spooler to create a device- independent spool file using the Spl interfaces. See [[01865.htm|Setting the Data Type]] .
GpiPartialArc


PM_Q_RAW The hardcopy driver processes the GRE functions to generate device -specific output data. This data is written to a spool file using the spooler Spl interfaces. See [[01865.htm|Setting the Data Type]].
GpiPointArc


OD_DIRECT Output is not queued. The presentation driver processes the GRE routines to generate device-specific data. Hardcopy drivers use the Prt interface routines to pass the output to the physical device driver.
GpiQueryArcParams


OD_INFO The presentation driver does not generate any output. The information device context is used only to retrieve information.
GpiSetArcParams
||
|-
|GpiSetArcParamsExh2||GpiBeginArea
GpiBeginArea


OD_METAFILE The device context is used to write a metafile. The option is handled by PMGPI and never is passed to the device driver.
GpiEndArea


OD_METAFILE_NOQUERY This is the same as OD_METAFILE, except querying of attributes is not permitted. The option is handled by PMGPI and never is passed to the device driver.
GpiFullArc


OD_MEMORY This is a device context that is used to contain a bit map. The device driver processes the output data the same as for an OD_DIRECT device type, except the output is written to a bit map that is compatible with the physical device. (PTT creates the bit map and associates it with the device context.)
GpiLine


=== Setting the Queue Processor ===
GpiMove
To select the data type to be used when executing test cases, use the mouse to click on the queue processor that is available in the window.


=== Setting the Data Type ===
GpiPartialArc
To select the data type to be used when executing test cases, select one of the following options in the '''Data Type'''check box of the PTT Configuration dialog panel:


PM_Q_RAW Raw data. <br />PM_Q_STD Metafile-formatted data. (This is the default.)
GpiQueryArcParams


=== Setting the Presentation-Space Type ===
GpiSetArcParams
To select the presentation-space type to be used when executing test cases, choose one of the following options from the '''PS Type'''section of the PTT Configuration dialog panel:


GPIT_MICRO Micro-presentation space. <br />GPIT_NORMAL Normal presentation space. (This is the default.)
GpiSetPattern
||
|-
|GpiSetDefArcParamsExh1||GpiFullArc
GpiMove


=== Setting Presentation-Space Units ===
GpiPartialArc
To set the presentation page-size units for test-case execution, select one of the following from the '''PS Units'''section of the PTT Configuration dialog panel:


PU_ARBITRARY Application-convenient units. <br />PU_PELS Pel coordinates. (This is the default.) <br />PU_LOMETRIC Units of 0.1 mm. <br />PU_HIMETRIC Units of 0.01 mm. <br />PU_LOENGLISH Units of 0.01 inch. <br />PU_HIENGLISH Units of 0.001 inch. <br />PU_TWIPS Units of 1/1440 inch.
GpiPointArc


=== Selecting and Executing Test Groups and Test Cases ===
GpiQueryDefArcParams
The test cases to be executed are selected from the Test Case Selection dialog panel. Select '''Testcase'''from the PTT menu bar or use '''ALT+T'''. One or more test cases can be selected for execution during manual operation.


=== Test Group Selection ===
GpiResetPS
There is a 1:n relationship between test groups and test-case DLLs. Each test group represents a specific DLL. Before a test case can be selected, the test group containing the test case must be selected from the '''Test Groups'''section of the PTT Test Case Selection dialog panel. When you select a test group, the list of test cases it contains is added to the Test Cases section of the dialog panel. De-selecting a test group removes the list of test cases it contains from the Test Cases section.


'''Note:''' Test groups must be de-selected specifically. PTT never de-selects a test group automatically.
GpiSetDefArcParams
||
|-
|GpiSetDefArcParamsExh2||GpiBeginArea
GpiEndArea


=== Test Case Selection ===
GpiFullArc
Once the test groups are selected, the individual test cases can be selected from the '''Test Cases'''section of the PTT Test Case Selection dialog panel. Test cases can be selected and de-selected individually, or groups of test cases can be selected with the match patterns provided using the '''Add Match'''and '''Delete Match'''push buttons.


'''Note:'''Test cases must be de-selected specifically unless the user's test group is de-selected. When that happens, all test cases are de-selected and made unavailable. The PTT never de-selects a test case automatically.
GpiMove


=== Saving Selected Test Cases ===
GpiPartialArc
After selecting one or more test cases, use the '''Save'''push button or '''Alt+S'''to close the Test Case Selection dialog panel.


=== Executing Test Cases ===
GpiQueryDefArcParams
After selecting and saving one or more test cases, select ''Display to Screen''from the '''Action'''topic of the PTT menu bar, or use '''Alt+S'''to begin test-case execution to the monitor or display output device. To send the output of the test case to the printer, select '''Start Printing'''from the '''Action'''topic of the PTT menu bar. Each test case selected is executed in the order it appeared in the Test Cases section of the Test Case Selection dialog panel.


During test execution, ***** Printer Test Tool: Test Running ***** appears in the PTT window title bar. When the test is complete, the name of the individual test selected reappears in the title bar if a single test was selected. Printer Test Tool: MULTIPLE TESTS SELECTED appears if more than one test is selected.
GpiResetPS


=== Displaying the PTT Release and Revision Levels ===
GpiSetArcParams
To display the current PTT release and revision levels, select '''About'''from the PTT menu bar or use '''ALT+A'''.


=== Exiting PTT ===
GpiSetDefArcParams
To terminate PTT, select '''Exit'''from the PTT menu bar or use '''ALT+F4'''from the keyboard.


=== GPI Function Tests (32-Bit) ===
GpiSetPa
This section shows the GPI calls made by the Printer Test Tool's test groups. The following tables are organized by test group. Each table lists the test cases in the group and the functions tested by each test case. '''Configuration Settings'''describes settings that must be selected in the '''Configuration'''dialog box to run the test. If no Configurations Settings are specified, use the default settings of OD_QUEUED, PM_Q_STD, GPIT_MICRO, and PU_PELS.
||
|-
|GpiFullArcExh||GpiFullArc
GpiMove


'''Note:''' These tables represent GPI calls for the 32-bit PTT.
GpiSetArcParams


=== GPIARC Test Group ===
GpiSetPattern
The GpiArc test case verifies printer drivers' arc-related functionality. This test case consists of precision, functionality, and exhaustive tests.
||
|-
|GpiPartialArcExh||GpiMove
GpiPartialArc


The precision tests verify the GPI Arc APIs for page positioning and different arc shapes sizing. The functionality test verifies the GPI Arc APIs as they function together and with other GPI APIs such as GpiBeginPath and GpiEndPath. Exhaustive testing of the GPI Arc APIs involves verifying the functionality of a given API with respect to the print driver.
GpiSetArcParams


This table lists the test cases and the functions called by each test case in the GpiArc test group. The GpiArc test group is found in GPIARC.DLL.
GpiSetPattern
||
|-
|GpiPointArcExh||GpiMove
GpiPointArc
||
|-
|GpiPolyFilletExh||GpiMove
GpiPolyFillet
||
|-
|GpiPolyFilletSharpExh||GpiMove
GpiPolyFilletSharp
||
|-
|GpiPolySplineExh||GpiMarker
GpiMove


<pre class="western">/----------------------------------------------------------------------\
GpiPolySpline
|Test Case                |GPI Functions Called      |Configuration  |
||  
|                          |                          |Settings        |
|}
|--------------------------+--------------------------+----------------|
|GpiArcPre1                |GpiFullArc                |                |
|                          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiPointArc              |                |
|                          |GpiSetArcParams          |                |
|--------------------------+--------------------------+----------------|
|GpiArcPre2                |GpiMarker                |                |
|                          |GpiMove                  |                |
|                          |GpiPolyFillet            |                |
|                          |GpiPolyFilletSharp        |                |
|                          |GpiPolySpline             |                |
|                          |GpiSetArcParams          |                |
|--------------------------+--------------------------+----------------|
|GpiArcApp                |GpiMove                  |                |
|                         |GpiPartialArc            |                |
|                         |GpiPointArc              |                |
|                          |GpiPolyFillet            |                |
|                          |GpiPolyFilletSharp        |                |
|                          |GpiPolySpline            |                |
|                          |GpiQueryCurrentPosition  |                |
|                          |GpiSetArcParams          |                |
|                          |GpiSetPattern            |                |
|--------------------------+--------------------------+----------------|
|GpiSetArcParamsExh1      |GpiFullArc                |                |
|                          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiPointArc              |                |
|                          |GpiQueryArcParams        |                |
|                          |GpiSetArcParams          |                |
|--------------------------+--------------------------+----------------|
|GpiSetArcParamsExh2      |GpiBeginArea              |                |
|                          |GpiBeginArea              |                |
|                          |GpiEndArea                |                |
|                          |GpiFullArc                |                |
|                          |GpiLine                  |                |
|                          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiQueryArcParams        |                |
|                          |GpiSetArcParams          |                |
|                          |GpiSetPattern            |                |
|--------------------------+--------------------------+----------------|
|GpiSetDefArcParamsExh1    |GpiFullArc                |                |
|                          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiPointArc              |                |
|                          |GpiQueryDefArcParams      |                |
|                          |GpiResetPS                |                |
|                          |GpiSetDefArcParams        |                |
|--------------------------+--------------------------+----------------|
|GpiSetDefArcParamsExh2    |GpiBeginArea              |                |
|                          |GpiEndArea                |                |
|                          |GpiFullArc                |                |
|                          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiQueryDefArcParams      |                |
|                          |GpiResetPS                |                |
|                          |GpiSetArcParams          |                |
|                          |GpiSetDefArcParams        |                |
|                          |GpiSetPa                  |                |
|--------------------------+--------------------------+----------------|
|GpiFullArcExh            |GpiFullArc                |                |
|                          |GpiMove                  |                |
|                          |GpiSetArcParams          |                |
|                          |GpiSetPattern            |                |
|--------------------------+--------------------------+----------------|
|GpiPartialArcExh          |GpiMove                  |                |
|                          |GpiPartialArc            |                |
|                          |GpiSetArcParams          |                |
|                          |GpiSetPattern            |                |
|--------------------------+--------------------------+----------------|
|GpiPointArcExh            |GpiMove                  |                |
|                          |GpiPointArc              |                |
|--------------------------+--------------------------+----------------|
|GpiPolyFilletExh          |GpiMove                  |                |
|                          |GpiPolyFillet            |                |
|--------------------------+--------------------------+----------------|
|GpiPolyFilletSharpExh    |GpiMove                  |                |
|                          |GpiPolyFilletSharp        |                |
|--------------------------+--------------------------+----------------|
|GpiPolySplineExh          |GpiMarker                |                |
|                          |GpiMove                  |                |
|                          |GpiPolySpline            |                |
\----------------------------------------------------------------------/</pre>


=== GpiArea Test Group ===
===GpiArea Test Group===
The GpiArea test group tests area manipulation functions. All tests include a basic functionality test and an exhaustive (test all return codes at the lowest level) test.
The GpiArea test group tests area manipulation functions. All tests include a basic functionality test and an exhaustive (test all return codes at the lowest level) test.


This table lists the test cases and the functions called by each test case in the GpiArea test group. The GpiArc test group is found in GPIAREA.DLL.
This table lists the test cases and the functions called by each test case in the GpiArea test group. The GpiArc test group is found in GPIAREA.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiAreaApp||GpiBox
GpiMove
GpiSetPattern
||
|-
|GpiBeginAreaExh||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiSetPattern
||
|-
|GpiSetAndQryPatternExh||GpiBox
GpiCharStringAt
GpiEndArea
GpiFullArc
GpiMove
GpiPolyLine
GpiQueryPattern
GpiSetArcParams
GpiSetPattern
||
|-
|GpiSetAndQryPatternSetExh||GpiBeginArea
GpiBox
GpiDeleteSetId
GpiEndArea
GpiFullArc
GpiMove
GpiPolyLine
GpiQueryBitmapParameters
GpiQueryPatternSet
GpiSetArcParams
GpiSetBitmapId
GpiSetCharSet


<pre class="western">/------------------------------------------------------------------------------\
GpiSetPatternSet
|Test Case                        |GPI Functions Called        |Configuration  |
||Direct and Standard or Queued and Raw
|                                |                            |Settings      |
|-
|---------------------------------+----------------------------+---------------|
|GpiSetAndQryPatternRefPointExh||GpiBeginArea
|GpiAreaApp                      |GpiBox                      |              |
GpiBox
|                                |GpiMove                    |              |
|                                |GpiSetPattern              |              |
|---------------------------------+----------------------------+---------------|
|GpiBeginAreaExh                  |GpiBeginArea                |              |
|                                |GpiEndArea                  |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiSetPattern              |              |
|---------------------------------+----------------------------+---------------|
|GpiSetAndQryPatternExh          |GpiBox                      |              |
|                                |GpiCharStringAt            |              |
|                                |GpiEndArea                  |              |
|                                |GpiFullArc                  |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiQueryPattern            |              |
|                                |GpiSetArcParams            |              |
|                                |GpiSetPattern              |              |
|---------------------------------+----------------------------+---------------|
|GpiSetAndQryPatternSetExh        |GpiBeginArea                |Direct and     |
|                                |GpiBox                      |Standard or   |
|                                |GpiDeleteSetId              |Queued and Raw |
|                                 |GpiEndArea                  |              |
|                                |GpiFullArc                  |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiQueryBitmapParameters    |              |
|                                |GpiQueryPatternSet          |              |
|                                |GpiSetArcParams            |              |
|                                |GpiSetBitmapId              |              |
|                                |GpiSetCharSet              |              |
|                                |GpiSetPatternSet            |              |
|---------------------------------+----------------------------+---------------|
|GpiSetAndQryPatternRefPointExh   |GpiBeginArea               |              |
|                                |GpiBox                     |              |
|                                |GpiEndArea                  |              |
|                                |GpiFullArc                  |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiQueryPatternRefPoint    |              |
|                                |GpiSetArcParams            |              |
|                                |GpiSetAttrMode              |              |
|                                |GpiSetPattern              |              |
|                                |GpiSetPatternRefPoint      |              |
|---------------------------------+----------------------------+---------------|
|GpiPaintRegionExh                |GpiBeginPath                |              |
|                                |GpiCreateRegion            |              |
|                                |GpiDestroyRegion            |              |
|                                |GpiEndPath                  |              |
|                                |GpiMove                    |              |
|                                |GpiPaintRegion              |              |
|                                |GpiPolyFillet              |              |
|                                |GpiPolyLine                |              |
|                                |GpiSetColor                |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiSetPattern              |              |
|                                |GpiStrokePath              |              |
\------------------------------------------------------------------------------/</pre>


=== GpiBitmaps Test Group ===
GpiEndArea
 
GpiFullArc
 
GpiMove
 
GpiPolyLine
 
GpiQueryPatternRefPoint
 
GpiSetArcParams
 
GpiSetAttrMode
 
GpiSetPattern
 
GpiSetPatternRefPoint
||
|-
|GpiPaintRegionExh||GpiBeginPath
GpiCreateRegion
 
GpiDestroyRegion
 
GpiEndPath
 
GpiMove
 
GpiPaintRegion
 
GpiPolyFillet
 
GpiPolyLine
 
GpiSetColor
 
GpiSetLineWidthGeom
 
GpiSetPattern
 
GpiStrokePath
||
|}
 
===GpiBitmaps Test Group===
The GpiBitmaps test group tests bit map manipulation functions. These functions include creating, deleting, querying, selecting, and manipulating bit maps.
The GpiBitmaps test group tests bit map manipulation functions. These functions include creating, deleting, querying, selecting, and manipulating bit maps.


Line 396: Line 484:


This table lists the test cases and the functions called by each test case in the GpiBitmaps test group. The GpiBitmaps test group is found in GPIBTMP.DLL.
This table lists the test cases and the functions called by each test case in the GpiBitmaps test group. The GpiBitmaps test group is found in GPIBTMP.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiBitPre1||GpiDeleteBitmap
GpiDestroyPS
GpiSetColor
GpiWCBitBlt
||
|-
|GpiBitPre2||GpiBitBlt
GpiBitBlt
GpiConvert
GpiConvert
GpiCreateBitmap
GpiCreatePS
GpiDeleteBitmap
GpiDestroyPS
GpiQueryDevice
GpiSetBitmap
GpiSetColor
||Direct
|-
|GpiBitApp1||GpoBitmapFormats
GpiBeginArea
GpiBitBlt
GpiBox
GpiCreateBitmap
GpiCreatePS
GpiDeleteBitmap
GpiDestroyPS
GpiEndArea
GpiErase
GpiMove
GpiPolyLine
GpiQueryBitmapParameters
GpiQueryDevice
GpiSetBitmap
GpiSetBitmapBits
GpiSetColor
GpiSetPattern
||Direct
|-
|GpiBitApp2||GpiPtVisible
GpiQueryPel
GpiSetColor
GpiSetPel
||
|-
|GpiBitApp3||GpiBox
GpiCreateBitmap
GpiDeleteBitmap
GpiDeleteSetId
GpiMove
GpiQueryBitmapHandle
GpiSetBackMix
GpiSetBitmapId
GpiSetColor
GpiSetPatternSet
GpiSetPatternSet
||Direct
|-
|GpiBitApp4||GpiDeleteBitmap
GpiLoadBitmap
GpiQueryBitmapParameters
GpiWCBitBlt
||Direct
|-
|GpiSetPelExh||GpiPtVisible
GpiQueryPel
GpiSetColor
GpiSetPel
||
|-
|GpiBitBltExh||GpiBitBlt
GpiCreateBitmap
GpiCreatePS
GpiDeleteBitmap
GpiDestroyPS
GpiQueryDevice


<pre class="western">/--------------------------------------------------------------------------------\
GpiSetBitmap
|Test Case                        |GPI Functions Called          |Configuration  |
|                                |                              |Settings      |
|---------------------------------+------------------------------+---------------|
|GpiBitPre1                      |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiSetColor                  |              |
|                                |GpiWCBitBlt                  |              |
|---------------------------------+------------------------------+---------------|
|GpiBitPre2                      |GpiBitBlt                    |Direct        |
|                                |GpiBitBlt                    |              |
|                                |GpiConvert                    |              |
|                                |GpiConvert                    |              |
|                                |GpiCreateBitmap              |              |
|                                |GpiCreatePS                  |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiQueryDevice                |              |
|                                |GpiSetBitmap                 |              |
|                                |GpiSetColor                  |              |
|---------------------------------+------------------------------+---------------|
|GpiBitApp1                      |GpoBitmapFormats              |Direct        |
|                                |GpiBeginArea                  |              |
|                                |GpiBitBlt                    |              |
|                                |GpiBox                        |              |
|                                |GpiCreateBitmap              |              |
|                                |GpiCreatePS                  |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiEndArea                    |              |
|                                |GpiErase                      |              |
|                                |GpiMove                      |              |
|                                |GpiPolyLine                  |              |
|                                |GpiQueryBitmapParameters      |              |
|                                |GpiQueryDevice                |              |
|                                |GpiSetBitmap                  |              |
|                                |GpiSetBitmapBits              |              |
|                                |GpiSetColor                  |              |
|                                |GpiSetPattern                |              |
|---------------------------------+------------------------------+---------------|
|GpiBitApp2                      |GpiPtVisible                  |              |
|                                |GpiQueryPel                  |              |
|                                |GpiSetColor                  |              |
|                                |GpiSetPel                    |              |
|---------------------------------+------------------------------+---------------|
|GpiBitApp3                      |GpiBox                        |Direct        |
|                                |GpiCreateBitmap              |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDeleteSetId                |              |
|                                |GpiMove                      |              |
|                                |GpiQueryBitmapHandle          |              |
|                                |GpiSetBackMix                |              |
|                                |GpiSetBitmapId                |              |
|                                |GpiSetColor                  |              |
|                                |GpiSetPatternSet              |              |
|                                |GpiSetPatternSet              |              |
|---------------------------------+------------------------------+---------------|
|GpiBitApp4                      |GpiDeleteBitmap              |Direct        |
|                                |GpiLoadBitmap                |              |
|                                |GpiQueryBitmapParameters      |              |
|                                |GpiWCBitBlt                  |              |
|---------------------------------+------------------------------+---------------|
|GpiSetPelExh                    |GpiPtVisible                  |              |
|                                |GpiQueryPel                  |              |
|                                |GpiSetColor                  |              |
|                                |GpiSetPel                    |              |
|---------------------------------+------------------------------+---------------|
|GpiBitBltExh                    |GpiBitBlt                    |Direct        |
|                                |GpiCreateBitmap              |              |
|                                |GpiCreatePS                  |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiQueryDevice                |              |
|                                |GpiSetBitmap                  |              |
|                                |GpiSetBitmapBits              |              |
|---------------------------------+------------------------------+---------------|
|GpiSetBitmapBitsExh              |GpiBitBlt                    |Direct        |
|                                |GpiCreatePS                  |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiQueryBitmapBits            |              |
|                                |GpiQueryDevice                |              |
|                                |GpiSetBitmap                  |              |
|                                |GpiSetBitmapBits              |              |
|---------------------------------+------------------------------+---------------|
|GpiSetBitmapIdExh                |GpiBox                        |Direct        |
|                                |GpiCreateBitmap              |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDeleteSetId                |              |
|                                |GpiMove                      |              |
|                                |GpiQueryBitmapHandle          |              |
|                                |GpiSetBitmapId                |              |
|                                |GpiSetColor                  |              |
|                                |GpiSetPatternSet              |              |
|---------------------------------+------------------------------+---------------|
|GpiWCBitBltExh                  |GpiCreateBitmap              |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiSetColor                  |              |
|                                |GpiWCBitBlt                  |              |
|---------------------------------+------------------------------+---------------|
|GpiSetBitmapDimensionExh        |GpiDeleteBitmap              |              |
|                                |GpiQueryBitmapDimension      |              |
|                                |GpiSetBitmapDimension        |              |
|---------------------------------+------------------------------+---------------|
|GpiLoadBitmapExh                |GpiBitBlt                    |Direct        |
|                                |GpiCreatePS                  |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiDestroyPS                  |              |
|                                |GpiLoadBitmap                |              |
|                                |GpiQueryBitmapParameters      |              |
|                                |GpiQueryDevice                |              |
|                                |GpiSetBitmap                  |              |
|---------------------------------+------------------------------+---------------|
|GpiQueryDeviceBitmapFormatsExh  |GpiQueryDeviceBitmapFormats  |              |
|---------------------------------+------------------------------+---------------|
|GpiQueryBitmapParametersExh      |GpiCreateBitmap              |              |
|                                |GpiDeleteBitmap              |              |
|                                |GpiQueryBitmapParameters      |              |
\--------------------------------------------------------------------------------/</pre>


=== GpiChar Test Group ===
GpiSetBitmapBits
||Direct
|-
|GpiSetBitmapBitsExh||GpiBitBlt
GpiCreatePS


GpiDeleteBitmap
GpiDestroyPS
GpiQueryBitmapBits
GpiQueryDevice
GpiSetBitmap
GpiSetBitmapBits
||Direct
|-
|GpiSetBitmapIdExh||GpiBox
GpiCreateBitmap
GpiDeleteBitmap
GpiDeleteSetId
GpiMove
GpiQueryBitmapHandle
GpiSetBitmapId
GpiSetColor
GpiSetPatternSet
||Direct
|-
|GpiWCBitBltExh||GpiCreateBitmap
GpiDeleteBitmap
GpiSetColor
GpiWCBitBlt
||
|-
|GpiSetBitmapDimensionExh||GpiDeleteBitmap
GpiQueryBitmapDimension
GpiSetBitmapDimension
||
|-
|GpiLoadBitmapExh||GpiBitBlt
GpiCreatePS
GpiDeleteBitmap
GpiDestroyPS
GpiLoadBitmap
GpiQueryBitmapParameters
GpiQueryDevice
GpiSetBitmap
||Direct
|-
|GpiQueryDeviceBitmapFormatsExh||GpiQueryDeviceBitmapFormats||
|-
|GpiQueryBitmapParametersExh ||GpiCreateBitmap
GpiDeleteBitmap
GpiQueryBitmapParameters
||
|}
===GpiChar Test Group===
The GpiChar test group tests GPI text functions that:
The GpiChar test group tests GPI text functions that:
*Set and query the current value of the baseline angle.
*Set and query the current value of the baseline angle.
*Set and query the current value of the character box attribute.
*Set and query the current value of the character box attribute.
*Set and query the current value of the character direction attribute.
*Set and query the current value of the character direction attribute.
*Set and query the current value of the character-mode attribute.
*Set and query the current value of the character-mode attribute.
*Set and query the current value of the character-shear angle.
*Set and query the current value of the character-shear angle.
*Draw a character string at the current character position.
*Draw a character string at the current character position.
*Draw a character string at a specified character position.
*Draw a character string at a specified character position.
*Set and query the position at which each character in a string is drawn with positioning controls.
*Set and query the position at which each character in a string is drawn with positioning controls.
*Set and query the position at which each character in a positioned string is drawn with positioning controls.
*Set and query the position at which each character in a positioned string is drawn with positioning controls.
*Query the size of the default graphics character box.
*Query the size of the default graphics character box.
*Query the relative coordinates of the four corners of a text box.
*Query the relative coordinates of the four corners of a text box.
This testcase includes application tests that test the behavior of these character functions with other GPIs.
This testcase includes application tests that test the behavior of these character functions with other GPIs.


This table lists the test cases and the functions called by each test case in the GpiChar test group. The GpiChar test group is found in GPICHAR.DLL.
This table lists the test cases and the functions called by each test case in the GpiChar test group. The GpiChar test group is found in GPICHAR.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiCharTestPre1||GpiCharStringPos
GpiCharStringPosAt
GpiDeleteSetId
GpiMove
GpiSetCharAngle
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharTestPre2||GpiCharStringAt
GpiDeleteSetId
GpiSetCharSet
||
|-
|GpiCharTestApp1||GpiCharString
GpiCharStringAt
GpiDeleteSetId
GpiMove
GpiPolyLine
GpiQueryFontMetrics
GpiSetCharAngle
GpiSetCharBox
GpiSetCharDirection
GpiSetCharMode
GpiSetCharSet
GpiSetCharShear
||
|-
|GpiSetAndQryCharAngleExh||GpiCharStringAt
GpiDeleteSetId
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiSetAndQryCharBoxExh||GpiCharString
GpiCharStringAt
GpiDeleteSetId
GpiMove
GpiQueryCharBox
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiSetAndQryCharDirExh||GpiCharStringAt
GpiDeleteSetId
GpiQueryCharDirection
GpiQueryCharDirection
GpiSetCharBox
GpiSetCharDirection
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiSetAndQryCharModeExh||GpiCharStringAt
GpiCharStringAt
GpiDeleteSetId
GpiQueryCharMode
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiSetAndQryCharShearExh||GpiCharStringAt
GpiDeleteSetId
GpiQueryCharShear
GpiQueryDefCharBox
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
GpiSetCharShear
||
|-
|GpiCharStringExh||GpiCharString
GpiDeleteSetId
GpiMove
GpiQueryDefCharBox
GpiQueryDevice
GpiQueryFontMetrics
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharStringAtExh||GpiCharString
GpiCharStringAt
GpiDeleteSetId
GpiMove
GpiQueryDefCharBox
GpiQueryDevice
GpiQueryFontMetrics
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharStringPosAndQryExh||GpiCharString
GpiCharStringPos
GpiDeleteSetId
GpiMove
GpiQueryDefCharBox
GpiQueryDevice
GpiQueryFontMetrics
GpiQueryTextBox
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharStringPosAndQryShadeExh||GpiCharString
GpiCharStringPos
GpiDeleteSetId
GpiMove
GpiQueryDefCharBox
GpiQueryDevice
GpiQueryFontMetrics
GpiQueryTextBox
GpiSetBackColor
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharStringPosAndQryBoxExh||GpiCharString
GpiCharStringPos
GpiDeleteSetId
GpiLine
GpiMove
GpiQueryDefCharBox
GpiQueryFontMetrics
GpiQueryTextBox
GpiSetCharAngle
GpiSetCharBox
GpiSetCharMode
GpiSetCharSet
||
|-
|GpiCharStringPosAtAndQryExh||GpiCharString
GpiCharStringPos
GpiCharStringPosAt
GpiDeleteSetId
GpiMove


<pre class="western">/--------------------------------------------------------------------------\
GpiQueryDefCharBox
|Test Case                        |GPI Functions Called    |Configuration  |
|                                |                        |Settings      |
|---------------------------------+------------------------+---------------|
|GpiCharTestPre1                  |GpiCharStringPos        |              |
|                                |GpiCharStringPosAt      |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharTestPre2                  |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharTestApp1                  |GpiCharString          |              |
|                                |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiPolyLine            |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharDirection    |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|                                |GpiSetCharShear        |              |
|---------------------------------+------------------------+---------------|
|GpiSetAndQryCharAngleExh        |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiSetAndQryCharBoxExh          |GpiCharString          |              |
|                                |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryCharBox        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiSetAndQryCharDirExh          |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiQueryCharDirection  |              |
|                                |GpiQueryCharDirection  |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharDirection    |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiSetAndQryCharModeExh          |GpiCharStringAt        |              |
|                                |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiQueryCharMode        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiSetAndQryCharShearExh        |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiQueryCharShear      |              |
|                                |GpiQueryDefCharBox     |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|                                |GpiSetCharShear        |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringExh                |GpiCharString          |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringAtExh              |GpiCharString          |              |
|                                |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAndQryExh        |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAndQryShadeExh  |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetBackColor        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAndQryBoxExh    |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiLine                |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAtAndQryExh      |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiCharStringPosAt      |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAtAndQryShdExh  |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiCharStringPosAt      |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetBackColor        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiCharStringPosAtAndQryBoxExh  |GpiCharString          |              |
|                                |GpiCharStringPos        |              |
|                                |GpiCharStringPosAt      |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiLine                |              |
|                                |GpiMove                |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiQueryDevice          |              |
|                                |GpiQueryFontMetrics    |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
|---------------------------------+------------------------+---------------|
|GpiQryDefCharBoxExh              |GpiCharStringAt        |              |
|                                |GpiQueryCharBox        |              |
|                                |GpiQueryDefCharBox      |              |
|                                |GpiSetCharBox          |              |
|---------------------------------+------------------------+---------------|
|GpiQryTextBoxExh                |GpiCharStringAt        |              |
|                                |GpiDeleteSetId          |              |
|                                |GpiMove                |              |
|                                |GpiPolyLine            |              |
|                                |GpiQueryTextBox        |              |
|                                |GpiSetCharAngle        |              |
|                                |GpiSetCharBox          |              |
|                                |GpiSetCharMode          |              |
|                                |GpiSetCharSet          |              |
\--------------------------------------------------------------------------/</pre>


=== GpiClip Test Group ===
GpiQueryDevice
 
GpiQueryFontMetrics
 
GpiQueryTextBox
 
GpiSetCharAngle
 
GpiSetCharBox
 
GpiSetCharMode
 
GpiSetCharSet
||
|-
|GpiCharStringPosAtAndQryShdExh||GpiCharString
GpiCharStringPos
 
GpiCharStringPosAt
 
GpiDeleteSetId
 
GpiMove
 
GpiQueryDefCharBox
 
GpiQueryDevice
 
GpiQueryFontMetrics
 
GpiQueryTextBox
 
GpiSetBackColor
 
GpiSetCharAngle
 
GpiSetCharBox
 
GpiSetCharMode
 
GpiSetCharSet
||
|-
|GpiCharStringPosAtAndQryBoxExh||GpiCharString
GpiCharStringPos
 
GpiCharStringPosAt
 
GpiDeleteSetId
 
GpiLine
 
GpiMove
 
GpiQueryDefCharBox
 
GpiQueryDevice
 
GpiQueryFontMetrics
 
GpiQueryTextBox
 
GpiSetCharAngle
 
GpiSetCharBox
 
GpiSetCharMode
 
GpiSetCharSet
||
|-
|GpiQryDefCharBoxExh||GpiCharStringAt
GpiQueryCharBox
 
GpiQueryDefCharBox
 
GpiSetCharBox
||
|-
|GpiQryTextBoxExh||GpiCharStringAt
GpiDeleteSetId
 
GpiMove
 
GpiPolyLine
 
GpiQueryTextBox
 
GpiSetCharAngle
 
GpiSetCharBox
 
GpiSetCharMode
 
GpiSetCharSet
||
|}
 
===GpiClip Test Group===
The GpiClip test group tests the GPI clipping visible APIs. The following APIs are tested:
The GpiClip test group tests the GPI clipping visible APIs. The following APIs are tested:
*GpiExcludeClipRectangle
*GpiIntersectClipRectangle
*GpiOffsetClipRegion
*GpiSetClipRegion
*GpiSetClipPath
*GpiQueryClipBox
*GpiQueryClipRegion
*GpiPtVisible
*GpiRectVisible
This table lists the test cases and the functions called by each test case in the GpiClip test group. The GpiClip test group is found in GPICLIP.DLL.
{| class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiClipPre||GpiCreateRegion
GpiDestroyRegion
GpiSetClipRegion
||Direct
|-
|GpiClipApp||GpiCreateRegion
GpiDestroyRegion
GpiExcludeClipRectangle
GpiIntersectClipRectangle
GpiOffsetClipRegion
GpiPtVisible
GpiQueryClipBox
GpiSetClipRegion
||Direct
|-
|GpiPtVisibleExh||GpiCreateRegion
GpiDestroyRegion
GpiPtVisible
GpiSetClipRegion
||Direct
|-
|GpiRectVisibleExh||GpiCreateRegion
GpiDestroyRegion
GpiRectVisible
GpiSetClipRegion
||Direct
|-
|GpiQueryClipBoxExh||GpiCreateRegion
GpiDestroyRegion
GpiQueryClipBox
GpiSetClipRegion
||Direct
|-
|GpiQueryClipRegionExh||GpiCombineRegion
GpiCreateRegion
GpiDestroyRegion
GpiPaintRegion
GpiQueryClipRegion
GpiSetClipRegion
GpiSetPattern
||Direct
|-
|GpiSetClipPathExh||GpiCreateRegion
GpiDestroyRegion
GpiQueryClipBox
GpiSetClipRegion
||Queued
|-
|GpiExcludeClipRectExh||GpiCreateRegion
GpiDestroyRegion
GpiExcludeClipRectangle
GpiSetClipRegion
||Direct
|-
|GpiIntersectClipRectExh||GpiCreateRegion
GpiDestroyRegion
GpiIntersectClipRectangle


*GpiExcludeClipRectangle <br />*GpiIntersectClipRectangle <br />*GpiOffsetClipRegion <br />*GpiSetClipRegion <br />*GpiSetClipPath <br />*GpiQueryClipBox <br />*GpiQueryClipRegion <br />*GpiPtVisible <br />*GpiRectVisible
GpiSetClipRegion
||Direct
|-
|GpiOffsetClipRegionExh||GpiCreateRegion
GpiDestroyRegion


This table lists the test cases and the functions called by each test case in the GpiClip test group. The GpiClip test group is found in GPICLIP.DLL.
GpiOffsetClipRegion


<pre class="western">/----------------------------------------------------------------------\
GpiSetClipRegion
|Test Case                |GPI Functions Called      |Configuration  |
||Direct
|                          |                          |Settings      |
|}
|--------------------------+---------------------------+---------------|
|GpiClipPre                |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiClipApp                |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiExcludeClipRectangle    |              |
|                          |GpiIntersectClipRectangle  |              |
|                          |GpiOffsetClipRegion        |              |
|                          |GpiPtVisible              |              |
|                          |GpiQueryClipBox            |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiPtVisibleExh          |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiPtVisible              |              |
|                          |GpiSetClipRegion           |              |
|--------------------------+---------------------------+---------------|
|GpiRectVisibleExh        |GpiCreateRegion            |Direct         |
|                         |GpiDestroyRegion          |              |
|                          |GpiRectVisible            |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiQueryClipBoxExh        |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiQueryClipBox            |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiQueryClipRegionExh    |GpiCombineRegion          |Direct        |
|                          |GpiCreateRegion            |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiPaintRegion            |              |
|                          |GpiQueryClipRegion        |              |
|                          |GpiSetClipRegion          |              |
|                          |GpiSetPattern              |              |
|--------------------------+---------------------------+---------------|
|GpiSetClipPathExh        |GpiCreateRegion            |Queued        |
|                          |GpiDestroyRegion          |              |
|                          |GpiQueryClipBox            |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiExcludeClipRectExh    |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiExcludeClipRectangle    |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiIntersectClipRectExh  |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiIntersectClipRectangle  |              |
|                          |GpiSetClipRegion          |              |
|--------------------------+---------------------------+---------------|
|GpiOffsetClipRegionExh    |GpiCreateRegion            |Direct        |
|                          |GpiDestroyRegion          |              |
|                          |GpiOffsetClipRegion        |              |
|                          |GpiSetClipRegion          |              |
\----------------------------------------------------------------------/</pre>


=== GpiColor Test Group ===
=== GpiColor Test Group ===
Line 814: Line 1,165:


This table lists the test cases and the functions called by each test case in the GpiColor test group. The GpiColor test group is found in GPICOLOR. DLL.
This table lists the test cases and the functions called by each test case in the GpiColor test group. The GpiColor test group is found in GPICOLOR. DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiColorApp1||GpiSetColor
GpiSetPattern
||
|-
|GpiColorApp2||GpiSetColor||
|-
|GpiColorApp3||GpiBeginArea
GpiBox
GpiEndArea
GpiFullArc
GpiLine
GpiMove
GpiPointArc
GpiSetArcParams
GpiSetBackMix
GpiSetColor
||
|-
|GpiSetColorExh||GpiLine
GpiMove
GpiSetColor
||
|-
|GpiSetMixExh1||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryDevice
GpiQueryMix
GpiSetColor
GpiSetMix
GpiSetPattern
||
|-
|GpiSetMixExh2||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryDevice
GpiQueryMix
GpiSetColor
GpiSetMix
GpiSetPattern
||
|-
|GpiSetMixExh3||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryDevice
GpiQueryMix
GpiSetColor
GpiSetMix
GpiSetPattern
||
|-
|GpiSetMixExh4||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryDevice
GpiQueryMix
GpiSetColor
GpiSetMix
GpiSetPattern
||
|-
|GpiSetBackColorExh||GpiBox
GpiMove
GpiQueryBackColor
GpiSetBackColor
GpiSetBackMix
GpiSetColor
GpiSetPattern
||
|-
|GpiSetBackMixExh||GpiBeginArea
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryBackMix
GpiQueryDevice
GpiSetBackColor
GpiSetBackMix
GpiSetColor
GpiSetMixExh1
GpiSetPattern
||
|-
|GpiCreateLogColorTableExh1||GpiBox
GpiCreateLogColorTable
GpiLine
GpiMove
GpiQueryDevice
GpiQueryLogColorTable
GpiSetColor
GpiSetPattern
GpiSetPatternSet
GpiUnrealizeColorTable
||
|-
|GpiCreateLogColorTableExh2||GpiBox
GpiCreateLogColorTable
GpiLine
GpiMove
GpiQueryDevice
GpiSetColor
GpiSetPattern
||
|-
|GpiQueryColorDataExh||GpiCreateLogColorTable
GpiLine


<pre class="western">/-------------------------------------------------------------------------\
GpiMove
|Test Case                    |GPI Functions Called      |Configuration  |
 
|                              |                          |Settings      |
GpiQueryColorData
|------------------------------+--------------------------+---------------|
 
|GpiColorApp1                  |GpiSetColor               |              |
GpiSetColor
|                              |GpiSetPattern             |              |
 
|------------------------------+--------------------------+---------------|
GpiSetPattern
|GpiColorApp2                  |GpiSetColor              |              |
||  
|------------------------------+--------------------------+---------------|
|-
|GpiColorApp3                  |GpiBeginArea              |              |
|GpiQueryColorIndexExh||GpiBox
|                              |GpiBox                   |              |
GpiCreateLogColorTable
|                              |GpiEndArea                |              |
 
|                              |GpiFullArc                |              |
GpiLine
|                              |GpiLine                   |              |
 
|                              |GpiMove                  |              |
GpiMove
|                              |GpiPointArc              |              |
 
|                              |GpiSetArcParams          |              |
GpiQueryColorIndex
|                              |GpiSetBackMix            |              |
 
|                              |GpiSetColor              |              |
GpiQueryDevice
|------------------------------+--------------------------+---------------|
 
|GpiSetColorExh                |GpiLine                  |              |
GpiSetColor
|                              |GpiMove                   |              |
||  
|                              |GpiSetColor              |              |
|-
|------------------------------+--------------------------+---------------|
|GpiQueryNearestColorExh||GpiBox
|GpiSetMixExh1                |GpiBeginArea              |              |
GpiCreateLogColorTable
|                              |GpiEndArea                |              |
 
|                              |GpiMove                  |              |
GpiLine
|                              |GpiPolyLine              |              |
 
|                              |GpiQueryDevice           |              |
GpiMove
|                              |GpiQueryMix              |              |
 
|                              |GpiSetColor               |              |
GpiQueryDevice
|                              |GpiSetMix                |              |
 
|                             |GpiSetPattern            |              |
GpiQueryNearestColor
|------------------------------+--------------------------+---------------|
 
|GpiSetMixExh2                |GpiBeginArea              |              |
GpiSetColor
|                              |GpiEndArea                |              |
 
|                              |GpiMove                  |              |
GpiSetPattern
|                              |GpiPolyLine              |              |
||  
|                              |GpiQueryDevice            |              |
|-
|                              |GpiQueryMix              |              |
|GpiQueryRealColorsExh||GpiBox
|                              |GpiSetColor              |              |
GpiCreateLogColorTable
|                              |GpiSetMix                |              |
 
|                              |GpiSetPattern            |              |
GpiLine
|------------------------------+--------------------------+---------------|
 
|GpiSetMixExh3                |GpiBeginArea              |              |
GpiMove
|                              |GpiEndArea                |              |
 
|                              |GpiMove                   |              |
GpiQueryDevice
|                              |GpiPolyLine              |              |
 
|                              |GpiQueryDevice           |              |
GpiQueryRealColors
|                              |GpiQueryMix              |              |
 
|                              |GpiSetColor              |              |
GpiSetColor
|                              |GpiSetMix                |              |
 
|                              |GpiSetPattern            |              |
GpiSetPattern
|------------------------------+--------------------------+---------------|
||  
|GpiSetMixExh4                |GpiBeginArea              |              |
|-
|                              |GpiEndArea                |              |
|GpiQueryRGBColorExh||GpiBox
|                              |GpiMove                  |              |
GpiLine
|                              |GpiPolyLine              |              |
 
|                              |GpiQueryDevice            |              |
GpiMove
|                              |GpiQueryMix              |              |
 
|                              |GpiSetColor               |              |
GpiQueryDevice
|                              |GpiSetMix                |              |
 
|                              |GpiSetPattern             |               |
GpiQueryRGBColor
|------------------------------+--------------------------+---------------|
 
|GpiSetBackColorExh            |GpiBox                   |              |
GpiSetColor
|                              |GpiMove                  |              |
 
|                              |GpiQueryBackColor        |              |
GpiSetPattern
|                              |GpiSetBackColor          |              |
||  
|                              |GpiSetBackMix            |              |
|}
|                              |GpiSetColor              |              |
|                              |GpiSetPattern            |              |
|------------------------------+--------------------------+---------------|
|GpiSetBackMixExh              |GpiBeginArea              |              |
|                              |GpiEndArea                |              |
|                              |GpiMove                   |              |
|                              |GpiPolyLine              |              |
|                              |GpiQueryBackMix          |              |
|                              |GpiQueryDevice            |              |
|                              |GpiSetBackColor          |              |
|                              |GpiSetBackMix            |              |
|                              |GpiSetColor               |              |
|                              |GpiSetMixExh1            |              |
|                              |GpiSetPattern             |               |
|------------------------------+--------------------------+---------------|
|GpiCreateLogColorTableExh1    |GpiBox                    |              |
|                              |GpiCreateLogColorTable    |              |
|                              |GpiLine                  |              |
|                              |GpiMove                  |              |
|                              |GpiQueryDevice            |              |
|                              |GpiQueryLogColorTable    |              |
|                              |GpiSetColor              |              |
|                              |GpiSetPattern            |              |
|                              |GpiSetPatternSet          |              |
|                              |GpiUnrealizeColorTable    |              |
|------------------------------+--------------------------+---------------|
|GpiCreateLogColorTableExh2    |GpiBox                   |              |
|                              |GpiCreateLogColorTable    |              |
|                              |GpiLine                   |              |
|                              |GpiMove                  |              |
|                              |GpiQueryDevice            |              |
|                              |GpiSetColor              |              |
|                              |GpiSetPattern            |              |
|------------------------------+--------------------------+---------------|
|GpiQueryColorDataExh          |GpiCreateLogColorTable    |              |
|                              |GpiLine                  |              |
|                              |GpiMove                   |              |
|                              |GpiQueryColorData        |              |
|                              |GpiSetColor              |              |
|                              |GpiSetPattern            |              |
|------------------------------+--------------------------+---------------|
|GpiQueryColorIndexExh        |GpiBox                    |              |
|                              |GpiCreateLogColorTable    |              |
|                              |GpiLine                  |              |
|                              |GpiMove                  |              |
|                              |GpiQueryColorIndex        |              |
|                              |GpiQueryDevice           |              |
|                              |GpiSetColor              |              |
|------------------------------+--------------------------+---------------|
|GpiQueryNearestColorExh      |GpiBox                    |              |
|                              |GpiCreateLogColorTable    |              |
|                              |GpiLine                  |              |
|                              |GpiMove                  |              |
|                              |GpiQueryDevice            |              |
|                              |GpiQueryNearestColor      |              |
|                              |GpiSetColor               |              |
|                              |GpiSetPattern            |              |
|------------------------------+--------------------------+---------------|
|GpiQueryRealColorsExh        |GpiBox                    |              |
|                              |GpiCreateLogColorTable    |              |
|                              |GpiLine                  |              |
|                              |GpiMove                  |              |
|                              |GpiQueryDevice            |              |
|                              |GpiQueryRealColors        |              |
|                              |GpiSetColor              |              |
|                              |GpiSetPattern             |              |
|------------------------------+--------------------------+---------------|
|GpiQueryRGBColorExh          |GpiBox                    |              |
|                              |GpiLine                  |              |
|                             |GpiMove                  |              |
|                             |GpiQueryDevice            |              |
|                              |GpiQueryRGBColor          |              |
|                              |GpiSetColor              |              |
|                              |GpiSetPattern            |              |
\-------------------------------------------------------------------------/</pre>


=== GpiElement Test Group ===
=== GpiElement Test Group ===
This testcase is designed to test the GPI element functions that:
This testcase is designed to test the GPI element functions that:
 
*Open an element bracket.
*Open an element bracket. <br />*Close an element bracket. <br />*Delete the element referenced by the current value of the element pointer. <br />*Delete a section of elements inclusively delimited by element pointer values. <br />*Delete a section of elements exclusively delimited by labels. <br />*Add a single element to the current segment. <br />*Query the graphics orders for a single element. <br />*Get the graphics orders for a specified segment. <br />*Add a buffer of graphics orders to the current segment. <br />*Insert a label into the current segment. <br />*Move the element pointer by a specified increment. <br />*Query information associated with the current element. <br />*Set the current edit mode to either insert or replace. <br />*Query the current edit mode setting. <br />*Set the value of the element pointer. <br />*Query the value of the element pointer. <br />*Set the value of the element pointer to point at a specified label.
*Close an element bracket.
*Delete the element referenced by the current value of the element pointer.
*Delete a section of elements inclusively delimited by element pointer values.
*Delete a section of elements exclusively delimited by labels.
*Add a single element to the current segment.
*Query the graphics orders for a single element.
*Get the graphics orders for a specified segment.
*Add a buffer of graphics orders to the current segment.
*Insert a label into the current segment.
*Move the element pointer by a specified increment.
*Query information associated with the current element.
*Set the current edit mode to either insert or replace.
*Query the current edit mode setting.
*Set the value of the element pointer.
*Query the value of the element pointer.
*Set the value of the element pointer to point at a specified label.


This testcase includes application tests that are designed to test the behavior of these character functions with other GPIs.
This testcase includes application tests that are designed to test the behavior of these character functions with other GPIs.
Line 970: Line 1,440:


This table lists the test cases and the functions called by each test case in the GpiElement test group. The GpiElement test group is found in GPIELMNT.DLL.
This table lists the test cases and the functions called by each test case in the GpiElement test group. The GpiElement test group is found in GPIELMNT.DLL.
{| class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiElementTestApp1||GpiDrawSegment
GpiQueryPS
GpiSetDrawControl
GpiSetDrawingMode
||Normal
|-
|GpiElementTestApp2||GpiDrawSegment
GpiQueryPS
GpiSetDrawControl
GpiSetDrawingMode
||Normal
|-
|GpiBeginAndEndElementExh||GpiBeginElement
GpiCloseSegment
GpiDrawSegment
GpiEndElement
GpiLine
GpiMove
GpiOpenSegment
GpiQueryPS
GpiSetColor
GpiSetDrawControl
GpiSetDrawingMode
||Normal
|-
|GpiDeleteElementExh||GpiCloseSegment
GpiDeleteElement
GpiOffsetElementPointer
GpiOpenSegment
GpiQueryPS
GpiSetDrawControl
GpiSetDrawingMode
GpiSetElementPointerAtLabel
||Normal
|-
|GpiDeleteElementRangeExh||GpiCloseSegment
GpiDeleteElementRange
GpiDrawSegment
GpiOpenSegment
GpiQueryElementPointer
GpiQueryPS
GpiSetDrawControl
GpiSetDrawingMode
GpiSetElementPointerAtLabel
||Normal
|-
|GpiDeleteElmntsBetweenLabelsExh||GpiCloseSegment
GpiDeleteElement
GpiDeleteElementsBetweenLabels
GpiDrawSegment
GpiOpenSegment
GpiQueryPS
GpiSetDrawControl
GpiSetDrawingMode
||Normal
|-
|GpiElementAndQryExh||GpiBeginElement
GpiCloseSegment
GpiComment
GpiDrawSegment
GpiElement
GpiEndElement
GpiMove
GpiOpenSegment
GpiPolyLine


<pre class="western">/-------------------------------------------------------------------------------------\
GpiQueryElement
|Test Case                        |GPI Functions Called              |Configuration  |
|                                  |                                  |Settings      |
|----------------------------------+----------------------------------+---------------|
|GpiElementTestApp1                |GpiDrawSegment                    |Normal        |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawContro                  |              |
|                                  |GpiSetDrawingMode                |              |
|----------------------------------+----------------------------------+---------------|
|GpiElementTestApp2                |GpiDrawSegment                    |Normal        |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|----------------------------------+----------------------------------+---------------|
|GpiBeginAndEndElementExh          |GpiBeginElement                  |Normal        |
|                                  |GpiCloseSegment                  |              |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiEndElement                    |              |
|                                  |GpiLine                          |              |
|                                  |GpiMove                          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetColor                      |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|----------------------------------+----------------------------------+---------------|
|GpiDeleteElementExh              |GpiCloseSegment                  |Normal        |
|                                  |GpiDeleteElement                  |              |
|                                  |GpiOffsetElementPointer          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointerAtLabel      |              |
|----------------------------------+----------------------------------+---------------|
|GpiDeleteElementRangeExh          |GpiCloseSegment                  |Normal        |
|                                  |GpiDeleteElementRange            |              |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryElementPointer            |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointerAtLabel      |              |
|----------------------------------+----------------------------------+---------------|
|GpiDeleteElmntsBetweenLabelsExh  |GpiCloseSegment                  |Normal        |
|                                  |GpiDeleteElement                  |              |
|                                  |GpiDeleteElementsBetweenLabels    |              |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|----------------------------------+----------------------------------+---------------|
|GpiElementAndQryExh              |GpiBeginElement                  |Normal        |
|                                  |GpiCloseSegment                  |              |
|                                  |GpiComment                        |              |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiElement                        |              |
|                                  |GpiEndElement                    |              |
|                                  |GpiMove                          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiPolyLine                      |              |
|                                  |GpiQueryElement                   |              |
|                                  |GpiQueryElementType              |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetModelTransformMatrix        |              |
|----------------------------------+----------------------------------+---------------|
|GpiGetAndPutDataExh              |GpiCloseSegment                  |Normal        |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiGetData                        |              |
|                                  |GpiLabel                          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiPutData                        |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|----------------------------------+----------------------------------+---------------|
|GpiLabelAndSetElmtPtrAtLabelExh  |GpiCloseSegment                  |Normal        |
|                                  |GpiLabel                          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryElementPointer            |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointer              |              |
|                                  |GpiSetElementPointerAtLabel      |              |
|----------------------------------+----------------------------------+---------------|
|GpiOffsetElementPointerExh        |GpiCloseSegment                  |Normal        |
|                                  |GpiLabel                          |              |
|                                  |GpiOffsetElementPointer          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryElementPointer            |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointer              |              |
|----------------------------------+----------------------------------+---------------|
|GpiQueryElementTypeExh            |GpiCallSegmentMatrix              |Normal        |
|                                  |GpiCharString                    |              |
|                                  |GpiCharStringAt                  |              |
|                                  |GpiCloseSegment                  |              |
|                                  |GpiElement                        |              |
|                                  |GpiFullArc                        |              |
|                                  |GpiImage                          |              |
|                                  |GpiLine                          |              |
|                                  |GpiMove                          |              |
|                                  |GpiOffsetElementPointer          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiPolyFillet                    |              |
|                                  |GpiPolyFilletSharp                |              |
|                                  |GpiPolyMarker                    |              |
|                                  |GpiPolySpline                    |              |
|                                  |GpiQueryDefAttrs                  |              |
|                                  |GpiQueryElement                  |              |
|                                  |GpiQueryElementType              |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetAttrs                      |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointer              |              |
|                                  |GpiSetSegmentAttrs                |              |
|----------------------------------+----------------------------------+---------------|
|GpiSetAndQryEditModeExh          |GpiCloseSegment                  |Normal        |
|                                  |GpiDrawSegment                    |              |
|                                  |GpiLabel                          |              |
|                                  |GpiOffsetElementPointer          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryEditMode                  |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiRotate                        |              |
|                                  |GpiSetDrawControl                |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetEditMode                    |              |
|                                  |GpiSetElementPointerAtLabel      |              |
|                                  |GpiSetModelTransformMatrix        |              |
|----------------------------------+----------------------------------+---------------|
|GpiSetAndQryElementPointerExh    |GpiCloseSegment                  |Normal        |
|                                  |GpiLabel                          |              |
|                                  |GpiOpenSegment                    |              |
|                                  |GpiQueryPS                        |              |
|                                  |GpiSetDrawingMode                |              |
|                                  |GpiSetElementPointer              |              |
\-------------------------------------------------------------------------------------/</pre>


=== GpiFont Test Group ===
GpiQueryElementType
 
GpiQueryPS
 
GpiSetDrawControl
 
GpiSetDrawingMode
 
GpiSetModelTransformMatrix
||Normal
|-
|GpiGetAndPutDataExh|||GpiCloseSegment
GpiDrawSegment
 
GpiGetData
 
GpiLabel
 
GpiOpenSegment
 
GpiPutData
 
GpiQueryPS
 
GpiSetDrawControl
 
GpiSetDrawingMode
||Normal
|-
|GpiLabelAndSetElmtPtrAtLabelExh||GpiCloseSegment
GpiLabel
 
GpiOpenSegment
 
GpiQueryElementPointer
 
GpiQueryPS
 
GpiSetDrawingMode
 
GpiSetElementPointer
 
GpiSetElementPointerAtLabel
||Normal
|-
|GpiOffsetElementPointerExh||GpiCloseSegment
GpiLabel
 
GpiOffsetElementPointer
 
GpiOpenSegment
 
GpiQueryElementPointer
 
GpiQueryPS
 
GpiSetDrawingMode
 
GpiSetElementPointer
||Normal
|-
|GpiQueryElementTypeExh||GpiCallSegmentMatrix
GpiCharString
 
GpiCharStringAt
 
GpiCloseSegment
 
GpiElement
 
GpiFullArc
 
GpiImage
 
GpiLine
 
GpiMove
 
GpiOffsetElementPointer
 
GpiOpenSegment
 
GpiPolyFillet
 
GpiPolyFilletSharp
 
GpiPolyMarker
 
GpiPolySpline
 
GpiQueryDefAttrs
 
GpiQueryElement
 
GpiQueryElementType
 
GpiQueryPS
 
GpiSetAttrs
 
GpiSetDrawingMode
 
GpiSetElementPointer
 
GpiSetSegmentAttrs
||Normal
|-
|GpiSetAndQryEditModeExh||GpiCloseSegment
GpiDrawSegment
 
GpiLabel
 
GpiOffsetElementPointer
 
GpiOpenSegment
 
GpiQueryEditMode
 
GpiQueryPS
 
GpiRotate
 
GpiSetDrawControl
 
GpiSetDrawingMode
 
GpiSetEditMode
 
GpiSetElementPointerAtLabel
 
GpiSetModelTransformMatrix
||Normal
|-
|GpiSetAndQryElementPointerExh||GpiCloseSegment
GpiLabel
 
GpiOpenSegment
 
GpiQueryPS
 
GpiSetDrawingMode
 
GpiSetElementPointer
||Normal
|}
 
===GpiFont Test Group===
The GpiFont test group tests GPI text functions including:
The GpiFont test group tests GPI text functions including:
*Determine whether a given file is a font resource file.
*Query the font metrics for the current logical font.
*Query the font metrics for all available fonts, or for the fonts specified by facename.
*Load one or more fonts from the specified resource file.
*Unload fonts previously loaded from the resource file.
*Create a logical definition of a font that an application requires to use.
*Query kerning pair information for the logical font identified by the current value of the character set attribute.
*Set the current value of the character-set attribute.
*Query the character-set lcid.
*Sets the code page ID for graphics characters for the default font.
*Query the currently selected graphics code page.
*Query the fonts that have been created by GpiCreateLogFont, and tagged bit maps.
*Query the number of local identifiers currently in use, referring to fonts or bit maps.
*Delete a logical font or bit-map tag.
*Query width table information for the logical font identified by the value of the character-set attribute.
*Query the device characteristics.
This table lists the test cases and the functions called by each test case in the GpiFont test group. The GpiFont test group is found in GPIFONT.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiFontApp1||GpiCharStringAt
GpiCreateLogFont
GpiDeleteSetId
GpiQueryCharSet
GpiQueryDevice


*Determine whether a given file is a font resource file.
GpiQueryFontFileDescriptions
 
GpiQueryFonts
 
GpiQueryNumberSetIds
 
GpiQueryWidthTable
 
GpiSetCharSet
||
|-
|GpiFontApp2||GpiQueryDevice
GpiQueryFontMetrics
 
GpiSetCharSet
||
|-
|GpiQueryFontFileDescriptionsExh||GpiDeleteSetId
GpiQueryDevice
 
GpiQueryFontFileDescriptions
 
GpiSetCharSet
||
|-
|GpiQueryFontMetricsExh||GpiDeleteSetId
GpiQueryFontMetrics
 
GpiSetCharSet
||
|-
|GpiQueryFontsExh||GpiDeleteSetId
GpiLoadFonts


*Query the font metrics for the current logical font.
GpiQueryFonts


*Query the font metrics for all available fonts, or for the fonts specified by facename.
GpiSetCharSet


*Load one or more fonts from the specified resource file.
GpiUnloadFonts
||
|-
|GpiCreateLogFontExh||GpiDeleteSetId
GpiResetPS


*Unload fonts previously loaded from the resource file.
GpiSetCharSet
||
|-
|GpiQueryKerningPairsExh||GpiDeleteSetId
GpiQueryDevice


*Create a logical definition of a font that an application requires to use.
GpiQueryFontMetrics


*Query kerning pair information for the logical font identified by the current value of the character set attribute.
GpiQueryKerningPairs


*Set the current value of the character-set attribute.
GpiSetCharSet
||
|-
|GpiSetAndQueryCpExh||GpiCharString
GpiMove


*Query the character-set lcid.
GpiQueryCp


*Sets the code page ID for graphics characters for the default font.
GpiQueryCp


*Query the currently selected graphics code page.
GpiSetCp
||
|-
|GpiSetAndQueryCharSetExh||GpiDeleteSetId
GpiQueryCharSet


*Query the fonts that have been created by GpiCreateLogFont, and tagged bit maps.
GpiSetCharSet
||
|-
|GpiQueryNumberSetIdsExh||GpiDeleteSetId
GpiQueryNumberSetIds


*Query the number of local identifiers currently in use, referring to fonts or bit maps.
GpiSetCharSet
||
|-
|GpiDeleteSetIdExh||GpiDeleteSetId
GpiSetCharSet
||
|-
|GpiQueryWidthTableExh||GpiDeleteSetId
GpiQueryDevice


*Delete a logical font or bit-map tag.
GpiQueryFontMetrics


*Query width table information for the logical font identified by the value of the character-set attribute.
GpiQueryWidthTable


*Query the device characteristics.
GpiSetCharSet
||
|-
|GpiLoadFontsExh||GpiLoadFonts
GpiQueryFonts


This table lists the test cases and the functions called by each test case in the GpiFont test group. The GpiFont test group is found in GPIFONT.DLL.
GpiUnloadFonts
||
|-
|GpiUnloadFontsExh||GpiLoadFonts
GpiQueryFonts


<pre class="western">/----------------------------------------------------------------------------------\
GpiUnloadFonts
|Test Case                        |GPI Functions Called          |Configuration  |
||  
|                                  |                              |Settings      |
|}
|----------------------------------+-------------------------------+---------------|
|GpiFontApp1                      |GpiCharStringAt                |              |
|                                  |GpiCreateLogFont              |              |
|                                  |GpiDeleteSetId                |              |
|                                  |GpiQueryCharSet                |              |
|                                  |GpiQueryDevice                |              |
|                                  |GpiQueryFontFileDescriptions  |              |
|                                  |GpiQueryFonts                  |              |
|                                  |GpiQueryNumberSetIds          |              |
|                                  |GpiQueryWidthTable            |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiFontApp2                      |GpiQueryDevice                |              |
|                                  |GpiQueryFontMetrics            |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryFontFileDescriptionsExh  |GpiDeleteSetId                |              |
|                                  |GpiQueryDevice                |              |
|                                  |GpiQueryFontFileDescriptions  |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryFontMetricsExh            |GpiDeleteSetId                |              |
|                                  |GpiQueryFontMetrics            |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryFontsExh                  |GpiDeleteSetId                |              |
|                                  |GpiLoadFonts                  |              |
|                                  |GpiQueryFonts                  |              |
|                                  |GpiSetCharSet                  |              |
|                                  |GpiUnloadFonts                 |              |
|----------------------------------+-------------------------------+---------------|
|GpiCreateLogFontExh              |GpiDeleteSetId                |              |
|                                  |GpiResetPS                    |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryKerningPairsExh          |GpiDeleteSetId                |              |
|                                  |GpiQueryDevice                |              |
|                                  |GpiQueryFontMetrics            |              |
|                                  |GpiQueryKerningPairs          |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiSetAndQueryCpExh              |GpiCharString                  |              |
|                                  |GpiMove                        |              |
|                                  |GpiQueryCp                    |              |
|                                  |GpiQueryCp                    |              |
|                                  |GpiSetCp                      |              |
|----------------------------------+-------------------------------+---------------|
|GpiSetAndQueryCharSetExh          |GpiDeleteSetId                |              |
|                                  |GpiQueryCharSet                |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryNumberSetIdsExh          |GpiDeleteSetId                |              |
|                                  |GpiQueryNumberSetIds          |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiDeleteSetIdExh                |GpiDeleteSetId                |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiQueryWidthTableExh            |GpiDeleteSetId                |              |
|                                  |GpiQueryDevice                |              |
|                                  |GpiQueryFontMetrics            |              |
|                                  |GpiQueryWidthTable            |              |
|                                  |GpiSetCharSet                  |              |
|----------------------------------+-------------------------------+---------------|
|GpiLoadFontsExh                  |GpiLoadFonts                  |              |
|                                  |GpiQueryFonts                  |              |
|                                  |GpiUnloadFonts                |              |
|----------------------------------+-------------------------------+---------------|
|GpiUnloadFontsExh                |GpiLoadFonts                  |              |
|                                  |GpiQueryFonts                  |              |
|                                  |GpiUnloadFonts                |              |
\----------------------------------------------------------------------------------/</pre>


=== GpiImage Test Group ===
===GpiImage Test Group===
This module is called by PTT to test the GPI Image APIs. This GPI is used to display raster (bit map) images. The functionality of this GPI and all the error codes that may be returned by this GPI will be tested.
This module is called by PTT to test the GPI Image APIs. This GPI is used to display raster (bit map) images. The functionality of this GPI and all the error codes that may be returned by this GPI will be tested.


'''Limitations:''' GpiImage cannot be used to load bitmaps that a pixel is represented by more than one bit.
'''Limitations:''' GpiImage cannot be used to load bitmaps that a pixel is represented by more than one bit.


This table lists the test cases and the functions called by each test case in the GpiImage test group. The GpiImage test group is found in GPIIMAGE. DLL.
This table lists the test cases and the functions called by each test case in the GpiImage test group. The GpiImage test group is found in GPIIMAGE.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiImagePre||GpiImage
GpiMove
 
GpiSetColor
||
|-
|GpiImageApp||GpiBox
GpiImage
 
GpiMove
 
GpiRestorePS
 
GpiSetColor
 
GpiSetPattern
||
|-
|GpiImageExh||GpiImage
GpiMove


<pre class="western">/---------------------------------------------------------------------\
GpiSetColor
|Test Case                |GPI Functions Called      |Configuration  |
||  
|                          |                          |Settings      |
|}
|--------------------------+--------------------------+---------------|
|GpiImagePre              |GpiImage                  |              |
|                          |GpiMove                  |              |
|                          |GpiSetColor               |              |
|--------------------------+--------------------------+---------------|
|GpiImageApp              |GpiBox                    |              |
|                          |GpiImage                  |              |
|                          |GpiMove                  |              |
|                          |GpiRestorePS              |              |
|                          |GpiSetColor              |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiImageExh              |GpiImage                  |              |
|                          |GpiMove                  |              |
|                          |GpiSetColor              |              |
\---------------------------------------------------------------------/</pre>


=== GpiLine Test Group ===
===GpiLine Test Group===
The GpiLine test group tests the line and polyline APIs with respect to line characteristics and precision.
The GpiLine test group tests the line and polyline APIs with respect to line characteristics and precision.


This table lists the test cases and the functions called by each test case in the GpiLine test group. The GpiLine Test Group is found in GPILINE.DLL.
This table lists the test cases and the functions called by each test case in the GpiLine test group. The GpiLine Test Group is found in GPILINE.DLL.


<pre class="western">/---------------------------------------------------------------------\
{| class="wikitable"
|Test Case                 |GPI Functions Called     |Configuration |
!Test Case||GPI Functions Called||Configuration Settings
|                          |                          |Settings       |
|-
|--------------------------+--------------------------+---------------|
|GpiLinePre||GpiBeginPath
|GpiLinePre               |GpiBeginPath             |              |
GpiBox
|                          |GpiBox                   |              |
 
|                          |GpiCloseFigure           |              |
GpiCloseFigure
|                          |GpiEndPath               |              |
 
|                          |GpiFillPath               |              |
GpiEndPath
|                          |GpiLine                   |              |
 
|                          |GpiMove                   |              |
GpiFillPath
|                          |GpiPolyLine               |              |
 
|                          |GpiSetPattern             |               |
GpiLine
|--------------------------+--------------------------+---------------|
 
|GpiLineApp               |GpiBeginPath             |              |
GpiMove
|                          |GpiBox                   |              |
 
|                          |GpiCloseFigure           |              |
GpiPolyLine
|                          |GpiEndPath               |              |
 
|                          |GpiFillPath               |              |
GpiSetPattern
|                          |GpiLine                   |              |
||  
|                          |GpiMove                   |              |
|-
|                          |GpiPolyLine               |              |
|GpiLineApp||GpiBeginPath
|                          |GpiSetPattern             |               |
GpiBox
|--------------------------+--------------------------+---------------|
 
|GpiBoxExh                 |GpiBox                   |              |
GpiCloseFigure
|                          |GpiMove                   |              |
 
|                          |GpiQueryCurrentPosition   |              |
GpiEndPath
|                          |GpiSetPattern             |               |
 
|--------------------------+--------------------------+---------------|
GpiFillPath
|GpiLineExh               |GpiLine                   |              |
 
|                          |GpiQueryLineType         |              |
GpiLine
|                          |GpiSetCurrentPosition     |              |
 
|                          |GpiSetLineType           |               |
GpiMove
|--------------------------+--------------------------+---------------|
 
|GpiPolyLineExh           |GpiMove                   |              |
GpiPolyLine
|                          |GpiPolyLine               |               |
 
\---------------------------------------------------------------------/</pre>
GpiSetPattern
||  
|-
|GpiBoxExh||GpiBox
GpiMove
 
GpiQueryCurrentPosition
 
GpiSetPattern
||  
|-
|GpiLineExh||GpiLine
GpiQueryLineType
 
GpiSetCurrentPosition
 
GpiSetLineType
||  
|-
|GpiPolyLineExh||GpiMove
GpiPolyLine
||  
|}


=== GpiMarker Test Group ===
===GpiMarker Test Group===
The GpiMarker test group covers the GPI Marker APIs with respect to precision, size, and variation.
The GpiMarker test group covers the GPI Marker APIs with respect to precision, size, and variation.


This table lists the test cases and the functions called by each test case in the GpiMarker test group. The GpiMarker test group is found in GPIMARKER .DLL.
This table lists the test cases and the functions called by each test case in the GpiMarker test group. The GpiMarker test group is found in GPIMARKER.DLL.
 
{| class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiMarkerPre||GpiMarker
GpiPolyMarker
 
GpiSetMarker
||
|-
|GpiMarkerApp||GpiDeleteSetId
GpiMarker


<pre class="western">/---------------------------------------------------------------------\
GpiPolyMarker
|Test Case                |GPI Functions Called      |Configuration  |
|                          |                          |Settings      |
|--------------------------+--------------------------+---------------|
|GpiMarkerPre              |GpiMarker                |              |
|                          |GpiPolyMarker             |              |
|                          |GpiSetMarker              |              |
|--------------------------+--------------------------+---------------|
|GpiMarkerApp              |GpiDeleteSetId            |Direct and    |
|                          |GpiMarker                |Standard or    |
|                          |GpiPolyMarker            |Queued and Raw |
|                          |GpiQueryMarker            |              |
|                          |GpiQueryMarkerBox        |              |
|                          |GpiQueryMarkerSet        |              |
|                          |GpiSetMarker              |              |
|                          |GpiSetMarkerBox          |              |
|                          |GpiSetMarkerSet          |              |
|--------------------------+--------------------------+---------------|
|GpiMarkerExh              |GpiMarker                |Direct and    |
|                          |GpiQueryMarker            |Standard or    |
|                          |GpiQueryMarkerBox        |Queued and Raw |
|                          |GpiQueryMarkerSet        |              |
|                          |GpiSetMarker              |              |
|                          |GpiSetMarkerBox          |              |
|                          |GpiSetMarkerSet          |              |
|--------------------------+--------------------------+---------------|
|GpiPolyMarkerExh          |GpiPolyMarker            |              |
|                          |GpiQueryMarker            |              |
|                          |GpiQueryMarkerBox        |              |
|                          |GpiQueryMarkerSet        |              |
|                          |GpiSetCharDirection      |              |
|                          |GpiSetMarker              |              |
|                          |GpiSetMarkerBox          |              |
|                          |GpiSetMarkerSet          |              |
\---------------------------------------------------------------------/</pre>


=== GpiMeta Test Group ===
GpiQueryMarker
 
GpiQueryMarkerBox
 
GpiQueryMarkerSet
 
GpiSetMarker
 
GpiSetMarkerBox
 
GpiSetMarkerSet
||Direct and Standard or Queued and Raw
|-
|GpiMarkerExh||GpiMarker
GpiQueryMarker
 
GpiQueryMarkerBox
 
GpiQueryMarkerSet
 
GpiSetMarker
 
GpiSetMarkerBox
 
GpiSetMarkerSet
||Direct and Standard or Queued and Raw
|-
|GpiPolyMarkerExh||GpiPolyMarker
GpiQueryMarker
 
GpiQueryMarkerBox
 
GpiQueryMarkerSet
 
GpiSetCharDirection
 
GpiSetMarker
 
GpiSetMarkerBox
 
GpiSetMarkerSet
||
|}
 
===GpiMeta Test Group===
The GpiMeta test group covers the GPI Meta APIs and tests the loading, copying, playing, deletion, and querying of meta files.
The GpiMeta test group covers the GPI Meta APIs and tests the loading, copying, playing, deletion, and querying of meta files.


This table lists the test cases and the functions called by each test case in the GpiMeta test group. The GpiMeta test group is found in GPIMETA.DLL.
This table lists the test cases and the functions called by each test case in the GpiMeta test group. The GpiMeta test group is found in GPIMETA.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiMetaApp1||GpiLoadMetaFile
GpiPlayMetaFile
||Raw
|-
|GpiMetaApp2||GpiLoadMetaFile
GpiPlayMetaFile
||Raw
|-
|GpiCopyMetaFileExh||GpiAssociate
GpiCharString
GpiCopyMetaFile
GpiCreatePS
GpiDestroyPS
GpiLoadMetaFile
GpiMove
GpiPlayMetaFile
GpiSaveMetaFile
||Raw
|-
|GpiDeleteMetaFileExh||GpiAssociate
GpiCharString
GpiCreatePS
GpiDeleteMetaFile
GpiDestroyPS
GpiLoadMetaFile
GpiMove
GpiPlayMetaFile
GpiSaveMetaFile
||Raw
|-
|GpiLoadPlayMetaFileExh1||GpiLoadMetaFile
GpiPlayMetaFile
||Raw
|-
|GpiLoadPlayMetaFileExh2||GpiCharString
GpiLoadMetaFile


<pre class="western">/-------------------------------------------------------------------------\
GpiMove
|Test Case                    |GPI Functions Called      |Configuration  |
|                              |                          |Settings      |
|------------------------------+--------------------------+---------------|
|GpiMetaApp1                  |GpiLoadMetaFile          |Raw            |
|                              |GpiPlayMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiMetaApp2                  |GpiLoadMetaFile          |Raw            |
|                              |GpiPlayMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiCopyMetaFileExh            |GpiAssociate              |Raw            |
|                              |GpiCharString            |              |
|                              |GpiCopyMetaFile          |              |
|                              |GpiCreatePS              |              |
|                              |GpiDestroyPS              |              |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                   |              |
|                              |GpiPlayMetaFile          |              |
|                              |GpiSaveMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiDeleteMetaFileExh          |GpiAssociate              |Raw            |
|                              |GpiCharString            |              |
|                              |GpiCreatePS              |              |
|                              |GpiDeleteMetaFile        |              |
|                              |GpiDestroyPS              |              |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                  |              |
|                              |GpiPlayMetaFile          |              |
|                              |GpiSaveMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiLoadPlayMetaFileExh1      |GpiLoadMetaFile          |Raw            |
|                              |GpiPlayMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiLoadPlayMetaFileExh2      |GpiCharString            |Raw            |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                  |              |
|                              |GpiPlayMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiLoadPlayMetaFileExh3      |GpiCharString            |Raw            |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                  |              |
|                              |GpiPlayMetaFile          |              |
|------------------------------+--------------------------+---------------|
|GpiQueryMetaFileLengthExh    |GpiCharString            |Raw            |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                  |              |
|                              |GpiQueryMetaFileLength    |              |
|------------------------------+--------------------------+---------------|
|GpiQuerySetMetaFileBitsExh    |GpiLoadMetaFile          |Raw            |
|                              |GpiPlayMetaFile          |              |
|                              |GpiQueryMetaFileBits      |              |
|                              |GpiQueryMetaFileLength    |              |
|                              |GpiSetMetaFileBits        |              |
|------------------------------+--------------------------+---------------|
|GpiSaveMetaFileExh            |GpiAssociate              |Raw            |
|                              |GpiCharString            |              |
|                              |GpiCharString            |              |
|                              |GpiCreatePS              |              |
|                              |GpiDestroyPS              |              |
|                              |GpiLoadMetaFile          |              |
|                              |GpiMove                  |              |
|                              |GpiSaveMetaFile          |              |
\-------------------------------------------------------------------------/</pre>


GpiPlayMetaFile
||Raw
|-
|GpiLoadPlayMetaFileExh3||GpiCharString
GpiLoadMetaFile


GpiMove


GpiPlayMetaFile
||Raw
|-
|GpiQueryMetaFileLengthExh||GpiCharString
GpiLoadMetaFile


=== GpiPath Test Group ===
GpiMove


GpiQueryMetaFileLength
||Raw
|-
|GpiQuerySetMetaFileBitsExh||GpiLoadMetaFile
GpiPlayMetaFile
GpiQueryMetaFileBits
GpiQueryMetaFileLength
GpiSetMetaFileBits
||Raw
|-
|GpiSaveMetaFileExh||GpiAssociate
GpiCharString
GpiCharString
GpiCreatePS
GpiDestroyPS
GpiLoadMetaFile
GpiMove
GpiSaveMetaFile
||Raw
|}
===GpiPath Test Group===
Paths are used to draw and fill lines and non-rectangular areas. This testcase covers the accuracy of the path limits, the basic functionality of path GPIs and each of the path drawing functions in detail.
Paths are used to draw and fill lines and non-rectangular areas. This testcase covers the accuracy of the path limits, the basic functionality of path GPIs and each of the path drawing functions in detail.


Line 1,418: Line 2,107:


This table lists the test cases and the functions called by each test case in the GpiPath test group. The GpiPath test group is found in GPIPATH.DLL.
This table lists the test cases and the functions called by each test case in the GpiPath test group. The GpiPath test group is found in GPIPATH.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiPathPre||GpiBeginPath
GpiCloseFigure
GpiEndPath
GpiFillPath
GpiMove
GpiOutlinePath
GpiPolyLine
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||
|-
|GpiPathApp||GpiBeginPath
GpiEndPath
GpiFillPath
GpiFullArc
GpiModifyPath
GpiMove
GpiOutlinePath
GpiPointArc
GpiPolyFillet
GpiPolyLine
GpiSetLineEnd
GpiSetLineJoin
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||
|-
|GpiFillPathExh||GpiBeginPath
GpiEndPath
GpiFillPath
GpiModifyPath
GpiMove


<pre class="western">/---------------------------------------------------------------------\
GpiPolyLine
|Test Case                |GPI Functions Called      |Configuration  |
|                          |                          |Settings      |
|--------------------------+--------------------------+---------------|
|GpiPathPre                |GpiBeginPath              |              |
|                          |GpiCloseFigure            |              |
|                          |GpiEndPath                |              |
|                          |GpiFillPath              |              |
|                          |GpiMove                  |              |
|                          |GpiOutlinePath            |              |
|                          |GpiPolyLine               |              |
|                          |GpiSetLineWidthGeom      |              |
|                          |GpiSetPattern            |              |
|                          |GpiStrokePath            |              |
|--------------------------+--------------------------+---------------|
|GpiPathApp                |GpiBeginPath              |              |
|                          |GpiEndPath                |              |
|                          |GpiFillPath              |              |
|                          |GpiFullArc                |              |
|                          |GpiModifyPath            |              |
|                          |GpiMove                  |              |
|                          |GpiOutlinePath            |              |
|                          |GpiPointArc              |              |
|                          |GpiPolyFillet            |              |
|                          |GpiPolyLine              |              |
|                          |GpiSetLineEnd            |              |
|                          |GpiSetLineJoin            |              |
|                          |GpiSetLineWidthGeom      |              |
|                          |GpiSetPattern            |              |
|                          |GpiStrokePath            |              |
|--------------------------+--------------------------+---------------|
|GpiFillPathExh            |GpiBeginPath              |              |
|                          |GpiEndPath                |              |
|                          |GpiFillPath              |              |
|                          |GpiModifyPath            |              |
|                          |GpiMove                  |              |
|                          |GpiPolyLine              |              |
|                          |GpiSetLineWidthGeom      |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiOutlinePathExh        |GpiBeginPath              |              |
|                          |GpiCloseFigure            |              |
|                          |GpiEndPath                |              |
|                          |GpiMove                  |              |
|                          |GpiOutlinePath            |              |
|                          |GpiPolyLine              |              |
|                          |GpiSetLineWidth          |              |
|--------------------------+--------------------------+---------------|
|GpiStrokePathExh          |GpiBeginPath              |              |
|                          |GpiCloseFigure            |              |
|                          |GpiEndPath                |              |
|                          |GpiMove                  |              |
|                          |GpiPolyLine              |              |
|                          |GpiSetLineWidthGeom      |              |
|                          |GpiSetPattern            |              |
|                          |GpiStrokePath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetLineExh            |GpiBeginPath              |              |
|                          |GpiEndPath                |              |
|                          |GpiMove                  |              |
|                          |GpiPolyLine              |              |
|                          |GpiQueryLineJoin          |              |
|                          |GpiQueryLineWidthGeom    |              |
|                          |GpiSetLineEnd            |              |
|                          |GpiSetLineJoin            |              |
|                          |GpiSetLineWidthGeom      |              |
|                          |GpiSetPattern            |              |
|                          |GpiStrokePath            |              |
\---------------------------------------------------------------------/</pre>


GpiSetLineWidthGeom


GpiSetPattern
||
|-
|GpiOutlinePathExh||GpiBeginPath
GpiCloseFigure


GpiEndPath


=== GpiPathclip Test Group ===
GpiMove


GpiOutlinePath
GpiPolyLine
GpiSetLineWidth
||
|-
|GpiStrokePathExh||GpiBeginPath
GpiCloseFigure
GpiEndPath
GpiMove
GpiPolyLine
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||
|-
|GpiSetLineExh||GpiBeginPath
GpiEndPath
GpiMove
GpiPolyLine
GpiQueryLineJoin
GpiQueryLineWidthGeom
GpiSetLineEnd
GpiSetLineJoin
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||
|}
===GpiPathclip Test Group===
The GpiPathClip test group exhaustively tests the GPI Set Clip Path API.
The GpiPathClip test group exhaustively tests the GPI Set Clip Path API.


This table lists the test cases and the functions called by each test case in the GpiPathclip test group. The GpiPathclip test group is found in GPIPATH.DLL.
This table lists the test cases and the functions called by each test case in the GpiPathclip test group. The GpiPathclip test group is found in GPIPATH.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiSetClipPathPre||GpiBeginPath
GpiBox
GpiCharStringAt
GpiEndPath
GpiMove
GpiSetClipPath
||
|-
|GpiSetClipPathApp1||GpiBeginPath
GpiCharStringAt
GpiCreateLogFont
GpiEndPath
GpiQueryFonts
GpiSetCharBox
GpiSetCharSet
GpiSetClipPath
||
|-
|GpiSetClipPathApp2||GpiBeginPath
GpiBox
GpiEndPath
GpiMove
GpiPolySpline


GpiSetClipPath


GpiSetPattern
||
|-
|GpiSetClipPathApp3||GpiBeginPath
GpiCharStringAt


<pre class="western">/---------------------------------------------------------------------\
GpiCreateLogFont
|Test Case                |GPI Functions Called      |Configuration  |
|                          |                          |Settings      |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathPre        |GpiBeginPath              |              |
|                          |GpiBox                    |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiMove                  |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathApp1        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiCreateLogFont         |              |
|                          |GpiEndPath                |              |
|                          |GpiQueryFonts            |              |
|                          |GpiSetCharBox            |              |
|                          |GpiSetCharSet            |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathApp2        |GpiBeginPath              |              |
|                          |GpiBox                    |              |
|                          |GpiEndPath                |              |
|                          |GpiMove                  |              |
|                          |GpiPolySpline            |              |
|                          |GpiSetClipPath            |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathApp3        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiCreateLogFont          |              |
|                          |GpiEndPath                |              |
|                          |GpiQueryFonts            |              |
|                          |GpiSetCharSet            |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh1        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh2        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh3        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh4        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh5        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
|--------------------------+--------------------------+---------------|
|GpiSetClipPathExh6        |GpiBeginPath              |              |
|                          |GpiCharStringAt          |              |
|                          |GpiEndPath                |              |
|                          |GpiSetClipPath            |              |
\---------------------------------------------------------------------/</pre>


=== GpiRegion Test Group ===
GpiEndPath
 
GpiQueryFonts
 
GpiSetCharSet
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh1||GpiBeginPath
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh2||GpiBeginPath
 
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh3||GpiBeginPath
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh4||GpiBeginPath
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh5||GpiBeginPath
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|-
|GpiSetClipPathExh6||GpiBeginPath
GpiCharStringAt
 
GpiEndPath
 
GpiSetClipPath
||
|}
 
===GpiRegion Test Group===
The GpiRegion test case tests the GPI Region APIs.
The GpiRegion test case tests the GPI Region APIs.


This table lists the test cases and the functions called by each test case in the GpiRegion test group. The GpiRegion test group is found in GPIREGN. DLL.
This table lists the test cases and the functions called by each test case in the GpiRegion test group. The GpiRegion test group is found in GPIREGN.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiRegionApp1||GpiBox
GpiCharStringAt
 
GpiCombineRegion
 
GpiCreateRegion
 
GpiMove
 
GpiPaintRegion
 
GpiPtInRegion
 
GpiRectInRegion
 
GpiSetPattern
||Direct
|-
|GpiCombineRegionExh1||GpiBox
GpiCombineRegion
 
GpiCreateRegion
 
GpiDestroyRegion
 
GpiMove
 
GpiPaintRegion
 
GpiSetPattern
||Direct
|-
|GpiCombineRegionExh2||GpiCombineRegion
GpiCreateRegion
 
GpiDestroyRegion
 
GpiPaintRegion
 
GpiSetPattern
||
|-
|GpiCreateRegionExh|| ||
|-
|GpiEqualRegionExh||GpiCreateRegion
GpiDestroyRegion
 
GpiEqualRegion
 
GpiPaintRegion


<pre class="western">/---------------------------------------------------------------------\
GpiSetPattern
|Test Case                |GPI Functions Called      |Configuration  |
||  
|                          |                          |Settings      |
|-
|--------------------------+--------------------------+---------------|
|GpiOffsetRegionExh||GpiCreateRegion
|GpiRegionApp1            |GpiBox                    |Direct        |
GpiDestroyRegion
|                          |GpiCharStringAt          |              |
|                          |GpiCombineRegion          |              |
|                          |GpiCreateRegion          |              |
|                          |GpiMove                  |              |
|                          |GpiPaintRegion            |              |
|                          |GpiPtInRegion            |              |
|                          |GpiRectInRegion          |              |
|                          |GpiSetPattern             |              |
|--------------------------+--------------------------+---------------|
|GpiCombineRegionExh1      |GpiBox                    |Direct        |
|                          |GpiCombineRegion          |              |
|                          |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiMove                  |              |
|                          |GpiPaintRegion            |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiCombineRegionExh2      |GpiCombineRegion          |              |
|                          |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiPaintRegion            |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiCreateRegionExh        |                          |              |
|--------------------------+--------------------------+---------------|
|GpiEqualRegionExh        |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiEqualRegion            |              |
|                          |GpiPaintRegion            |              |
|                         |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiOffsetRegionExh       |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiOffsetRegion          |              |
|                          |GpiPaintRegion            |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiPtInRegionExh          |GpiCharStringAt          |              |
|                          |GpiCreateRegion           |              |
|                          |GpiDestroyRegion         |              |
|                          |GpiPaintRegion            |              |
|                          |GpiPtInRegion            |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiRectInRegionExh        |GpiBox                    |              |
|                          |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiMove                  |              |
|                          |GpiPaintRegion            |              |
|                          |GpiRectInRegion          |              |
|                          |GpiSetPattern            |              |
|--------------------------+--------------------------+---------------|
|GpiSetRegionExh          |GpiCreateRegion          |              |
|                          |GpiDestroyRegion          |              |
|                          |GpiPaintRegion            |              |
|                          |GpiSetPattern            |              |
|                          |GpiSetRegion              |              |
|--------------------------+--------------------------+---------------|
|GpiQueryRegionBoxExh      |GpiCreateRegion          |              |
|                          |GpiPaintRegion            |              |
|                          |GpiQueryRegionBox        |              |
|                          |GpiSetPattern            |              |
\---------------------------------------------------------------------/</pre>


GpiOffsetRegion


GpiPaintRegion


GpiSetPattern
||
|-
|GpiPtInRegionExh||GpiCharStringAt
GpiCreateRegion


=== GpiSegment Test Group ===
GpiDestroyRegion


GpiPaintRegion
GpiPtInRegion
GpiSetPattern
||
|-
|GpiRectInRegionExh||GpiBox
GpiCreateRegion
GpiDestroyRegion
GpiMove
GpiPaintRegion
GpiRectInRegion
GpiSetPattern
||
|-
|GpiSetRegionExh||GpiCreateRegion
GpiDestroyRegion
GpiPaintRegion
GpiSetPattern
GpiSetRegion
||
|-
|GpiQueryRegionBoxExh||GpiCreateRegion
GpiPaintRegion
GpiQueryRegionBox
GpiSetPattern
||
|}
===GpiSegment Test Group===
The GpiSegment test case tests the GPI functions associated with segments, including: opening, drawing, deleting, and closing.
The GpiSegment test case tests the GPI functions associated with segments, including: opening, drawing, deleting, and closing.


This table lists the test cases and the functions called by each test case in the GpiSegment test group. The GpiSegment test group is found in GPISEG. DLL.
This table lists the test cases and the functions called by each test case in the GpiSegment test group. The GpiSegment test group is found in GPISEG.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiOpenSegmentExh||GpiDeleteSegments
GpiDrawChain
 
GpiQueryDrawingMode
 
GpiQueryPS


<pre class="western">/-----------------------------------------------------------------------------------\
GpiQuerySegmentNames
|Test Case                        |GPI Functions Called            |Configuration  |
|                                  |                                |Settings      |
|----------------------------------+--------------------------------+---------------|
|GpiOpenSegmentExh                |GpiDeleteSegments              |Normal        |
|                                  |GpiDrawChain                    |              |
|                                  |GpiQueryDrawingMode            |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiQuerySegmentNames           |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetColor                    |              |
|                                  |GpiSetDrawingMode              |              |
|----------------------------------+--------------------------------+---------------|
|GpiDeleteSegmentExh              |GpiCharStringAt                |Normal        |
|                                  |GpiCloseSegment                |              |
|                                  |GpiDeleteSegment                |              |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiDrawChain                    |              |
|                                  |GpiDrawSegment                  |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetDrawingMode              |              |
|                                  |GpiSetInitialSegmentAttrs      |              |
|----------------------------------+--------------------------------+---------------|
|GpiDeleteSegmentsExh              |GpiDeleteSegments              |Normal        |
|                                  |GpiDrawSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiSetDrawingMode              |              |
|----------------------------------+--------------------------------+---------------|
|GpiDrawChainExh1                  |GpiBeginArea                    |Direct and    |
|                                  |GpiCallSegmentMatrix            |Normal        |
|                                  |GpiCharStringAt                |              |
|                                  |GpiCloseSegment                |              |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiDrawChain                    |              |
|                                  |GpiEndArea                      |              |
|                                  |GpiMove                        |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiPolyFillet                  |              |
|                                  |GpiPolyLine                    |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiSetColor                    |              |
|                                  |GpiSetDrawingMode              |              |
|                                  |GpiSetPattern                  |              |
|----------------------------------+--------------------------------+---------------|
|GpiDrawChainExh2                  |GpiQueryPS                      |Normal        |
|----------------------------------+--------------------------------+---------------|
|GpiDrawAndRemoveDynamicsExh      |GpiDrawChain                    |Normal        |
|                                  |GpiDrawDynamics                |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiRemoveDynamics              |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetSegmentTransformMatrix    |              |
|----------------------------------+--------------------------------+---------------|
|GpiDrawFromExh1                  |GpiCharStringAt                |Direct and    |
|                                  |GpiCloseSegment                |Normal        |
|                                  |GpiDeleteSegment                |              |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiDrawChain                    |              |
|                                  |GpiDrawForm                    |              |
|                                  |GpiDrawSegment                  |              |
|                                  |GpiDrawSegments                |              |
|                                  |GpiLine                        |              |
|                                  |GpiMove                        |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetColor                    |              |
|                                  |GpiSetDrawingMode              |              |
|----------------------------------+--------------------------------+---------------|
|GpiDrawFromExh2                  |GpiBeginArea                    |Normal        |
|                                  |GpiCloseSegment                |              |
|                                  |GpiDeleteSegment                |              |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiDrawChain                    |              |
|                                  |GpiDrawSegment                  |              |
|                                  |GpiDrawSegments                |              |
|                                  |GpiEndArea                      |              |
|                                  |GpiMove                        |              |
|                                  |GpiPolyLine                    |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiSetAttrMode                  |              |
|                                  |GpiSetColor                    |              |
|                                  |GpiSetDrawControl              |              |
|                                  |GpiSetDrawingMode              |              |
|                                  |GpiSetPattern                  |              |
|----------------------------------+--------------------------------+---------------|
|GpiDrawSegmentExh                |GpiBeginArea                    |Normal        |
|                                  |GpiCloseSegment                |              |
|                                  |GpiDeleteSegment                |              |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiDrawSegment                  |              |
|                                  |GpiDrawSegments                |              |
|                                  |GpiEndArea                      |              |
|                                  |GpiMove                        |              |
|                                  |GpiPolyLine                    |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiSetDrawControl              |              |
|                                  |GpiSetPattern                  |              |
|----------------------------------+--------------------------------+---------------|
|GpiEraseExh                      |GpiBeginPath                    |Direct,        |
|                                  |GpiCloseSegment                |Standard, and  |
|                                  |GpiCreateRegion                |Normal or      |
|                                  |GpiDrawSegment                  |Queued, Raw,  |
|                                  |GpiEndPath                      |and Normal    |
|                                  |GpiErase                        |              |
|                                  |GpiFullArc                      |              |
|                                  |GpiMove                        |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiSetArcParams                |              |
|                                  |GpiSetClipPath                  |              |
|                                  |GpiSetClipRegion                |              |
|                                  |GpiSetDefaultViewMatrix        |              |
|                                  |GpiSetDrawingMode              |              |
|                                  |GpiSetGraphicsField            |              |
|                                  |GpiSetModelTransformMatrix      |              |
|                                  |GpiSetPageViewport              |              |
|                                  |GpiSetViewingLimits            |              |
|----------------------------------+--------------------------------+---------------|
|GpiResetAndQryBoundaryDataExh    |GpiBox                          |Normal        |
|                                  |GpiCharStringAt                |              |
|                                  |GpiConvert                      |              |
|                                  |GpiDrawFrom                    |              |
|                                  |GpiMove                        |              |
|                                  |GpiQueryBoundaryData            |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiResetBoundaryData            |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetDrawControl              |              |
|----------------------------------+--------------------------------+---------------|
|GpiSetAndQryInitSegmentAttrsExh  |GpiQueryInitialSegmentAttrs    |Normal        |
|                                  |GpiQueryPS                      |              |
|                                  |GpiQuerySegmentAttrs            |              |
|                                  |GpiSetInitialSegmentAttrs      |              |
|                                  |GpiSetSegmentAttrs              |              |
|----------------------------------+--------------------------------+---------------|
|GpiSetAndQrySegmentAttrsExh      |GpiCloseSegment                |Normal        |
|                                  |GpiDeleteSegment                |              |
|                                  |GpiDrawChain                    |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiQuerySegmentAttrs            |              |
|                                  |GpiSetDrawingMode              |              |
|                                  |GpiSetSegmentAttrs              |              |
|----------------------------------+--------------------------------+---------------|
|GpiQuerySegmentNamesExh          |GpiCloseSegment                |Normal        |
|                                  |GpiDeleteSegments              |              |
|                                  |GpiOpenSegment                  |              |
|                                  |GpiQueryPS                      |              |
|                                  |GpiQuerySegmentNames            |              |
|                                  |GpiSetDrawingMode              |              |
|----------------------------------+--------------------------------+---------------|
|GpiSetAndQrySegmentPriorityExh    |GpiDrawChain                    |Normal        |
|                                  |GpiQueryPS                      |              |
|                                  |GpiQuerySegmentPriority        |              |
|                                  |GpiResetPS                      |              |
|                                  |GpiSetSegmentPriority          |              |
|----------------------------------+--------------------------------+---------------|
|GpiSetAndQryStopDrawExh          |GpiQueryPS                      |Normal        |
|                                  |GpiQueryStopDraw                |              |
|                                  |GpiSetSegmentAttrs              |              |
|                                  |GpiSetStopDraw                  |              |
\-----------------------------------------------------------------------------------/</pre>


=== GpiShade Test Group ===
GpiResetPS


GpiSetColor
GpiSetDrawingMode
||Normal
|-
|GpiDeleteSegmentExh||GpiCharStringAt
GpiCloseSegment
GpiDeleteSegment
GpiDeleteSegments
GpiDrawChain
GpiDrawSegment
GpiOpenSegment
GpiQueryPS
GpiResetPS
GpiSetDrawingMode
GpiSetInitialSegmentAttrs
||Normal
|-
|GpiDeleteSegmentsExh||GpiDeleteSegments
GpiDrawSegment
GpiQueryPS
GpiSetDrawingMode
||Normal
|-
|GpiDrawChainExh1||GpiBeginArea
GpiCallSegmentMatrix
GpiCharStringAt
GpiCloseSegment
GpiDeleteSegments
GpiDrawChain
GpiEndArea
GpiMove
GpiOpenSegment
GpiPolyFillet
GpiPolyLine
GpiQueryPS
GpiSetColor
GpiSetDrawingMode
GpiSetPattern
||Direct and Normal
|-
|GpiDrawChainExh2||GpiQueryPS||Normal
|-
|GpiDrawAndRemoveDynamicsExh||GpiDrawChain
GpiDrawDynamics
GpiQueryPS
GpiRemoveDynamics
GpiResetPS
GpiSetSegmentTransformMatrix
||Normal
|-
|GpiDrawFromExh1||GpiCharStringAt
GpiCloseSegment
GpiDeleteSegment
GpiDeleteSegments
GpiDrawChain
GpiDrawForm
GpiDrawSegment
GpiDrawSegments
GpiLine
GpiMove
GpiOpenSegment
GpiQueryPS
GpiResetPS
GpiSetColor
GpiSetDrawingMode
||Direct and Normal
|-
|GpiDrawFromExh2||GpiBeginArea
GpiCloseSegment
GpiDeleteSegment
GpiDeleteSegments
GpiDrawChain
GpiDrawSegment
GpiDrawSegments
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryPS
GpiSetAttrMode
GpiSetColor
GpiSetDrawControl
GpiSetDrawingMode
GpiSetPattern
||Normal
|-
|GpiDrawSegmentExh||GpiBeginArea
GpiCloseSegment
GpiDeleteSegment
GpiDeleteSegments
GpiDrawSegment
GpiDrawSegments
GpiEndArea
GpiMove
GpiPolyLine
GpiQueryPS
GpiSetDrawControl
GpiSetPattern
||Normal
|-
|GpiEraseExh||GpiBeginPath
GpiCloseSegment
GpiCreateRegion
GpiDrawSegment
GpiEndPath
GpiErase
GpiFullArc
GpiMove
GpiOpenSegment
GpiQueryPS
GpiSetArcParams
GpiSetClipPath
GpiSetClipRegion
GpiSetDefaultViewMatrix
GpiSetDrawingMode
GpiSetGraphicsField
GpiSetModelTransformMatrix
GpiSetPageViewport
GpiSetViewingLimits
||Direct, Standard, and Normal or Queued, Raw, and Normal
|-
|GpiResetAndQryBoundaryDataExh||GpiBox
GpiCharStringAt
GpiConvert
GpiDrawFrom
GpiMove
GpiQueryBoundaryData
GpiQueryPS
GpiResetBoundaryData
GpiResetPS
GpiSetDrawControl
||Normal
|-
|GpiSetAndQryInitSegmentAttrsExh||GpiQueryInitialSegmentAttrs
GpiQueryPS
GpiQuerySegmentAttrs
GpiSetInitialSegmentAttrs
GpiSetSegmentAttrs
||Normal
|-
|GpiSetAndQrySegmentAttrsExh||GpiCloseSegment
GpiDeleteSegment
GpiDrawChain
GpiOpenSegment
GpiQueryPS
GpiQuerySegmentAttrs
GpiSetDrawingMode
GpiSetSegmentAttrs
||Normal
|-
|GpiQuerySegmentNamesExh||GpiCloseSegment
GpiDeleteSegments
GpiOpenSegment
GpiQueryPS
GpiQuerySegmentNames
GpiSetDrawingMode
||Normal
|-
|GpiSetAndQrySegmentPriorityExh||GpiDrawChain
GpiQueryPS
GpiQuerySegmentPriority
GpiResetPS
GpiSetSegmentPriority
||Normal
|-
|GpiSetAndQryStopDrawExh||GpiQueryPS
GpiQueryStopDraw
GpiSetSegmentAttrs
GpiSetStopDraw
||Normal
|}
===GpiShade Test Group===
The GpiShade test group tests Pel spacing and shading, vertical box overlapping in Overpaint mode, circle shading in Fill and Outline mode, and FM_OR shading against the color table.
The GpiShade test group tests Pel spacing and shading, vertical box overlapping in Overpaint mode, circle shading in Fill and Outline mode, and FM_OR shading against the color table.


This table lists the test cases and the functions called by each test case in the GpiShade test group. The GpiShade test group is found in GPISHADE. DLL.
This table lists the test cases and the functions called by each test case in the GpiShade test group. The GpiShade test group is found in GPISHADE.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiShadePelSpace||GpiBox
GpiCharString
 
GpiMove
 
GpiSetColor
||
|-
|GpiShadeOverlapBox||GpiBox
GpiCharString
 
GpiMove


<pre class="western">/---------------------------------------------------------------------\
GpiSetColor
|Test Case                |GPI Functions Called      |Configuration  |
||  
|                          |                          |Settings      |
|-
|--------------------------+--------------------------+---------------|
|GpiShadeOverlapCircle1||GpiFullArc
|GpiShadePelSpace          |GpiBox                    |              |
GpiMove
|                          |GpiCharString            |              |
 
|                          |GpiMove                   |              |
GpiSetArcParams
|                          |GpiSetColor              |              |
 
|--------------------------+--------------------------+---------------|
GpiSetColor
|GpiShadeOverlapBox        |GpiBox                    |              |
||  
|                          |GpiCharString            |              |
|-
|                          |GpiMove                  |              |
|GpiShadeORing-1||GpiBox
|                          |GpiSetColor               |              |
GpiCharString
|--------------------------+--------------------------+---------------|
 
|GpiShadeOverlapCircle1    |GpiFullArc                |              |
GpiMove
|                          |GpiMove                  |              |
 
|                          |GpiSetArcParams          |              |
GpiSetColor
|                          |GpiSetColor              |              |
 
|--------------------------+--------------------------+---------------|
GpiSetColor
|GpiShadeORing-1           |GpiBox                   |              |
 
|                          |GpiCharString             |              |
GpiSetMix
|                          |GpiMove                   |              |
||  
|                          |GpiSetColor               |              |
|-
|                          |GpiSetColor               |              |
|GpiShadeORing-2||GpiBox
|                          |GpiSetMix                 |               |
GpiCharString
|--------------------------+--------------------------+---------------|
 
|GpiShadeORing-2           |GpiBox                   |              |
GpiMove
|                          |GpiCharString             |              |
 
|                          |GpiMove                   |              |
GpiSetColor
|                          |GpiSetColor               |              |
 
|                          |GpiSetMix                 |               |
GpiSetMix
|--------------------------+--------------------------+---------------|
||  
|GpiShadeORing-3           |GpiBox                   |              |
|-
|                          |GpiCharString             |              |
|GpiShadeORing-3||GpiBox
|                          |GpiMove                   |              |
GpiCharString
|                          |GpiSetColor               |              |
 
|                          |GpiSetMix                 |               |
GpiMove
|--------------------------+--------------------------+---------------|
 
|GpiShadeORing-4           |GpiBox                   |              |
GpiSetColor
|                          |GpiCharString             |              |
 
|                          |GpiFullArc               |              |
GpiSetMix
|                          |GpiMove                   |              |
||  
|                          |GpiSetArcParams           |              |
|-
|                          |GpiSetColor               |              |
|GpiShadeORing-4||GpiBox
|                          |GpiSetMix                 |               |
GpiCharString
|--------------------------+--------------------------+---------------|
 
|GpiShadeBlue             |GpiBox                   |              |
GpiFullArc
|                          |GpiCharStringAt           |              |
 
|                          |GpiCreateLogColorTable   |              |
GpiMove
|                          |GpiMove                   |              |
 
|                          |GpiSetColor               |               |
GpiSetArcParams
|--------------------------+--------------------------+---------------|
 
|GpiShadeGreen             |GpiBox                   |              |
GpiSetColor
|                          |GpiCharStringAt           |              |
 
|                          |GpiCreateLogColorTable   |              |
GpiSetMix
|                          |GpiMove                   |              |
||  
|                          |GpiSetColor               |               |
|-
|--------------------------+--------------------------+---------------|
|GpiShadeBlue||GpiBox
|GpiShadeRed               |GpiBox                   |              |
GpiCharStringAt
|                          |GpiCharStringAt           |              |
 
|                          |GpiCreateLogColorTable   |              |
GpiCreateLogColorTable
|                          |GpiMove                   |              |
 
|                          |GpiSetColor               |               |
GpiMove
|--------------------------+--------------------------+---------------|
 
|GpiShadeGray             |GpiBox                   |              |
GpiSetColor
|                          |GpiCharStringAt           |              |
||  
|                          |GpiCreateLogColorTable   |              |
|-
|                          |GpiMove                   |              |
|GpiShadeGreen||GpiBox
|                          |GpiSetColor               |               |
GpiCharStringAt
|--------------------------+--------------------------+---------------|
 
|GpiShadeAll               |GpiBox                   |              |
GpiCreateLogColorTable
|                          |GpiCharStringAt           |              |
 
|                          |GpiCreateLogColorTable   |              |
GpiMove
|                          |GpiMove                   |              |
 
|                          |GpiSetColor               |               |
GpiSetColor
|--------------------------+--------------------------+---------------|
||  
|GpiShadeOverlapCircle2   |GpiFullArc               |              |
|-
|                          |GpiMove                   |              |
|GpiShadeRed||GpiBox
|                          |GpiSetArcParams           |              |
GpiCharStringAt
|                          |GpiSetColor               |               |
 
|--------------------------+--------------------------+---------------|
GpiCreateLogColorTable
|GpiShadeOverlapBox2       |GpiBox GpiCharString     |              |
 
|                          |GpiMove GpiSetColor       |               |
GpiMove
\---------------------------------------------------------------------/</pre>
 
GpiSetColor
||  
|-
|GpiShadeGray||GpiBox
GpiCharStringAt
 
GpiCreateLogColorTable
 
GpiMove
 
GpiSetColor
||  
|-
|GpiShadeAll||GpiBox
GpiCharStringAt
 
GpiCreateLogColorTable
 
GpiMove
 
GpiSetColor
||  
|-
|GpiShadeOverlapCircle2||GpiFullArc
GpiMove
 
GpiSetArcParams
 
GpiSetColor
||  
|-
|GpiShadeOverlapBox2||GpiBox GpiCharString
GpiMove GpiSetColor
||  
|}


=== GpiStandard Test Group ===
=== GpiStandard Test Group ===
Line 1,915: Line 2,906:


This table lists the test cases and the functions called by each test case in the GpiStandard test group. The GpiStandard test group is found in GPISTD.DLL.
This table lists the test cases and the functions called by each test case in the GpiStandard test group. The GpiStandard test group is found in GPISTD.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiStandardPre1||GpiCharStringAt
GpiLine


<pre class="western">/---------------------------------------------------------------------\
GpiSetCurrentPosition
|Test Case                |GPI Functions Called      |Configuration  |
||  
|                         |                          |Settings      |
|-
|--------------------------+--------------------------+---------------|
|GpiStandardPre2||GpiLine
|GpiStandardPre1          |GpiCharStringAt          |              |
GpiSetCurrentPosition
|                         |GpiLine                   |              |
||  
|                          |GpiSetCurrentPosition     |               |
|-
|--------------------------+--------------------------+---------------|
|GpiStandardPre3||GpiLine
|GpiStandardPre2          |GpiLine                   |              |
GpiSetCurrentPosition
|                          |GpiSetCurrentPosition     |              |
||  
|--------------------------+--------------------------+---------------|
|}
|GpiStandardPre3          |GpiLine                  |              |
|                         |GpiSetCurrentPosition    |              |
\---------------------------------------------------------------------/</pre>


=== GpiTransform Test Group ===
=== GpiTransform Test Group ===
The GpiTransform test group tests:
The GpiTransform test group tests:
*The Page Viewpoint functions
*Common support functions to set up a transform matrix
*That all transform GPI work together.
*Manipulates the transform GPI relationships and combination possibilities
*Modal transforms
*Segment transforms
*The Default View Matrix
*The Viewing transform GPIs
This table lists the test cases and the functions called by each test case in the GpiTransform test group. The GpiTransform test group is found in GPIXFORM.DLL.
{| class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiSetAndQryPageViewportPre||GpiBox
GpiMove
GpiQueryDevice
GpiQueryPageViewport
GpiQueryPS
GpiSetPageViewport
GpiSetPattern
||Direct
|-
|GpiSetAndQryModelXformMatPre||GpiBox
GpiMove
GpiQueryModelTransformMatrix
GpiSetModelTransformMatrix
GpiSetPattern
||Direct
|-
|GpiSetAndQrySegmentXformMatPre||GpiBox
GpiCloseSegment
GpiDrawSegment
GpiMove
GpiOpenSegment
GpiQueryPS
GpiQuerySegmentTransformMatrix
GpiSetDrawingMode
GpiSetInitialSegmentAttrs
GpiSetPattern
GpiSetSegmentTransformMatrix
||Normal
|-
|GpiCallSegmentMatrixPre||GpiBox
GpiCallSegmentMatrix
GpiCloseSegment
GpiMove
GpiOpenSegment
GpiQueryPS
GpiSetDrawingMode
GpiSetInitialSegmentAttrs
GpiSetModelTransformMatrix
GpiSetPattern
||Direct and Normal
|-
|GpiSetAndQryDefViewMatrixPre||GpiBox
GpiMove
GpiQueryDefaultViewMatrix
GpiSetDefaultViewMatrix
GpiSetPattern
||
|-
|GpiSetAndQryViewingXformMatPre||GpiBox GpiCloseSegment
GpiDrawSegment


*The Page Viewpoint functions <br />*Common support functions to set up a transform matrix <br />*That all transform GPI work together. <br />*Manipulates the transform GPI relationships and combination possibilities <br />*Modal transforms <br />*Segment transforms <br />*The Default View Matrix <br />*The Viewing transform GPIs
GpiMove


This table lists the test cases and the functions called by each test case in the GpiTransform test group. The GpiTransform test group is found in GPIXFORM.DLL.
GpiOpenSegment
 
GpiQueryPS
 
GpiQueryViewingTransformMatrix
 
GpiSetDrawingMode
 
GpiSetPattern
 
GpiSetViewingTransformMatrix
||Normal
|-
|GpiTransformApp||GpiBox
GpiCallSegmentMatrix
 
GpiCloseSegment
 
GpiDrawSegment
 
GpiMove
 
GpiOpenSegment
 
GpiQueryDefaultViewMatrix
 
GpiQueryModelTransformMatrix
 
GpiQueryPageViewport
 
GpiQueryPS
 
GpiQuerySegmentTransformMatrix
 
GpiQueryViewingTransformMatrix
 
GpiSetDefaultViewMatrix
 
GpiSetDrawingMode
 
GpiSetInitialSegmentAttrs
 
GpiSetModelTransformMatrix
 
GpiSetPageViewport
 
GpiSetPattern
 
GpiSetSegmentTransformMatrix
 
GpiSetViewingTransformMatrix
||Direct and Normal
|-
|GpiSetAndQryPageViewportExh||GpiBox
GpiMove
 
GpiQueryDevice
 
GpiQueryPageViewport
 
GpiSetPageViewport
 
GpiSetPattern
||Direct
|-
|GpiSetAndQryModelXformMatExh||GpiBox
GpiMove
 
GpiQueryModelTransformMatrix
 
GpiSetModelTransformMatrix
 
GpiSetPattern
||Direct
|-
|GpiSetAndQrySegmentXformMatExh||GpiBox
GpiCloseSegment
 
GpiDrawSegment
 
GpiMove
 
GpiOpenSegment
 
GpiQueryPS
 
GpiQuerySegmentTransformMatrix
 
GpiSetDrawingMode
 
GpiSetInitialSegmentAttrs
 
GpiSetPattern
 
GpiSetSegmentTransformMatrix
||Normal
|-
|GpiCallSegmentMatrixExh||GpiBox
GpiCallSegmentMatrix
 
GpiCloseSegment
 
GpiMove
 
GpiOpenSegment
 
GpiQueryPS
 
GpiSetDrawingMode
 
GpiSetInitialSegmentAttrs
 
GpiSetModelTransformMatrix
 
GpiSetPattern
||Direct and Normal
|-
|GpiSetAndQryDefViewMatrixExh||GpiBox
GpiMove
 
GpiQueryDefaultViewMatrix
 
GpiSetDefaultViewMatrix
 
GpiSetPattern
||
|-
|GpiSetAndQryViewingXformMatExh||GpiBox
GpiCloseSegment
 
GpiDrawSegment
 
GpiMove
 
GpiOpenSegment
 
GpiQueryPS
 
GpiQueryViewingTransformMatrix
 
GpiSetDrawingMode
 
GpiSetPattern
 
GpiSetViewingTransformMatrix
||Normal
|-
|GpiConvertExh||GpiConvert
GpiQueryDevice
 
GpiQueryPageViewport
 
GpiQueryPS
 
GpiSetDefaultViewMatrix
 
GpiSetModelTransformMatrix


<pre class="western">/---------------------------------------------------------------------------------\
GpiSetPageViewport
|Test Case                      |GPI Functions Called            |Configuration  |
||  
|                                |                                |Settings      |
|}
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryPageViewportPre    |GpiBox                          |Direct        |
|                                |GpiMove                        |              |
|                                |GpiQueryDevice                  |              |
|                                |GpiQueryPageViewport            |              |
|                                |GpiQueryPS                      |              |
|                                |GpiSetPageViewport             |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryModelXformMatPre    |GpiBox                          |Direct        |
|                                |GpiMove                        |              |
|                                |GpiQueryModelTransformMatrix    |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQrySegmentXformMatPre  |GpiBox                          |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiDrawSegment                  |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                               |GpiQueryPS                      |              |
|                               |GpiQuerySegmentTransformMatrix  |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetInitialSegmentAttrs      |              |
|                                |GpiSetPattern                  |              |
|                                |GpiSetSegmentTransformMatrix    |              |
|--------------------------------+--------------------------------+---------------|
|GpiCallSegmentMatrixPre        |GpiBox                          |Direct and    |
|                                |GpiCallSegmentMatrix            |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryPS                      |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetInitialSegmentAttrs      |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryDefViewMatrixPre    |GpiBox                          |              |
|                                |GpiMove                        |              |
|                                |GpiQueryDefaultViewMatrix      |              |
|                                |GpiSetDefaultViewMatrix        |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryViewingXformMatPre  |GpiBox GpiCloseSegment          |Normal        |
|                                |GpiDrawSegment                  |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryPS                      |              |
|                                |GpiQueryViewingTransformMatrix  |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetPattern                  |              |
|                                |GpiSetViewingTransformMatrix    |              |
|--------------------------------+--------------------------------+---------------|
|GpiTransformApp                |GpiBox                          |Direct and    |
|                                |GpiCallSegmentMatrix            |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiDrawSegment                  |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryDefaultViewMatrix      |              |
|                                |GpiQueryModelTransformMatrix    |              |
|                                |GpiQueryPageViewport            |              |
|                                |GpiQueryPS                      |              |
|                                |GpiQuerySegmentTransformMatrix  |              |
|                                |GpiQueryViewingTransformMatrix  |              |
|                                |GpiSetDefaultViewMatrix        |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetInitialSegmentAttrs      |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPageViewport              |              |
|                                |GpiSetPattern                  |              |
|                                |GpiSetSegmentTransformMatrix    |              |
|                                |GpiSetViewingTransformMatrix    |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryPageViewportExh    |GpiBox                          |Direct        |
|                                |GpiMove                        |              |
|                                |GpiQueryDevice                  |              |
|                                |GpiQueryPageViewport            |              |
|                                |GpiSetPageViewport              |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryModelXformMatExh    |GpiBox                          |Direct        |
|                                |GpiMove                        |              |
|                                |GpiQueryModelTransformMatrix    |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQrySegmentXformMatExh  |GpiBox                          |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiDrawSegment                  |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryPS                      |              |
|                                |GpiQuerySegmentTransformMatrix  |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetInitialSegmentAttrs      |              |
|                                |GpiSetPattern                  |              |
|                                |GpiSetSegmentTransformMatrix    |              |
|--------------------------------+--------------------------------+---------------|
|GpiCallSegmentMatrixExh        |GpiBox                          |Direct and    |
|                                |GpiCallSegmentMatrix            |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryPS                      |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetInitialSegmentAttrs      |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryDefViewMatrixExh    |GpiBox                          |              |
|                                |GpiMove                        |              |
|                                |GpiQueryDefaultViewMatrix      |              |
|                                |GpiSetDefaultViewMatrix        |              |
|                                |GpiSetPattern                  |              |
|--------------------------------+--------------------------------+---------------|
|GpiSetAndQryViewingXformMatExh  |GpiBox                          |Normal        |
|                                |GpiCloseSegment                |              |
|                                |GpiDrawSegment                  |              |
|                                |GpiMove                        |              |
|                                |GpiOpenSegment                  |              |
|                                |GpiQueryPS                      |              |
|                                |GpiQueryViewingTransformMatrix  |              |
|                                |GpiSetDrawingMode              |              |
|                                |GpiSetPattern                  |              |
|                                |GpiSetViewingTransformMatrix    |              |
|--------------------------------+--------------------------------+---------------|
|GpiConvertExh                  |GpiConvert                      |              |
|                                |GpiQueryDevice                  |              |
|                                |GpiQueryPageViewport            |              |
|                                |GpiQueryPS                      |              |
|                                |GpiSetDefaultViewMatrix        |              |
|                                |GpiSetModelTransformMatrix      |              |
|                                |GpiSetPageViewport              |              |
\---------------------------------------------------------------------------------/</pre>


=== GpiView Test Group ===
===GpiView Test Group===
The GpiView test group tests the following GPIs:
The GpiView test group tests the following GPIs:
*GpiSetDefViewingLimits
*GpiSetDefViewingLimits
Line 2,085: Line 3,187:
*GpiSetViewingLimits
*GpiSetViewingLimits
*GpiSetPageViewport
*GpiSetPageViewport
This table lists the test cases and the functions called by each test case in the GpiView test group. The GpiView Test Group is found in GPIVIEW.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiSetDefViewingLimitsPre||GpiResetPS
GpiSetDefViewingLimits
||
|-
|GpiSetGraphicsFieldPre||GpiSetGraphicsField||
|-
|GpiSetViewingLimitsPre||GpiSetViewingLimits||
|-
|GpiViewApp||GpiResetPS
GpiSetDefViewingLimits
GpiSetGraphicsField


This table lists the test cases and the functions called by each test case in the GpiView test group. The GpiView Test Group is found in GPIVIEW.DLL.
GpiSetViewingLimits
||
|-
|GpiSetDefViewingLimitsExh1||GpiAssociate
GpiQueryDevice
 
GpiSetDefViewingLimits
||Direct and Normal
|-
|GpiSetDefViewingLimitsExh2||GpiBox
GpiCloseSegment
 
GpiDrawChain
 
GpiMove
 
GpiOpenSegment
 
GpiSetDefViewingLimits
 
GpiSetDrawingMode
 
GpiSetInitialSegmentAttrs
||Normal
|-
|GpiSetViewingLimitsExh1||GpiCallSegmentMatrix
GpiCloseSegment


<pre class="western">/---------------------------------------------------------------------------\
GpiOpenSegment
|Test Case                    |GPI Functions Called        |Configuration  |
|                              |                            |Settings      |
|------------------------------+----------------------------+---------------|
|GpiSetDefViewingLimitsPre    |GpiResetPS                  |              |
|                              |GpiSetDefViewingLimits      |              |
|------------------------------+----------------------------+---------------|
|GpiSetGraphicsFieldPre        |GpiSetGraphicsField        |              |
|------------------------------+----------------------------+---------------|
|GpiSetViewingLimitsPre        |GpiSetViewingLimits        |              |
|------------------------------+----------------------------+---------------|
|GpiViewApp                    |GpiResetPS                  |              |
|                              |GpiSetDefViewingLimits      |              |
|                              |GpiSetGraphicsField        |              |
|                              |GpiSetViewingLimits        |              |
|------------------------------+----------------------------+---------------|
|GpiSetDefViewingLimitsExh1    |GpiAssociate                |Direct and    |
|                              |GpiQueryDevice              |Normal        |
|                              |GpiSetDefViewingLimits      |              |
|------------------------------+----------------------------+---------------|
|GpiSetDefViewingLimitsExh2    |GpiBox                      |Normal        |
|                              |GpiCloseSegment            |              |
|                              |GpiDrawChain                |              |
|                              |GpiMove                    |              |
|                              |GpiOpenSegment             |              |
|                              |GpiSetDefViewingLimits      |              |
|                              |GpiSetDrawingMode          |              |
|                              |GpiSetInitialSegmentAttrs  |              |
|------------------------------+----------------------------+---------------|
|GpiSetViewingLimitsExh1      |GpiCallSegmentMatrix        |Normal        |
|                              |GpiCloseSegment            |              |
|                              |GpiOpenSegment              |              |
|                              |GpiSetDrawingMode          |              |
|                              |GpiSetInitialSegmentAttrs  |              |
|                              |GpiSetViewingLimits        |              |
|------------------------------+----------------------------+---------------|
|GpiSetViewingLimitsExh2      |GpiSetViewingLimits        |              |
|------------------------------+----------------------------+---------------|
|GpiSetPageViewportExh        |GpiSetPageViewport          |Direct        |
\---------------------------------------------------------------------------/</pre>


GpiSetDrawingMode


GpiSetInitialSegmentAttrs


GpiSetViewingLimits
||Normal
|-
|GpiSetViewingLimitsExh2||GpiSetViewingLimits||
|-
|GpiSetPageViewportExh||GpiSetPageViewport||Direct
|}


=== STRESS Test Group ===
=== STRESS Test Group ===
The STRESS test group uses GPI test cases which use a great deal of system resources, such as memory and swapper file space.
The STRESS test group uses GPI test cases which use a great deal of system resources, such as memory and swapper file space.


This table lists the test cases and the functions called by each test case in the STRESS test group. The STRESS Test Group is found in STRESS.DLL.
This table lists the test cases and the functions called by each test case in the STRESS test group. The STRESS Test Group is found in STRESS.DLL.
{|class="wikitable"
!Test Case||GPI Functions Called||Configuration Settings
|-
|GpiClipFontExh||GpiDeleteSetId
GpiResetPS
GpiSetCharSet
||Raw
|-
|GpiClipBitsExh||GpiBeginPath
GpiEndPath
GpiMove
GpiPolyLine
GpiSetClipPath
GpiSetLineWidthGeom
GpiSetPel
||Raw
|-
|GpiClipColorExh||GpiBeginPath
GpiEndPath
GpiFullArc
GpiMove
GpiPartialArc
GpiSetArcParams
GpiSetClipPath
GpiSetLineWidthGeom
GpiStrokePath
GpiSetColor
||Raw
|-
|GpiMaxPolyLinesExh||GpiMove
GpiPolyLine
||Raw
|-
|GpiMaxPolySplinesExh||GpiMove
GpiPolySpline
||Raw
|-
|GpiCharBoxMetricsInteractive||GpiCharString
GpiDeleteSetId
GpiMove
GpiPolyLine
GpiQueryTextBox
GpiSetCharSet
||Raw
|-
|GpiCharBoxMetricsDefault||GpiCharString
GpiMove
GpiPolyLine
GpiQueryDevice
GpiQueryTextBox
GpiSetCharSet
||Raw
|-
|GpiSpaceInteractive||GpiCharString
GpiDeleteSetId
GpiMove
GpiQueryDevice
GpiQueryTextBox
GpiSetCharSet
||Raw
|-
|GpiBitMapClipExh||GpiBeginPath
GpiDeleteBitmap
GpiEndPath
GpiFullArc
GpiLoadBitmap
GpiMove
GpiQueryBitmapParameters
GpiSetArcParams
GpiSetClipPath
GpiSetLineWidthGeom
GpiStrokePath
GpiWCBitBlt
||Raw
|-
|GpiThinLinesInPath||GpiBeginPath
GpiCharString
GpiEndPath
GpiLine
GpiMove
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||Normal
|-
|GpiThickLinesInPath||GpiBeginPath
GpiCharString
GpiEndPath
GpiLine
GpiMove
GpiSetLineWidthGeom
GpiSetPattern
GpiStrokePath
||Raw
|-
|GpiShadeCharactersInteractive||GpiCharString
GpiDeleteSetId
GpiMove
GpiQueryTextBox
GpiSetCharSet
GpiSetColor
||Raw
|-
|GpiShadeCharactersDefault||GpiCharString
GpiDeleteSetId
GpiMove
GpiQueryTextBox
GpiSetCharSet
GpiSetColor
||Raw
|}


<pre class="western">/-----------------------------------------------------------------------------\
[[Category:Printer Device Driver Reference]]
|Test Case                      |GPI Functions Called        |Configuration  |
|                                |                            |Settings      |
|--------------------------------+----------------------------+---------------|
|GpiClipFontExh                  |GpiDeleteSetId              |Raw            |
|                                |GpiResetPS                  |              |
|                                |GpiSetCharSet              |              |
|--------------------------------+----------------------------+---------------|
|GpiClipBitsExh                  |GpiBeginPath                |Raw            |
|                                |GpiEndPath                  |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiSetClipPath              |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiSetPel                  |              |
|--------------------------------+----------------------------+---------------|
|GpiClipColorExh                |GpiBeginPath                |Raw            |
|                                |GpiEndPath                  |              |
|                                |GpiFullArc                  |              |
|                                |GpiMove                    |              |
|                                |GpiPartialArc              |              |
|                                |GpiSetArcParams            |              |
|                                |GpiSetClipPath              |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiStrokePath              |              |
|                                |GpiSetColor                |              |
|--------------------------------+----------------------------+---------------|
|GpiMaxPolyLinesExh              |GpiMove                    |Raw            |
|                                |GpiPolyLine                |              |
|--------------------------------+----------------------------+---------------|
|GpiMaxPolySplinesExh            |GpiMove                    |Raw            |
|                                |GpiPolySpline              |              |
|--------------------------------+----------------------------+---------------|
|GpiCharBoxMetricsInteractive    |GpiCharString              |Raw            |
|                                |GpiDeleteSetId              |              |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiQueryTextBox            |              |
|                                |GpiSetCharSet              |              |
|--------------------------------+----------------------------+---------------|
|GpiCharBoxMetricsDefault        |GpiCharString              |Raw            |
|                                |GpiMove                    |              |
|                                |GpiPolyLine                |              |
|                                |GpiQueryDevice              |              |
|                                |GpiQueryTextBox            |              |
|                                |GpiSetCharSet              |              |
|--------------------------------+----------------------------+---------------|
|GpiSpaceInteractive            |GpiCharString              |Raw            |
|                                |GpiDeleteSetId              |              |
|                                |GpiMove                    |              |
|                                |GpiQueryDevice              |              |
|                                |GpiQueryTextBox            |              |
|                                |GpiSetCharSet              |              |
|--------------------------------+----------------------------+---------------|
|GpiBitMapClipExh                |GpiBeginPath                |Raw            |
|                                |GpiDeleteBitmap            |              |
|                                |GpiEndPath                  |              |
|                                |GpiFullArc                  |              |
|                                |GpiLoadBitmap              |              |
|                                |GpiMove                    |              |
|                                |GpiQueryBitmapParameters    |              |
|                                |GpiSetArcParams            |              |
|                                |GpiSetClipPath              |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiStrokePath              |              |
|                                |GpiWCBitBlt                |              |
|--------------------------------+----------------------------+---------------|
|GpiThinLinesInPath              |GpiBeginPath                | Normal        |
|                                |GpiCharString              |              |
|                                |GpiEndPath                  |              |
|                                |GpiLine                    |              |
|                                |GpiMove                    |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiSetPattern              |              |
|                                |GpiStrokePath              |              |
|--------------------------------+----------------------------+---------------|
|GpiThickLinesInPath            |GpiBeginPath                |Raw            |
|                                |GpiCharString              |              |
|                                |GpiEndPath                  |              |
|                                |GpiLine                    |              |
|                                |GpiMove                    |              |
|                                |GpiSetLineWidthGeom        |              |
|                                |GpiSetPattern              |              |
|                                |GpiStrokePath              |              |
|--------------------------------+----------------------------+---------------|
|GpiShadeCharactersInteractive  |GpiCharString              |Raw            |
|                                |GpiDeleteSetId              |              |
|                                |GpiMove                    |              |
|                                |GpiQueryTextBox            |              |
|                                |GpiSetCharSet              |              |
|                                |GpiSetColor                |              |
|--------------------------------+----------------------------+---------------|
|GpiShadeCharactersDefault      |GpiCharString              |Raw            |
|                                |GpiDeleteSetId              |              |
|                                |GpiMove                    |              |
|                                |GpiQueryTextBox            |              |
|                                |GpiSetCharSet              |              |
|                                |GpiSetColor                |              |
\-----------------------------------------------------------------------------/</pre>

Latest revision as of 05:40, 7 October 2022

Printer Device Driver Reference

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

Printer Test Tool (PTT)

The Printer Test Tool (PTT) is a Presentation Manager application that enables the user to select one or more tests and execute them.

Overview

The PTT provides a mechanism for testing s by calling graphics programming interface (GPI) functions. Each call, on execution, produces quantifiable output by which the test can be measured. As each test is run, the PTT monitors the return codes from the GRE calls and writes the results to a log file. The current log file can be displayed at any time during manual testing.

PTT Architecture

The PTT is comprised of two major components:

  • A PM master program (PTT.EXE) that provides the user interface for test selection and execution.
  • Test-case dynamic-link libraries (DLLs) that contain the actual test-case executable code.

PTT Master Program

PTT.EXE enables the user to do the following:

  • Select one or more tests from the test cases available.
  • Execute the selected test cases on demand.
  • Specify a test-case PM environment (PS units, PS types, and so forth).
  • Display the PTT test log.
  • Set the PTT test-logging level.
  • Display the PTT release level.
  • Exit PTT.

Command-line options enable the user to specify the following:

  • Output log file name
  • Level of logging to capture
  • Search patterns for DLLs to be preloaded.

Test-Case DLLs

Each test-case DLL contains tests for a family of GPI calls. See #GPI Function Tests (32-Bit) for descriptions of the supplied test-case DLLs and the GPI functions called.

Note: The test-case DLLs must reside in the same directory as the PTT executable.

Operating PTT

The PTT can be started from the command line in either an OS/2 window or a full-screen session. The PTT can also be started from the OS/2 Desktop or any other folder by using its icon. When using an icon, command-line options are specified in the Optional Parameters field of the Settings menu for the icon.

Specifying Command Options

All command-line options are specified with a hyphen (-), followed by a case-sensitive alphabetic character. The alpha character is followed immediately by the parameter value, if any, with no intervening spaces. Following are examples of PTT command lines.

Load all DLLs in the current directory and set the logging level to 8:

PTT -T*.DLL -L8

Preload the GRELINE DLL. (Search LIBPATH to locate the DLLs.)

PTT -Tgreline.dll

Executing PTT with the -? command-line option displays a list of the valid command-line options.

PTT -?

Menu Selections

The following options are available on the PTT menu:

Testcases
Test Groups Lists all DLLs loaded.
Test Cases Lists all test cases available for the selected Test Groups.
Add Match Adds the selected match pattern from the chosen list.
Save Saves the entries selected.
Cancel Cancels this action and returns to the main options.
Delete Match Deletes the selected match pattern from the test case list.
Help Not available.
Actions
Display to Screen Displays the output of the test case to the screen.
Start Printing Prints the test case to an attached printer.
Options
Configuration Configures printer, DC, data type, PS Units, PS type. See "Configuring the Device Context and Presentation Space" for more information about configuring PTT DLLs.
Display Log Window Displays PASS/FAIL logging window.
Change Log Window Selects a level (1 - 9).
Help
Help Not available.
About Displays an application message and version number. There is no on-line Help with PTT.
Exit
(No drop-down) Exits PTT. (Available only when using a mouse.) Use the accelerator key, Alt+F4.

Locating, Preloading, and Loading Test-Case DLLs

Each test case DLL passes a list of its test cases to PTT when PTT initializes the DLL after loading. A test-case index file associates each test-case name with the DLL that contains it. When duplicate test cases are encountered while loading DLLs and test-case index files, only the first instance of a test case is retained.

PTT locates the test cases using the following sequence:

1. DLLs specified using the -T command-line option are preloaded during PTT startup. Preloaded DLLs remain resident for the duration of the PTT session.
The -T command-line option specifies a search pattern for locating the test -case DLLs to be preloaded. The -T option value can contain global file-name characters (wildcards) in the file name. Following is an example of the command used to preload DLLs:

Preload all DLLs in the PTT\DLL directory on the current drive.

PTT -T\PTT\DLL\*.DLL
The -T command-line option can be specified multiple times (on the command line) with different paths to the DLLs.
2. At this point, if no test cases have been identified to PTT, PTT attempts to preload all the test-case DLLs it can locate using a *.DLL search pattern. This searches the current directory.
3. If PTT fails to locate any test-case DLLs in the current directory, a message to that effect is issued.
An OK check box in the informational window permits the user to continue bringing up PTT.

PTT Log File

PTT writes information to a log file. The information to be logged is determined by the current logging level, which is hierarchical. At any given logging level, all information at that level and below is logged.

Specifying the PTT Log File Name

A path and file name for the PTT log file can be specified on the PTT command line using the -F option. If no log file name option is given on the command line, the default file name, PTT_LOG in the current directory, is used. If a log file does not exist when PTT is started, the log file is created automatically. If the log file does exist, the new log is appended to the existing log file.

Specifying the PTT Logging Levels

The PTT logging level can be specified on the PTT command line or changed from the Options pull-down menu after PTT has started. To set the logging level on the command line, specify a -Lxoption, where xis the desired logging level, using a number in the range 1-9. To change the logging level after PTT has started, select Change logging levelfrom the Options pull-down menu or use the accelerator key, Alt+L. The default PTT logging level is 1, L_HDR.

The following table describes the logging levels supported by PTT:

Level Level Name Description
1 L_HDR Test Pass/Fail logging only.
2 L_ABORT Test case failed. Test is incomplete.
3 Reserved. Do not use.
4 L_FAIL Internal test-case failure. An interface other than the call currently being tested has experienced a functional or other type of failure.
5 Reserved Do not use.
6 L_WARN Warning The presentation space is improperly configured for the test case (or a similar error).
7 L_TRACE Trace commands, incorrect values, or other unexpected results.
8 L_LOTRACE Location trace. Log entries and exits of internal test-case routines.
9 L_DEBUG Debugging. Test-case debugging information, internal test-case results, errors, and other information.

Displaying the PTT Log File

To display the PTT log file for the current session, select Display log window from the Options menu or use Alt+D.

Configuring the Device Context and Presentation Space

PTT enables you to specify the device context, presentation-space type, and presentation-space units to use when executing test cases. These parameters can be changed during testing. To change the configuration manually, select Configuration from the Options pull-down menu or use Alt+C.

Setting the Device Driver

To set or change the device driver, select one of the optional s available in the Printer Queue, Printer Name, and Printer Port window by clicking the mouse on the desired driver. If a device driver is installed after PTT is initiated, the user can select Refresh Printer Driver List to list the other optional device drivers.

Setting the Device Context

To set or change the device context, select one of the following options from the Device Context section of the PTT Configuration dialog panel:

OD_QUEUED
Output is to be queued. (This is the default.) This option is for hardcopy drivers only. The driver opens a spool file and uses the spooler's Spl interface to send output to that file. The driver must consider the data type if this option is chosen. The following data types are available:
PM_Q_STD
The hardcopy driver uses the spooler to create a device-independent spool file using the Spl interfaces. See #Setting the Data Type.
PM_Q_RAW
The hardcopy driver processes the GRE functions to generate device-specific output data. This data is written to a spool file using the spooler Spl interfaces. See #Setting the Data Type.
OD_DIRECT
Output is not queued. The presentation driver processes the GRE routines to generate device-specific data. Hardcopy drivers use the Prt interface routines to pass the output to the physical device driver.
OD_INFO
The presentation driver does not generate any output. The information device context is used only to retrieve information.
OD_METAFILE
The device context is used to write a metafile. The option is handled by PMGPI and never is passed to the device driver.
OD_METAFILE_NOQUERY

This is the same as OD_METAFILE, except querying of attributes is not permitted. The option is handled by PMGPI and never is passed to the device driver.

OD_MEMORY
This is a device context that is used to contain a bit map. The device driver processes the output data the same as for an OD_DIRECT device type, except the output is written to a bit map that is compatible with the physical device. (PTT creates the bit map and associates it with the device context.)

Setting the Queue Processor

To select the data type to be used when executing test cases, use the mouse to click on the queue processor that is available in the window.

Setting the Data Type

To select the data type to be used when executing test cases, select one of the following options in the Data Type check box of the PTT Configuration dialog panel:

  • PM_Q_RAW Raw data.
  • PM_Q_STD Metafile-formatted data. (This is the default.)

Setting the Presentation-Space Type

To select the presentation-space type to be used when executing test cases, choose one of the following options from the PS Type section of the PTT Configuration dialog panel:

  • GPIT_MICRO Micro-presentation space.
  • GPIT_NORMAL Normal presentation space. (This is the default.)

Setting Presentation-Space Units

To set the presentation page-size units for test-case execution, select one of the following from the PS Units section of the PTT Configuration dialog panel:

  • PU_ARBITRARY Application-convenient units.
  • PU_PELS Pel coordinates. (This is the default.)
  • PU_LOMETRIC Units of 0.1 mm.
  • PU_HIMETRIC Units of 0.01 mm.
  • PU_LOENGLISH Units of 0.01 inch.
  • PU_HIENGLISH Units of 0.001 inch.
  • PU_TWIPS Units of 1/1440 inch.

Selecting and Executing Test Groups and Test Cases

The test cases to be executed are selected from the Test Case Selection dialog panel. Select Testcase from the PTT menu bar or use ALT+T. One or more test cases can be selected for execution during manual operation.

Test Group Selection

There is a 1:n relationship between test groups and test-case DLLs. Each test group represents a specific DLL. Before a test case can be selected, the test group containing the test case must be selected from the Test Groups section of the PTT Test Case Selection dialog panel. When you select a test group, the list of test cases it contains is added to the Test Cases section of the dialog panel. De-selecting a test group removes the list of test cases it contains from the Test Cases section.

Note: Test groups must be de-selected specifically. PTT never de-selects a test group automatically.

Test Case Selection

Once the test groups are selected, the individual test cases can be selected from the Test Cases section of the PTT Test Case Selection dialog panel. Test cases can be selected and de-selected individually, or groups of test cases can be selected with the match patterns provided using the Add Match and Delete Match push buttons.

Note: Test cases must be de-selected specifically unless the user's test group is de-selected. When that happens, all test cases are de-selected and made unavailable. The PTT never de-selects a test case automatically.

Saving Selected Test Cases

After selecting one or more test cases, use the Save push button or Alt+S to close the Test Case Selection dialog panel.

Executing Test Cases

After selecting and saving one or more test cases, select Display to Screen from the Action topic of the PTT menu bar, or use Alt+S to begin test-case execution to the monitor or display output device. To send the output of the test case to the printer, select Start Printing from the Action topic of the PTT menu bar. Each test case selected is executed in the order it appeared in the Test Cases section of the Test Case Selection dialog panel.

During test execution, ***** Printer Test Tool: Test Running ***** appears in the PTT window title bar. When the test is complete, the name of the individual test selected reappears in the title bar if a single test was selected. Printer Test Tool: MULTIPLE TESTS SELECTED appears if more than one test is selected.

Displaying the PTT Release and Revision Levels

To display the current PTT release and revision levels, select About from the PTT menu bar or use ALT+A.

Exiting PTT

To terminate PTT, select Exit from the PTT menu bar or use ALT+F4 from the keyboard.

GPI Function Tests (32-Bit)

This section shows the GPI calls made by the Printer Test Tool's test groups. The following tables are organized by test group. Each table lists the test cases in the group and the functions tested by each test case. Configuration Settings describes settings that must be selected in the Configuration dialog box to run the test. If no Configurations Settings are specified, use the default settings of OD_QUEUED, PM_Q_STD, GPIT_MICRO, and PU_PELS.

Note: These tables represent GPI calls for the 32-bit PTT.

GPIARC Test Group

The GpiArc test case verifies printer drivers' arc-related functionality. This test case consists of precision, functionality, and exhaustive tests.

The precision tests verify the GPI Arc APIs for page positioning and different arc shapes sizing. The functionality test verifies the GPI Arc APIs as they function together and with other GPI APIs such as GpiBeginPath and GpiEndPath. Exhaustive testing of the GPI Arc APIs involves verifying the functionality of a given API with respect to the print driver.

This table lists the test cases and the functions called by each test case in the GpiArc test group. The GpiArc test group is found in GPIARC.DLL.

Test Case GPI Functions Called Configuration Settings
GpiArcPre1

GpiFullArc

GpiMove

GpiPartialArc

GpiPointArc

GpiSetArcParams

GpiArcPre2 GpiMarker

GpiMove

GpiPolyFillet

GpiPolyFilletSharp

GpiPolySpline

GpiSetArcParams

GpiArcApp GpiMove

GpiPartialArc

GpiPointArc

GpiPolyFillet

GpiPolyFilletSharp

GpiPolySpline

GpiQueryCurrentPosition

GpiSetArcParams

GpiSetPattern

GpiSetArcParamsExh1 GpiFullArc

GpiMove

GpiPartialArc

GpiPointArc

GpiQueryArcParams

GpiSetArcParams

GpiSetArcParamsExh2 GpiBeginArea

GpiBeginArea

GpiEndArea

GpiFullArc

GpiLine

GpiMove

GpiPartialArc

GpiQueryArcParams

GpiSetArcParams

GpiSetPattern

GpiSetDefArcParamsExh1 GpiFullArc

GpiMove

GpiPartialArc

GpiPointArc

GpiQueryDefArcParams

GpiResetPS

GpiSetDefArcParams

GpiSetDefArcParamsExh2 GpiBeginArea

GpiEndArea

GpiFullArc

GpiMove

GpiPartialArc

GpiQueryDefArcParams

GpiResetPS

GpiSetArcParams

GpiSetDefArcParams

GpiSetPa

GpiFullArcExh GpiFullArc

GpiMove

GpiSetArcParams

GpiSetPattern

GpiPartialArcExh GpiMove

GpiPartialArc

GpiSetArcParams

GpiSetPattern

GpiPointArcExh GpiMove

GpiPointArc

GpiPolyFilletExh GpiMove

GpiPolyFillet

GpiPolyFilletSharpExh GpiMove

GpiPolyFilletSharp

GpiPolySplineExh GpiMarker

GpiMove

GpiPolySpline

GpiArea Test Group

The GpiArea test group tests area manipulation functions. All tests include a basic functionality test and an exhaustive (test all return codes at the lowest level) test.

This table lists the test cases and the functions called by each test case in the GpiArea test group. The GpiArc test group is found in GPIAREA.DLL.

Test Case GPI Functions Called Configuration Settings
GpiAreaApp GpiBox

GpiMove

GpiSetPattern

GpiBeginAreaExh GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiSetPattern

GpiSetAndQryPatternExh GpiBox

GpiCharStringAt

GpiEndArea

GpiFullArc

GpiMove

GpiPolyLine

GpiQueryPattern

GpiSetArcParams

GpiSetPattern

GpiSetAndQryPatternSetExh GpiBeginArea

GpiBox

GpiDeleteSetId

GpiEndArea

GpiFullArc

GpiMove

GpiPolyLine

GpiQueryBitmapParameters

GpiQueryPatternSet

GpiSetArcParams

GpiSetBitmapId

GpiSetCharSet

GpiSetPatternSet

Direct and Standard or Queued and Raw
GpiSetAndQryPatternRefPointExh GpiBeginArea

GpiBox

GpiEndArea

GpiFullArc

GpiMove

GpiPolyLine

GpiQueryPatternRefPoint

GpiSetArcParams

GpiSetAttrMode

GpiSetPattern

GpiSetPatternRefPoint

GpiPaintRegionExh GpiBeginPath

GpiCreateRegion

GpiDestroyRegion

GpiEndPath

GpiMove

GpiPaintRegion

GpiPolyFillet

GpiPolyLine

GpiSetColor

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

GpiBitmaps Test Group

The GpiBitmaps test group tests bit map manipulation functions. These functions include creating, deleting, querying, selecting, and manipulating bit maps.

All tests include a basic functionality test and an exhaustive (test all return codes at the lowest level) test.

Limitations: All hard-copy vector devices will fail on all bit map operation since it is impossible to translate bit maps to vectors.

This table lists the test cases and the functions called by each test case in the GpiBitmaps test group. The GpiBitmaps test group is found in GPIBTMP.DLL.

Test Case GPI Functions Called Configuration Settings
GpiBitPre1 GpiDeleteBitmap

GpiDestroyPS

GpiSetColor

GpiWCBitBlt

GpiBitPre2 GpiBitBlt

GpiBitBlt

GpiConvert

GpiConvert

GpiCreateBitmap

GpiCreatePS

GpiDeleteBitmap

GpiDestroyPS

GpiQueryDevice

GpiSetBitmap

GpiSetColor

Direct
GpiBitApp1 GpoBitmapFormats

GpiBeginArea

GpiBitBlt

GpiBox

GpiCreateBitmap

GpiCreatePS

GpiDeleteBitmap

GpiDestroyPS

GpiEndArea

GpiErase

GpiMove

GpiPolyLine

GpiQueryBitmapParameters

GpiQueryDevice

GpiSetBitmap

GpiSetBitmapBits

GpiSetColor

GpiSetPattern

Direct
GpiBitApp2 GpiPtVisible

GpiQueryPel

GpiSetColor

GpiSetPel

GpiBitApp3 GpiBox

GpiCreateBitmap

GpiDeleteBitmap

GpiDeleteSetId

GpiMove

GpiQueryBitmapHandle

GpiSetBackMix

GpiSetBitmapId

GpiSetColor

GpiSetPatternSet

GpiSetPatternSet

Direct
GpiBitApp4 GpiDeleteBitmap

GpiLoadBitmap

GpiQueryBitmapParameters

GpiWCBitBlt

Direct
GpiSetPelExh GpiPtVisible

GpiQueryPel

GpiSetColor

GpiSetPel

GpiBitBltExh GpiBitBlt

GpiCreateBitmap

GpiCreatePS

GpiDeleteBitmap

GpiDestroyPS

GpiQueryDevice

GpiSetBitmap

GpiSetBitmapBits

Direct
GpiSetBitmapBitsExh GpiBitBlt

GpiCreatePS

GpiDeleteBitmap

GpiDestroyPS

GpiQueryBitmapBits

GpiQueryDevice

GpiSetBitmap

GpiSetBitmapBits

Direct
GpiSetBitmapIdExh GpiBox

GpiCreateBitmap

GpiDeleteBitmap

GpiDeleteSetId

GpiMove

GpiQueryBitmapHandle

GpiSetBitmapId

GpiSetColor

GpiSetPatternSet

Direct
GpiWCBitBltExh GpiCreateBitmap

GpiDeleteBitmap

GpiSetColor

GpiWCBitBlt

GpiSetBitmapDimensionExh GpiDeleteBitmap

GpiQueryBitmapDimension

GpiSetBitmapDimension

GpiLoadBitmapExh GpiBitBlt

GpiCreatePS

GpiDeleteBitmap

GpiDestroyPS

GpiLoadBitmap

GpiQueryBitmapParameters

GpiQueryDevice

GpiSetBitmap

Direct
GpiQueryDeviceBitmapFormatsExh GpiQueryDeviceBitmapFormats
GpiQueryBitmapParametersExh GpiCreateBitmap

GpiDeleteBitmap

GpiQueryBitmapParameters

GpiChar Test Group

The GpiChar test group tests GPI text functions that:

  • Set and query the current value of the baseline angle.
  • Set and query the current value of the character box attribute.
  • Set and query the current value of the character direction attribute.
  • Set and query the current value of the character-mode attribute.
  • Set and query the current value of the character-shear angle.
  • Draw a character string at the current character position.
  • Draw a character string at a specified character position.
  • Set and query the position at which each character in a string is drawn with positioning controls.
  • Set and query the position at which each character in a positioned string is drawn with positioning controls.
  • Query the size of the default graphics character box.
  • Query the relative coordinates of the four corners of a text box.

This testcase includes application tests that test the behavior of these character functions with other GPIs.

This table lists the test cases and the functions called by each test case in the GpiChar test group. The GpiChar test group is found in GPICHAR.DLL.

Test Case GPI Functions Called Configuration Settings
GpiCharTestPre1 GpiCharStringPos

GpiCharStringPosAt

GpiDeleteSetId

GpiMove

GpiSetCharAngle

GpiSetCharMode

GpiSetCharSet

GpiCharTestPre2 GpiCharStringAt

GpiDeleteSetId

GpiSetCharSet

GpiCharTestApp1 GpiCharString

GpiCharStringAt

GpiDeleteSetId

GpiMove

GpiPolyLine

GpiQueryFontMetrics

GpiSetCharAngle

GpiSetCharBox

GpiSetCharDirection

GpiSetCharMode

GpiSetCharSet

GpiSetCharShear

GpiSetAndQryCharAngleExh GpiCharStringAt

GpiDeleteSetId

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiSetAndQryCharBoxExh GpiCharString

GpiCharStringAt

GpiDeleteSetId

GpiMove

GpiQueryCharBox

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiSetAndQryCharDirExh GpiCharStringAt

GpiDeleteSetId

GpiQueryCharDirection

GpiQueryCharDirection

GpiSetCharBox

GpiSetCharDirection

GpiSetCharMode

GpiSetCharSet

GpiSetAndQryCharModeExh GpiCharStringAt

GpiCharStringAt

GpiDeleteSetId

GpiQueryCharMode

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiSetAndQryCharShearExh GpiCharStringAt

GpiDeleteSetId

GpiQueryCharShear

GpiQueryDefCharBox

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiSetCharShear

GpiCharStringExh GpiCharString

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringAtExh GpiCharString

GpiCharStringAt

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAndQryExh GpiCharString

GpiCharStringPos

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAndQryShadeExh GpiCharString

GpiCharStringPos

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetBackColor

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAndQryBoxExh GpiCharString

GpiCharStringPos

GpiDeleteSetId

GpiLine

GpiMove

GpiQueryDefCharBox

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAtAndQryExh GpiCharString

GpiCharStringPos

GpiCharStringPosAt

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAtAndQryShdExh GpiCharString

GpiCharStringPos

GpiCharStringPosAt

GpiDeleteSetId

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetBackColor

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiCharStringPosAtAndQryBoxExh GpiCharString

GpiCharStringPos

GpiCharStringPosAt

GpiDeleteSetId

GpiLine

GpiMove

GpiQueryDefCharBox

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryTextBox

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiQryDefCharBoxExh GpiCharStringAt

GpiQueryCharBox

GpiQueryDefCharBox

GpiSetCharBox

GpiQryTextBoxExh GpiCharStringAt

GpiDeleteSetId

GpiMove

GpiPolyLine

GpiQueryTextBox

GpiSetCharAngle

GpiSetCharBox

GpiSetCharMode

GpiSetCharSet

GpiClip Test Group

The GpiClip test group tests the GPI clipping visible APIs. The following APIs are tested:

  • GpiExcludeClipRectangle
  • GpiIntersectClipRectangle
  • GpiOffsetClipRegion
  • GpiSetClipRegion
  • GpiSetClipPath
  • GpiQueryClipBox
  • GpiQueryClipRegion
  • GpiPtVisible
  • GpiRectVisible

This table lists the test cases and the functions called by each test case in the GpiClip test group. The GpiClip test group is found in GPICLIP.DLL.

Test Case GPI Functions Called Configuration Settings
GpiClipPre GpiCreateRegion

GpiDestroyRegion

GpiSetClipRegion

Direct
GpiClipApp GpiCreateRegion

GpiDestroyRegion

GpiExcludeClipRectangle

GpiIntersectClipRectangle

GpiOffsetClipRegion

GpiPtVisible

GpiQueryClipBox

GpiSetClipRegion

Direct
GpiPtVisibleExh GpiCreateRegion

GpiDestroyRegion

GpiPtVisible

GpiSetClipRegion

Direct
GpiRectVisibleExh GpiCreateRegion

GpiDestroyRegion

GpiRectVisible

GpiSetClipRegion

Direct
GpiQueryClipBoxExh GpiCreateRegion

GpiDestroyRegion

GpiQueryClipBox

GpiSetClipRegion

Direct
GpiQueryClipRegionExh GpiCombineRegion

GpiCreateRegion

GpiDestroyRegion

GpiPaintRegion

GpiQueryClipRegion

GpiSetClipRegion

GpiSetPattern

Direct
GpiSetClipPathExh GpiCreateRegion

GpiDestroyRegion

GpiQueryClipBox

GpiSetClipRegion

Queued
GpiExcludeClipRectExh GpiCreateRegion

GpiDestroyRegion

GpiExcludeClipRectangle

GpiSetClipRegion

Direct
GpiIntersectClipRectExh GpiCreateRegion

GpiDestroyRegion

GpiIntersectClipRectangle

GpiSetClipRegion

Direct
GpiOffsetClipRegionExh GpiCreateRegion

GpiDestroyRegion

GpiOffsetClipRegion

GpiSetClipRegion

Direct

GpiColor Test Group

The GpiColor test group tests the GPI Color API, GpiSetColor.

This table lists the test cases and the functions called by each test case in the GpiColor test group. The GpiColor test group is found in GPICOLOR. DLL.

Test Case GPI Functions Called Configuration Settings
GpiColorApp1 GpiSetColor

GpiSetPattern

GpiColorApp2 GpiSetColor
GpiColorApp3 GpiBeginArea

GpiBox

GpiEndArea

GpiFullArc

GpiLine

GpiMove

GpiPointArc

GpiSetArcParams

GpiSetBackMix

GpiSetColor

GpiSetColorExh GpiLine

GpiMove

GpiSetColor

GpiSetMixExh1 GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryDevice

GpiQueryMix

GpiSetColor

GpiSetMix

GpiSetPattern

GpiSetMixExh2 GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryDevice

GpiQueryMix

GpiSetColor

GpiSetMix

GpiSetPattern

GpiSetMixExh3 GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryDevice

GpiQueryMix

GpiSetColor

GpiSetMix

GpiSetPattern

GpiSetMixExh4 GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryDevice

GpiQueryMix

GpiSetColor

GpiSetMix

GpiSetPattern

GpiSetBackColorExh GpiBox

GpiMove

GpiQueryBackColor

GpiSetBackColor

GpiSetBackMix

GpiSetColor

GpiSetPattern

GpiSetBackMixExh GpiBeginArea

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryBackMix

GpiQueryDevice

GpiSetBackColor

GpiSetBackMix

GpiSetColor

GpiSetMixExh1

GpiSetPattern

GpiCreateLogColorTableExh1 GpiBox

GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryDevice

GpiQueryLogColorTable

GpiSetColor

GpiSetPattern

GpiSetPatternSet

GpiUnrealizeColorTable

GpiCreateLogColorTableExh2 GpiBox

GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryDevice

GpiSetColor

GpiSetPattern

GpiQueryColorDataExh GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryColorData

GpiSetColor

GpiSetPattern

GpiQueryColorIndexExh GpiBox

GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryColorIndex

GpiQueryDevice

GpiSetColor

GpiQueryNearestColorExh GpiBox

GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryDevice

GpiQueryNearestColor

GpiSetColor

GpiSetPattern

GpiQueryRealColorsExh GpiBox

GpiCreateLogColorTable

GpiLine

GpiMove

GpiQueryDevice

GpiQueryRealColors

GpiSetColor

GpiSetPattern

GpiQueryRGBColorExh GpiBox

GpiLine

GpiMove

GpiQueryDevice

GpiQueryRGBColor

GpiSetColor

GpiSetPattern

GpiElement Test Group

This testcase is designed to test the GPI element functions that:

  • Open an element bracket.
  • Close an element bracket.
  • Delete the element referenced by the current value of the element pointer.
  • Delete a section of elements inclusively delimited by element pointer values.
  • Delete a section of elements exclusively delimited by labels.
  • Add a single element to the current segment.
  • Query the graphics orders for a single element.
  • Get the graphics orders for a specified segment.
  • Add a buffer of graphics orders to the current segment.
  • Insert a label into the current segment.
  • Move the element pointer by a specified increment.
  • Query information associated with the current element.
  • Set the current edit mode to either insert or replace.
  • Query the current edit mode setting.
  • Set the value of the element pointer.
  • Query the value of the element pointer.
  • Set the value of the element pointer to point at a specified label.

This testcase includes application tests that are designed to test the behavior of these character functions with other GPIs.

Limitations: All exhaustive element functions must be executed within a normal PS.

This table lists the test cases and the functions called by each test case in the GpiElement test group. The GpiElement test group is found in GPIELMNT.DLL.

Test Case GPI Functions Called Configuration Settings
GpiElementTestApp1 GpiDrawSegment

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

Normal
GpiElementTestApp2 GpiDrawSegment

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

Normal
GpiBeginAndEndElementExh GpiBeginElement

GpiCloseSegment

GpiDrawSegment

GpiEndElement

GpiLine

GpiMove

GpiOpenSegment

GpiQueryPS

GpiSetColor

GpiSetDrawControl

GpiSetDrawingMode

Normal
GpiDeleteElementExh GpiCloseSegment

GpiDeleteElement

GpiOffsetElementPointer

GpiOpenSegment

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

GpiSetElementPointerAtLabel

Normal
GpiDeleteElementRangeExh GpiCloseSegment

GpiDeleteElementRange

GpiDrawSegment

GpiOpenSegment

GpiQueryElementPointer

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

GpiSetElementPointerAtLabel

Normal
GpiDeleteElmntsBetweenLabelsExh GpiCloseSegment

GpiDeleteElement

GpiDeleteElementsBetweenLabels

GpiDrawSegment

GpiOpenSegment

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

Normal
GpiElementAndQryExh GpiBeginElement

GpiCloseSegment

GpiComment

GpiDrawSegment

GpiElement

GpiEndElement

GpiMove

GpiOpenSegment

GpiPolyLine

GpiQueryElement

GpiQueryElementType

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

GpiSetModelTransformMatrix

Normal
GpiGetAndPutDataExh GpiCloseSegment

GpiDrawSegment

GpiGetData

GpiLabel

GpiOpenSegment

GpiPutData

GpiQueryPS

GpiSetDrawControl

GpiSetDrawingMode

Normal
GpiLabelAndSetElmtPtrAtLabelExh GpiCloseSegment

GpiLabel

GpiOpenSegment

GpiQueryElementPointer

GpiQueryPS

GpiSetDrawingMode

GpiSetElementPointer

GpiSetElementPointerAtLabel

Normal
GpiOffsetElementPointerExh GpiCloseSegment

GpiLabel

GpiOffsetElementPointer

GpiOpenSegment

GpiQueryElementPointer

GpiQueryPS

GpiSetDrawingMode

GpiSetElementPointer

Normal
GpiQueryElementTypeExh GpiCallSegmentMatrix

GpiCharString

GpiCharStringAt

GpiCloseSegment

GpiElement

GpiFullArc

GpiImage

GpiLine

GpiMove

GpiOffsetElementPointer

GpiOpenSegment

GpiPolyFillet

GpiPolyFilletSharp

GpiPolyMarker

GpiPolySpline

GpiQueryDefAttrs

GpiQueryElement

GpiQueryElementType

GpiQueryPS

GpiSetAttrs

GpiSetDrawingMode

GpiSetElementPointer

GpiSetSegmentAttrs

Normal
GpiSetAndQryEditModeExh GpiCloseSegment

GpiDrawSegment

GpiLabel

GpiOffsetElementPointer

GpiOpenSegment

GpiQueryEditMode

GpiQueryPS

GpiRotate

GpiSetDrawControl

GpiSetDrawingMode

GpiSetEditMode

GpiSetElementPointerAtLabel

GpiSetModelTransformMatrix

Normal
GpiSetAndQryElementPointerExh GpiCloseSegment

GpiLabel

GpiOpenSegment

GpiQueryPS

GpiSetDrawingMode

GpiSetElementPointer

Normal

GpiFont Test Group

The GpiFont test group tests GPI text functions including:

  • Determine whether a given file is a font resource file.
  • Query the font metrics for the current logical font.
  • Query the font metrics for all available fonts, or for the fonts specified by facename.
  • Load one or more fonts from the specified resource file.
  • Unload fonts previously loaded from the resource file.
  • Create a logical definition of a font that an application requires to use.
  • Query kerning pair information for the logical font identified by the current value of the character set attribute.
  • Set the current value of the character-set attribute.
  • Query the character-set lcid.
  • Sets the code page ID for graphics characters for the default font.
  • Query the currently selected graphics code page.
  • Query the fonts that have been created by GpiCreateLogFont, and tagged bit maps.
  • Query the number of local identifiers currently in use, referring to fonts or bit maps.
  • Delete a logical font or bit-map tag.
  • Query width table information for the logical font identified by the value of the character-set attribute.
  • Query the device characteristics.

This table lists the test cases and the functions called by each test case in the GpiFont test group. The GpiFont test group is found in GPIFONT.DLL.

Test Case GPI Functions Called Configuration Settings
GpiFontApp1 GpiCharStringAt

GpiCreateLogFont

GpiDeleteSetId

GpiQueryCharSet

GpiQueryDevice

GpiQueryFontFileDescriptions

GpiQueryFonts

GpiQueryNumberSetIds

GpiQueryWidthTable

GpiSetCharSet

GpiFontApp2 GpiQueryDevice

GpiQueryFontMetrics

GpiSetCharSet

GpiQueryFontFileDescriptionsExh GpiDeleteSetId

GpiQueryDevice

GpiQueryFontFileDescriptions

GpiSetCharSet

GpiQueryFontMetricsExh GpiDeleteSetId

GpiQueryFontMetrics

GpiSetCharSet

GpiQueryFontsExh GpiDeleteSetId

GpiLoadFonts

GpiQueryFonts

GpiSetCharSet

GpiUnloadFonts

GpiCreateLogFontExh GpiDeleteSetId

GpiResetPS

GpiSetCharSet

GpiQueryKerningPairsExh GpiDeleteSetId

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryKerningPairs

GpiSetCharSet

GpiSetAndQueryCpExh GpiCharString

GpiMove

GpiQueryCp

GpiQueryCp

GpiSetCp

GpiSetAndQueryCharSetExh GpiDeleteSetId

GpiQueryCharSet

GpiSetCharSet

GpiQueryNumberSetIdsExh GpiDeleteSetId

GpiQueryNumberSetIds

GpiSetCharSet

GpiDeleteSetIdExh GpiDeleteSetId

GpiSetCharSet

GpiQueryWidthTableExh GpiDeleteSetId

GpiQueryDevice

GpiQueryFontMetrics

GpiQueryWidthTable

GpiSetCharSet

GpiLoadFontsExh GpiLoadFonts

GpiQueryFonts

GpiUnloadFonts

GpiUnloadFontsExh GpiLoadFonts

GpiQueryFonts

GpiUnloadFonts

GpiImage Test Group

This module is called by PTT to test the GPI Image APIs. This GPI is used to display raster (bit map) images. The functionality of this GPI and all the error codes that may be returned by this GPI will be tested.

Limitations: GpiImage cannot be used to load bitmaps that a pixel is represented by more than one bit.

This table lists the test cases and the functions called by each test case in the GpiImage test group. The GpiImage test group is found in GPIIMAGE.DLL.

Test Case GPI Functions Called Configuration Settings
GpiImagePre GpiImage

GpiMove

GpiSetColor

GpiImageApp GpiBox

GpiImage

GpiMove

GpiRestorePS

GpiSetColor

GpiSetPattern

GpiImageExh GpiImage

GpiMove

GpiSetColor

GpiLine Test Group

The GpiLine test group tests the line and polyline APIs with respect to line characteristics and precision.

This table lists the test cases and the functions called by each test case in the GpiLine test group. The GpiLine Test Group is found in GPILINE.DLL.

Test Case GPI Functions Called Configuration Settings
GpiLinePre GpiBeginPath

GpiBox

GpiCloseFigure

GpiEndPath

GpiFillPath

GpiLine

GpiMove

GpiPolyLine

GpiSetPattern

GpiLineApp GpiBeginPath

GpiBox

GpiCloseFigure

GpiEndPath

GpiFillPath

GpiLine

GpiMove

GpiPolyLine

GpiSetPattern

GpiBoxExh GpiBox

GpiMove

GpiQueryCurrentPosition

GpiSetPattern

GpiLineExh GpiLine

GpiQueryLineType

GpiSetCurrentPosition

GpiSetLineType

GpiPolyLineExh GpiMove

GpiPolyLine

GpiMarker Test Group

The GpiMarker test group covers the GPI Marker APIs with respect to precision, size, and variation.

This table lists the test cases and the functions called by each test case in the GpiMarker test group. The GpiMarker test group is found in GPIMARKER.DLL.

Test Case GPI Functions Called Configuration Settings
GpiMarkerPre GpiMarker

GpiPolyMarker

GpiSetMarker

GpiMarkerApp GpiDeleteSetId

GpiMarker

GpiPolyMarker

GpiQueryMarker

GpiQueryMarkerBox

GpiQueryMarkerSet

GpiSetMarker

GpiSetMarkerBox

GpiSetMarkerSet

Direct and Standard or Queued and Raw
GpiMarkerExh GpiMarker

GpiQueryMarker

GpiQueryMarkerBox

GpiQueryMarkerSet

GpiSetMarker

GpiSetMarkerBox

GpiSetMarkerSet

Direct and Standard or Queued and Raw
GpiPolyMarkerExh GpiPolyMarker

GpiQueryMarker

GpiQueryMarkerBox

GpiQueryMarkerSet

GpiSetCharDirection

GpiSetMarker

GpiSetMarkerBox

GpiSetMarkerSet

GpiMeta Test Group

The GpiMeta test group covers the GPI Meta APIs and tests the loading, copying, playing, deletion, and querying of meta files.

This table lists the test cases and the functions called by each test case in the GpiMeta test group. The GpiMeta test group is found in GPIMETA.DLL.

Test Case GPI Functions Called Configuration Settings
GpiMetaApp1 GpiLoadMetaFile

GpiPlayMetaFile

Raw
GpiMetaApp2 GpiLoadMetaFile

GpiPlayMetaFile

Raw
GpiCopyMetaFileExh GpiAssociate

GpiCharString

GpiCopyMetaFile

GpiCreatePS

GpiDestroyPS

GpiLoadMetaFile

GpiMove

GpiPlayMetaFile

GpiSaveMetaFile

Raw
GpiDeleteMetaFileExh GpiAssociate

GpiCharString

GpiCreatePS

GpiDeleteMetaFile

GpiDestroyPS

GpiLoadMetaFile

GpiMove

GpiPlayMetaFile

GpiSaveMetaFile

Raw
GpiLoadPlayMetaFileExh1 GpiLoadMetaFile

GpiPlayMetaFile

Raw
GpiLoadPlayMetaFileExh2 GpiCharString

GpiLoadMetaFile

GpiMove

GpiPlayMetaFile

Raw
GpiLoadPlayMetaFileExh3 GpiCharString

GpiLoadMetaFile

GpiMove

GpiPlayMetaFile

Raw
GpiQueryMetaFileLengthExh GpiCharString

GpiLoadMetaFile

GpiMove

GpiQueryMetaFileLength

Raw
GpiQuerySetMetaFileBitsExh GpiLoadMetaFile

GpiPlayMetaFile

GpiQueryMetaFileBits

GpiQueryMetaFileLength

GpiSetMetaFileBits

Raw
GpiSaveMetaFileExh GpiAssociate

GpiCharString

GpiCharString

GpiCreatePS

GpiDestroyPS

GpiLoadMetaFile

GpiMove

GpiSaveMetaFile

Raw

GpiPath Test Group

Paths are used to draw and fill lines and non-rectangular areas. This testcase covers the accuracy of the path limits, the basic functionality of path GPIs and each of the path drawing functions in detail.

Limitations: This testcase does not cover the use of paths for clipping purposes. See the test group GpiClip.

This table lists the test cases and the functions called by each test case in the GpiPath test group. The GpiPath test group is found in GPIPATH.DLL.

Test Case GPI Functions Called Configuration Settings
GpiPathPre GpiBeginPath

GpiCloseFigure

GpiEndPath

GpiFillPath

GpiMove

GpiOutlinePath

GpiPolyLine

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

GpiPathApp GpiBeginPath

GpiEndPath

GpiFillPath

GpiFullArc

GpiModifyPath

GpiMove

GpiOutlinePath

GpiPointArc

GpiPolyFillet

GpiPolyLine

GpiSetLineEnd

GpiSetLineJoin

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

GpiFillPathExh GpiBeginPath

GpiEndPath

GpiFillPath

GpiModifyPath

GpiMove

GpiPolyLine

GpiSetLineWidthGeom

GpiSetPattern

GpiOutlinePathExh GpiBeginPath

GpiCloseFigure

GpiEndPath

GpiMove

GpiOutlinePath

GpiPolyLine

GpiSetLineWidth

GpiStrokePathExh GpiBeginPath

GpiCloseFigure

GpiEndPath

GpiMove

GpiPolyLine

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

GpiSetLineExh GpiBeginPath

GpiEndPath

GpiMove

GpiPolyLine

GpiQueryLineJoin

GpiQueryLineWidthGeom

GpiSetLineEnd

GpiSetLineJoin

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

GpiPathclip Test Group

The GpiPathClip test group exhaustively tests the GPI Set Clip Path API.

This table lists the test cases and the functions called by each test case in the GpiPathclip test group. The GpiPathclip test group is found in GPIPATH.DLL.

Test Case GPI Functions Called Configuration Settings
GpiSetClipPathPre GpiBeginPath

GpiBox

GpiCharStringAt

GpiEndPath

GpiMove

GpiSetClipPath

GpiSetClipPathApp1 GpiBeginPath

GpiCharStringAt

GpiCreateLogFont

GpiEndPath

GpiQueryFonts

GpiSetCharBox

GpiSetCharSet

GpiSetClipPath

GpiSetClipPathApp2 GpiBeginPath

GpiBox

GpiEndPath

GpiMove

GpiPolySpline

GpiSetClipPath

GpiSetPattern

GpiSetClipPathApp3 GpiBeginPath

GpiCharStringAt

GpiCreateLogFont

GpiEndPath

GpiQueryFonts

GpiSetCharSet

GpiSetClipPath

GpiSetClipPathExh1 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiSetClipPathExh2 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiSetClipPathExh3 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiSetClipPathExh4 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiSetClipPathExh5 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiSetClipPathExh6 GpiBeginPath

GpiCharStringAt

GpiEndPath

GpiSetClipPath

GpiRegion Test Group

The GpiRegion test case tests the GPI Region APIs.

This table lists the test cases and the functions called by each test case in the GpiRegion test group. The GpiRegion test group is found in GPIREGN.DLL.

Test Case GPI Functions Called Configuration Settings
GpiRegionApp1 GpiBox

GpiCharStringAt

GpiCombineRegion

GpiCreateRegion

GpiMove

GpiPaintRegion

GpiPtInRegion

GpiRectInRegion

GpiSetPattern

Direct
GpiCombineRegionExh1 GpiBox

GpiCombineRegion

GpiCreateRegion

GpiDestroyRegion

GpiMove

GpiPaintRegion

GpiSetPattern

Direct
GpiCombineRegionExh2 GpiCombineRegion

GpiCreateRegion

GpiDestroyRegion

GpiPaintRegion

GpiSetPattern

GpiCreateRegionExh
GpiEqualRegionExh GpiCreateRegion

GpiDestroyRegion

GpiEqualRegion

GpiPaintRegion

GpiSetPattern

GpiOffsetRegionExh GpiCreateRegion

GpiDestroyRegion

GpiOffsetRegion

GpiPaintRegion

GpiSetPattern

GpiPtInRegionExh GpiCharStringAt

GpiCreateRegion

GpiDestroyRegion

GpiPaintRegion

GpiPtInRegion

GpiSetPattern

GpiRectInRegionExh GpiBox

GpiCreateRegion

GpiDestroyRegion

GpiMove

GpiPaintRegion

GpiRectInRegion

GpiSetPattern

GpiSetRegionExh GpiCreateRegion

GpiDestroyRegion

GpiPaintRegion

GpiSetPattern

GpiSetRegion

GpiQueryRegionBoxExh GpiCreateRegion

GpiPaintRegion

GpiQueryRegionBox

GpiSetPattern

GpiSegment Test Group

The GpiSegment test case tests the GPI functions associated with segments, including: opening, drawing, deleting, and closing.

This table lists the test cases and the functions called by each test case in the GpiSegment test group. The GpiSegment test group is found in GPISEG.DLL.

Test Case GPI Functions Called Configuration Settings
GpiOpenSegmentExh GpiDeleteSegments

GpiDrawChain

GpiQueryDrawingMode

GpiQueryPS

GpiQuerySegmentNames

GpiResetPS

GpiSetColor

GpiSetDrawingMode

Normal
GpiDeleteSegmentExh GpiCharStringAt

GpiCloseSegment

GpiDeleteSegment

GpiDeleteSegments

GpiDrawChain

GpiDrawSegment

GpiOpenSegment

GpiQueryPS

GpiResetPS

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

Normal
GpiDeleteSegmentsExh GpiDeleteSegments

GpiDrawSegment

GpiQueryPS

GpiSetDrawingMode

Normal
GpiDrawChainExh1 GpiBeginArea

GpiCallSegmentMatrix

GpiCharStringAt

GpiCloseSegment

GpiDeleteSegments

GpiDrawChain

GpiEndArea

GpiMove

GpiOpenSegment

GpiPolyFillet

GpiPolyLine

GpiQueryPS

GpiSetColor

GpiSetDrawingMode

GpiSetPattern

Direct and Normal
GpiDrawChainExh2 GpiQueryPS Normal
GpiDrawAndRemoveDynamicsExh GpiDrawChain

GpiDrawDynamics

GpiQueryPS

GpiRemoveDynamics

GpiResetPS

GpiSetSegmentTransformMatrix

Normal
GpiDrawFromExh1 GpiCharStringAt

GpiCloseSegment

GpiDeleteSegment

GpiDeleteSegments

GpiDrawChain

GpiDrawForm

GpiDrawSegment

GpiDrawSegments

GpiLine

GpiMove

GpiOpenSegment

GpiQueryPS

GpiResetPS

GpiSetColor

GpiSetDrawingMode

Direct and Normal
GpiDrawFromExh2 GpiBeginArea

GpiCloseSegment

GpiDeleteSegment

GpiDeleteSegments

GpiDrawChain

GpiDrawSegment

GpiDrawSegments

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryPS

GpiSetAttrMode

GpiSetColor

GpiSetDrawControl

GpiSetDrawingMode

GpiSetPattern

Normal
GpiDrawSegmentExh GpiBeginArea

GpiCloseSegment

GpiDeleteSegment

GpiDeleteSegments

GpiDrawSegment

GpiDrawSegments

GpiEndArea

GpiMove

GpiPolyLine

GpiQueryPS

GpiSetDrawControl

GpiSetPattern

Normal
GpiEraseExh GpiBeginPath

GpiCloseSegment

GpiCreateRegion

GpiDrawSegment

GpiEndPath

GpiErase

GpiFullArc

GpiMove

GpiOpenSegment

GpiQueryPS

GpiSetArcParams

GpiSetClipPath

GpiSetClipRegion

GpiSetDefaultViewMatrix

GpiSetDrawingMode

GpiSetGraphicsField

GpiSetModelTransformMatrix

GpiSetPageViewport

GpiSetViewingLimits

Direct, Standard, and Normal or Queued, Raw, and Normal
GpiResetAndQryBoundaryDataExh GpiBox

GpiCharStringAt

GpiConvert

GpiDrawFrom

GpiMove

GpiQueryBoundaryData

GpiQueryPS

GpiResetBoundaryData

GpiResetPS

GpiSetDrawControl

Normal
GpiSetAndQryInitSegmentAttrsExh GpiQueryInitialSegmentAttrs

GpiQueryPS

GpiQuerySegmentAttrs

GpiSetInitialSegmentAttrs

GpiSetSegmentAttrs

Normal
GpiSetAndQrySegmentAttrsExh GpiCloseSegment

GpiDeleteSegment

GpiDrawChain

GpiOpenSegment

GpiQueryPS

GpiQuerySegmentAttrs

GpiSetDrawingMode

GpiSetSegmentAttrs

Normal
GpiQuerySegmentNamesExh GpiCloseSegment

GpiDeleteSegments

GpiOpenSegment

GpiQueryPS

GpiQuerySegmentNames

GpiSetDrawingMode

Normal
GpiSetAndQrySegmentPriorityExh GpiDrawChain

GpiQueryPS

GpiQuerySegmentPriority

GpiResetPS

GpiSetSegmentPriority

Normal
GpiSetAndQryStopDrawExh GpiQueryPS

GpiQueryStopDraw

GpiSetSegmentAttrs

GpiSetStopDraw

Normal

GpiShade Test Group

The GpiShade test group tests Pel spacing and shading, vertical box overlapping in Overpaint mode, circle shading in Fill and Outline mode, and FM_OR shading against the color table.

This table lists the test cases and the functions called by each test case in the GpiShade test group. The GpiShade test group is found in GPISHADE.DLL.

Test Case GPI Functions Called Configuration Settings
GpiShadePelSpace GpiBox

GpiCharString

GpiMove

GpiSetColor

GpiShadeOverlapBox GpiBox

GpiCharString

GpiMove

GpiSetColor

GpiShadeOverlapCircle1 GpiFullArc

GpiMove

GpiSetArcParams

GpiSetColor

GpiShadeORing-1 GpiBox

GpiCharString

GpiMove

GpiSetColor

GpiSetColor

GpiSetMix

GpiShadeORing-2 GpiBox

GpiCharString

GpiMove

GpiSetColor

GpiSetMix

GpiShadeORing-3 GpiBox

GpiCharString

GpiMove

GpiSetColor

GpiSetMix

GpiShadeORing-4 GpiBox

GpiCharString

GpiFullArc

GpiMove

GpiSetArcParams

GpiSetColor

GpiSetMix

GpiShadeBlue GpiBox

GpiCharStringAt

GpiCreateLogColorTable

GpiMove

GpiSetColor

GpiShadeGreen GpiBox

GpiCharStringAt

GpiCreateLogColorTable

GpiMove

GpiSetColor

GpiShadeRed GpiBox

GpiCharStringAt

GpiCreateLogColorTable

GpiMove

GpiSetColor

GpiShadeGray GpiBox

GpiCharStringAt

GpiCreateLogColorTable

GpiMove

GpiSetColor

GpiShadeAll GpiBox

GpiCharStringAt

GpiCreateLogColorTable

GpiMove

GpiSetColor

GpiShadeOverlapCircle2 GpiFullArc

GpiMove

GpiSetArcParams

GpiSetColor

GpiShadeOverlapBox2 GpiBox GpiCharString

GpiMove GpiSetColor

GpiStandard Test Group

This module is called by the PTT to test GPI Standard Precision.

This testcase consists of the drawing of a set of grids, using GPI functions, and measuring their accuracy in printed form. This is a visual test; therefore, logging is minimal.

Limitations: The GPI APIs used to draw the grids are not tested for functionality and exhaustive return codes in this testcase. They are covered in the GpiLine test group.

This table lists the test cases and the functions called by each test case in the GpiStandard test group. The GpiStandard test group is found in GPISTD.DLL.

Test Case GPI Functions Called Configuration Settings
GpiStandardPre1 GpiCharStringAt

GpiLine

GpiSetCurrentPosition

GpiStandardPre2 GpiLine

GpiSetCurrentPosition

GpiStandardPre3 GpiLine

GpiSetCurrentPosition

GpiTransform Test Group

The GpiTransform test group tests:

  • The Page Viewpoint functions
  • Common support functions to set up a transform matrix
  • That all transform GPI work together.
  • Manipulates the transform GPI relationships and combination possibilities
  • Modal transforms
  • Segment transforms
  • The Default View Matrix
  • The Viewing transform GPIs

This table lists the test cases and the functions called by each test case in the GpiTransform test group. The GpiTransform test group is found in GPIXFORM.DLL.

Test Case GPI Functions Called Configuration Settings
GpiSetAndQryPageViewportPre GpiBox

GpiMove

GpiQueryDevice

GpiQueryPageViewport

GpiQueryPS

GpiSetPageViewport

GpiSetPattern

Direct
GpiSetAndQryModelXformMatPre GpiBox

GpiMove

GpiQueryModelTransformMatrix

GpiSetModelTransformMatrix

GpiSetPattern

Direct
GpiSetAndQrySegmentXformMatPre GpiBox

GpiCloseSegment

GpiDrawSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiQuerySegmentTransformMatrix

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetPattern

GpiSetSegmentTransformMatrix

Normal
GpiCallSegmentMatrixPre GpiBox

GpiCallSegmentMatrix

GpiCloseSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetModelTransformMatrix

GpiSetPattern

Direct and Normal
GpiSetAndQryDefViewMatrixPre GpiBox

GpiMove

GpiQueryDefaultViewMatrix

GpiSetDefaultViewMatrix

GpiSetPattern

GpiSetAndQryViewingXformMatPre GpiBox GpiCloseSegment

GpiDrawSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiQueryViewingTransformMatrix

GpiSetDrawingMode

GpiSetPattern

GpiSetViewingTransformMatrix

Normal
GpiTransformApp GpiBox

GpiCallSegmentMatrix

GpiCloseSegment

GpiDrawSegment

GpiMove

GpiOpenSegment

GpiQueryDefaultViewMatrix

GpiQueryModelTransformMatrix

GpiQueryPageViewport

GpiQueryPS

GpiQuerySegmentTransformMatrix

GpiQueryViewingTransformMatrix

GpiSetDefaultViewMatrix

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetModelTransformMatrix

GpiSetPageViewport

GpiSetPattern

GpiSetSegmentTransformMatrix

GpiSetViewingTransformMatrix

Direct and Normal
GpiSetAndQryPageViewportExh GpiBox

GpiMove

GpiQueryDevice

GpiQueryPageViewport

GpiSetPageViewport

GpiSetPattern

Direct
GpiSetAndQryModelXformMatExh GpiBox

GpiMove

GpiQueryModelTransformMatrix

GpiSetModelTransformMatrix

GpiSetPattern

Direct
GpiSetAndQrySegmentXformMatExh GpiBox

GpiCloseSegment

GpiDrawSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiQuerySegmentTransformMatrix

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetPattern

GpiSetSegmentTransformMatrix

Normal
GpiCallSegmentMatrixExh GpiBox

GpiCallSegmentMatrix

GpiCloseSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetModelTransformMatrix

GpiSetPattern

Direct and Normal
GpiSetAndQryDefViewMatrixExh GpiBox

GpiMove

GpiQueryDefaultViewMatrix

GpiSetDefaultViewMatrix

GpiSetPattern

GpiSetAndQryViewingXformMatExh GpiBox

GpiCloseSegment

GpiDrawSegment

GpiMove

GpiOpenSegment

GpiQueryPS

GpiQueryViewingTransformMatrix

GpiSetDrawingMode

GpiSetPattern

GpiSetViewingTransformMatrix

Normal
GpiConvertExh GpiConvert

GpiQueryDevice

GpiQueryPageViewport

GpiQueryPS

GpiSetDefaultViewMatrix

GpiSetModelTransformMatrix

GpiSetPageViewport

GpiView Test Group

The GpiView test group tests the following GPIs:

  • GpiSetDefViewingLimits
  • GpiSetGraphicsField
  • GpiSetViewingLimits
  • GpiSetPageViewport

This table lists the test cases and the functions called by each test case in the GpiView test group. The GpiView Test Group is found in GPIVIEW.DLL.

Test Case GPI Functions Called Configuration Settings
GpiSetDefViewingLimitsPre GpiResetPS

GpiSetDefViewingLimits

GpiSetGraphicsFieldPre GpiSetGraphicsField
GpiSetViewingLimitsPre GpiSetViewingLimits
GpiViewApp GpiResetPS

GpiSetDefViewingLimits

GpiSetGraphicsField

GpiSetViewingLimits

GpiSetDefViewingLimitsExh1 GpiAssociate

GpiQueryDevice

GpiSetDefViewingLimits

Direct and Normal
GpiSetDefViewingLimitsExh2 GpiBox

GpiCloseSegment

GpiDrawChain

GpiMove

GpiOpenSegment

GpiSetDefViewingLimits

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

Normal
GpiSetViewingLimitsExh1 GpiCallSegmentMatrix

GpiCloseSegment

GpiOpenSegment

GpiSetDrawingMode

GpiSetInitialSegmentAttrs

GpiSetViewingLimits

Normal
GpiSetViewingLimitsExh2 GpiSetViewingLimits
GpiSetPageViewportExh GpiSetPageViewport Direct

STRESS Test Group

The STRESS test group uses GPI test cases which use a great deal of system resources, such as memory and swapper file space.

This table lists the test cases and the functions called by each test case in the STRESS test group. The STRESS Test Group is found in STRESS.DLL.

Test Case GPI Functions Called Configuration Settings
GpiClipFontExh GpiDeleteSetId

GpiResetPS

GpiSetCharSet

Raw
GpiClipBitsExh GpiBeginPath

GpiEndPath

GpiMove

GpiPolyLine

GpiSetClipPath

GpiSetLineWidthGeom

GpiSetPel

Raw
GpiClipColorExh GpiBeginPath

GpiEndPath

GpiFullArc

GpiMove

GpiPartialArc

GpiSetArcParams

GpiSetClipPath

GpiSetLineWidthGeom

GpiStrokePath

GpiSetColor

Raw
GpiMaxPolyLinesExh GpiMove

GpiPolyLine

Raw
GpiMaxPolySplinesExh GpiMove

GpiPolySpline

Raw
GpiCharBoxMetricsInteractive GpiCharString

GpiDeleteSetId

GpiMove

GpiPolyLine

GpiQueryTextBox

GpiSetCharSet

Raw
GpiCharBoxMetricsDefault GpiCharString

GpiMove

GpiPolyLine

GpiQueryDevice

GpiQueryTextBox

GpiSetCharSet

Raw
GpiSpaceInteractive GpiCharString

GpiDeleteSetId

GpiMove

GpiQueryDevice

GpiQueryTextBox

GpiSetCharSet

Raw
GpiBitMapClipExh GpiBeginPath

GpiDeleteBitmap

GpiEndPath

GpiFullArc

GpiLoadBitmap

GpiMove

GpiQueryBitmapParameters

GpiSetArcParams

GpiSetClipPath

GpiSetLineWidthGeom

GpiStrokePath

GpiWCBitBlt

Raw
GpiThinLinesInPath GpiBeginPath

GpiCharString

GpiEndPath

GpiLine

GpiMove

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

Normal
GpiThickLinesInPath GpiBeginPath

GpiCharString

GpiEndPath

GpiLine

GpiMove

GpiSetLineWidthGeom

GpiSetPattern

GpiStrokePath

Raw
GpiShadeCharactersInteractive GpiCharString

GpiDeleteSetId

GpiMove

GpiQueryTextBox

GpiSetCharSet

GpiSetColor

Raw
GpiShadeCharactersDefault GpiCharString

GpiDeleteSetId

GpiMove

GpiQueryTextBox

GpiSetCharSet

GpiSetColor

Raw