Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Test Case Generation for Multiple Device Support

IP.com Disclosure Number: IPCOM000050918D
Original Publication Date: 1982-Dec-01
Included in the Prior Art Database: 2005-Feb-10
Document File: 2 page(s) / 14K

Publishing Venue

IBM

Related People

Bird, DL: AUTHOR

Abstract

This article describes a method of generating test cases for testing a program's ability to support multiple devices. The method was developed for testing the Graphics Data Display Manager (GDDM) when the manager was supporting at least two display devices and one or more printers. Test case generation using a test case generator has been previously described in British Patents 1,479,122 and 1,510,240.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 57% of the total text.

Page 1 of 2

Test Case Generation for Multiple Device Support

This article describes a method of generating test cases for testing a program's ability to support multiple devices. The method was developed for testing the Graphics Data Display Manager (GDDM) when the manager was supporting at least two display devices and one or more printers. Test case generation using a test case generator has been previously described in British Patents 1,479,122 and 1,510,240.

When a test case is generated for testing the support of a single device, the random source statements are output one by one directly to the test case. As with other forms of test case generation, a set of control blocks is constantly updated to reflect the predicted status of the graphics tsst case after execution of the current statement.

For example, these control blocks would contain information on:

1) Current position in graphics field.

2) Current graphics attributes.

3) Window/Picture Space/Viewport/Page/Segment parameters.

4) Definitions, contents and attributes of alphanumeric

fields.

5) Predicted endpoints of all graphics primitives.

6) Status of secondary devices (print devices).

In order to generate a test case that can interact with several primary devices, the test case generator must issue new source statements that invoke generalized device support.

One possible method of maintaining more than one conversation is to multiplicate the set of control blocks and refer to them by means of an index. A method is described here that renders such an overhead unnecessary.

Two (or more) conversations are sequentially created. Instead of being placed directly into the test case, they are stored by the generator's print routine into two (or more) arrays. In the case where two primary devices were requested, the two arrays will be post-processed into interleaved sections of statements thus: DISOPEN / DISUSE (device1)

section 1 to device1

DSDROP (device1)

DSOPEN (see original) DSUSE (device2)

section 1 to device2

DSDROP (device2)

DSUSE (device1)

section 2 to device1

DSDROP (device1)

. .

. .

. .

DSUSE (device2)

section n to device2

1

Page 2 of 2

DSCLS / DSDROP (devi...