Inom
Hitta mer dokumentation
Supportresurser som ingår
| Ladda ner denna bok i PDF
Rectangle Test Descriptions
25
- This chapter describes the Rectangle test programs. The following is defined for each test program:
-
- Name of the test program
- Test types (See the section "Denizen Test Types" on page 2 for the different test types.)
- Description of the test program
- Attributes tested by the program
- Operators tested by the program
- Output from the test program
· rect0
-
| Test Types: | INDEX, SM |
| Description: | Tests simple rectangle drawing: draws a rectangle of the type XGL_MULTIRECT_I2D and checks five points of the rectangle |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A white square
· rect1
-
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_I2D and checks five points of each of the rectangles |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: Three white squares of different sizes are drawn one after
the other.
· rect2
-
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_I2D with edges on and checks for the presence/absence of edge color at five points on each of the rectangles. |
- Attributes Tested: XGL_CTX_EDGE_COLOR
-
-
XGL_CTX_SURF_EDGE_FLAG
XGL_CTX_SURF_FRONT_COLOR
Operators Tested: xgl_object_set
xgl_multirectangle
Output: Three white squares of different sizes are drawn one after
the other.
· rect3
-
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_I2D with edges both on and off, and with three different stipple patterns. Checks for edge presence and the patterns on the rectangles. |
- Attributes Tested: XGL_CTX_SURF_EDGE_FLAG
- Operators Tested: xgl_object_set
- Output:.....Three white squares are drawn six times, one after the other, with the following stipple pattern styles and edge flags:
- (1) Dots stipple pattern, no edge (2) Cross-hatch stipple pattern, no edge (3) Dotted-screen stipple pattern, no edge (4) Dots stipple pattern with edge (5) Cross-hatch stipple pattern with edge (6) Dotted-screen stipple pattern with edge
· rect4
-
| Test Types: | INDEX, SM |
| Description: | Draws a rectangle of the type XGL_MULTIRECT_I2D with dual-colored edges and checks for both colors on the boundary of the rectangle. |
- Attributes Tested: XGL_CTX_EDGE_ALT_COLOR
- Operators Tested: xgl_object_set
-
| Output:· rect5 | A green solid square with dual-colored (white and red) edges on a white background |
| Test Types: | RGB, SM |
| Description: | Tests simple RGB rectangle drawing: draws a rectangle of the type XGL_MULTIRECT_I2D and checks five points of the rectangle |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A white square
· rect6
- Test Types: RGB, SM Description:
- Draws three RGB rectangles of the type XGL_MULTIRECT_I2D and checks five points of each of the rectangles
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: Three white squares of different sizes are drawn one after
the other.
· rect7
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_I2D with edges on and checks for the presence/absence of edge color at five points on each of the rectangles |
- Attributes Tested: XGL_CTX_EDGE_COLOR
-
-
XGL_CTX_SURF_EDGE_FLAG
XGL_CTX_SURF_FRONT_COLOR
Operators Tested: xgl_object_set
xgl_multirectangle
Output: Three white squares of different sizes with blue edges are
drawn one after the other.
· rect8
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_I2D with edges both on and off, and with three different stipple patterns. Checks for edge presence and the patterns on the rectangles. |
- Attributes Tested: XGL_CTX_SURF_EDGE_FLAG
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: Three white squares are drawn six times, one after the
- other, with the following stipple pattern styles and edge flags:
- (1) Dots stipple pattern, no edge (2) Cross-hatch stipple pattern, no edge (3) Dotted-screen stipple pattern, no edge (4) Dots stipple pattern with edge (5) Cross-hatch stipple pattern with edge (6) Dotted-screen stipple pattern with edge
· rect9
-
| Test Types: | RGB, SM |
| Description: | Draws an RGB rectangle of the type XGL_MULTIRECT_I2D with dual-colored edges and checks for both colors on the boundary of the rectangle |
- Attributes Tested: XGL_CTX_EDGE_ALT_COLOR
-
-
XGL_CTX_EDGE_COLOR
XGL_CTX_EDGE_PATTERN
XGL_CTX_EDGE_STYLE (XGL_LINE_ALT_PATTERNED)
Operators Tested: xgl_object_set
xgl_multirectangle
Output: A green solid square with dual-colored (white and red)
edges on a black background
· rect10
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_I2D and checks five points of each of the rectangles. Tries many different colors for the polygons (all colors in color cube for 8-bit rasters). |
- Attributes Tested: XGL_CMAP_COLOR_CUBE_SIZE
-
-
XGL_CTX_SURF_FRONT_COLOR
XGL_DEV_COLOR_MAP
XGL_RAS_DEPTH
- Operators Tested: xgl_object_get
-
-
xgl_object_set
xgl_multirectangle
Output: For 8-bit rasters, three squares of different sizes are drawn
- one after the other many times. Each time a different color in the color cube is used as the interior color. For non-8-bit rasters, nothing is rendered.
· rect11
-
| Test Types: | INDEX, SM |
| Description: | Tests simple rectangle drawing: draws a rectangle of the type XGL_MULTIRECT_F3D and checks five points of the rectangle |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A white square
· rect12
-
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_F3D and checks five points of each of the rectangles |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
| Output:· rect13 | Three white squares of different sizes are drawn one after the other. |
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_F3D with edges on and checks for the presence/absence of edge color at five points on each of the rectangles |
- Attributes Tested: XGL_CTX_EDGE_COLOR
-
-
XGL_CTX_SURF_EDGE_FLAG
XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: Three white squares of different sizes are drawn one after
the other.
· rect14
-
| Test Types: | INDEX, SM |
| Description: | Draws three rectangles of the type XGL_MULTIRECT_F3D with edges both on and off, and with three different stipple patterns. Checks for edge presence and the patterns on the rectangles. |
- Attributes Tested: XGL_CTX_SURF_EDGE_FLAG
-
-
XGL_CTX_SURF_FPAT
XGL_CTX_SURF_FPAT_POSITION
XGL_CTX_SURF_FRONT_FILL_STYLE
(XGL_SURF_FILL_STIPPLE)
Operators Tested: xgl_object_set
xgl_multirectangle
Output: Three white squares are drawn six times, one after the
- other, with the following stipple pattern styles and edge flags:
- (1) Dots stipple pattern, no edge (2) Cross-hatch stipple pattern, no edge (3) Dotted-screen stipple pattern, no edge (4) Dots stipple pattern with edge (5) Cross-hatch stipple pattern with edge (6) Dotted-screen stipple pattern with edge
· rect15
-
| Test Types: | INDEX, SM |
| Description: | Draws a rectangle of the type XGL_MULTIRECT_F3D with dual-colored edges and checks for both colors on the boundary of the rectangle |
- Attributes Tested: XGL_CTX_EDGE_ALT_COLOR
-
-
XGL_CTX_EDGE_COLOR
XGL_CTX_EDGE_PATTERN
XGL_CTX_EDGE_STYLE (XGL_LINE_ALT_PATTERNED)
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A green solid square with dual-colored (white and red)
edges on a white background
· rect16
-
| Test Types: | RGB, SM |
| Description: | Tests simple RGB rectangle drawing: draws a rectangle of the type XGL_MULTIRECT_F3D and checks five points of the rectangle |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A white square
· rect17
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_F3D and checks five points of each of the rectangles |
- Attributes Tested: XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
| Output:· rect18 | Three white squares of different sizes are drawn one after the other. |
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_F3D with edges on and check for the presence/absence of edge color at five points on each of the rectangles |
- Attributes Tested: XGL_CTX_EDGE_COLOR
-
-
XGL_CTX_SURF_EDGE_FLAG
XGL_CTX_SURF_FRONT_COLOR
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: Three white squares of different sizes with blue edges are
drawn one after the other.
· rect19
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_F3D with edges both on and off, and with three different stipple patterns. Checks for edge presence and the patterns on the rectangles. |
- Attributes Tested: XGL_CTX_SURF_EDGE_FLAG
-
-
XGL_CTX_SURF_FPAT
XGL_CTX_SURF_FPAT_POSITION
XGL_CTX_SURF_FRONT_FILL_STYLE
(XGL_SURF_FILL_STIPPLE)
Operators Tested: xgl_object_set
xgl_multirectangle
Output: Three white squares are drawn six times, one after the
- other, with the following stipple pattern styles and edge flags:
- (1) Dots stipple pattern, no edge (2) Cross-hatch stipple pattern, no edge (3) Dotted-screen stipple pattern, no edge (4) Dots stipple pattern with edge (5) Cross-hatch stipple pattern with edge (6) Dotted-screen stipple pattern with edge
· rect20
-
| Test Types: | RGB, SM |
| Description: | Draws an RGB rectangle of the type XGL_MULTIRECT_F3D with dual-colored edges and checks for both colors on the boundary of the rectangle |
- Attributes Tested: XGL_CTX_EDGE_ALT_COLOR
-
-
XGL_CTX_EDGE_COLOR
XGL_CTX_EDGE_PATTERN
XGL_CTX_EDGE_STYLE (XGL_LINE_ALT_PATTERNED)
- Operators Tested: xgl_object_set
-
-
xgl_multirectangle
Output: A green solid square with dual-colored (white and red)
edges on a black background
· rect21
-
| Test Types: | RGB, SM |
| Description: | Draws three RGB rectangles of the type XGL_MULTIRECT_F3D and checks five points of each of the rectangles. Many different colors for the polygons (all colors in color cube for 8-bit rasters) are tried. |
- Attributes Tested: XGL_CMAP_COLOR_CUBE_SIZE
-
-
XGL_CTX_SURF_FRONT_COLOR
XGL_DEV_COLOR_MAP
XGL_RAS_DEPTH
Operators Tested: xgl_object_get
xgl_object_set
xgl_multirectangle
Output: For 8-bit rasters, three squares of different sizes are drawn
- one after the other many times. Each time a different color in the color cube is used as the interior color. For non-8-bit rasters, nothing is rendered.
· rect_annot_af3d_nonid_trans_rgb
-
| Test Types: | RGB, SM |
| Description: | Draws two RGB rectangles of the type XGL_MULTIRECT_AF3D translated in y direction |
- Attributes Tested: XGL_CTX_GLOBAL_MODEL_TRANS
- Operators Tested: xgl_object_get
- Output:.....Two green rectangles with different sizes
· rect_annot_af3d_rgb
-
| Test Types: | RGB, SM |
| Description: | Draws two RGB rectangles of the type XGL_MULTIRECT_AF3D |
- Attributes Tested: None
- Operators Tested: xgl_multirectangle
- Output:.....Two green rectangles with different sizes
|
|