From c2c5fc23d8570f0d89ff0b634fad7cea12a9cc7d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 11 Feb 1998 15:03:38 +0000 Subject: new test cases --- doc/tools/pdl2texi/test_cases/enum.d | 44 ++++++++++++++++++++++++++++++ doc/tools/pdl2texi/test_cases/enumbad.d | 48 +++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 doc/tools/pdl2texi/test_cases/enum.d create mode 100644 doc/tools/pdl2texi/test_cases/enumbad.d (limited to 'doc/tools') diff --git a/doc/tools/pdl2texi/test_cases/enum.d b/doc/tools/pdl2texi/test_cases/enum.d new file mode 100644 index 0000000000..fc03c04f44 --- /dev/null +++ b/doc/tools/pdl2texi/test_cases/enum.d @@ -0,0 +1,44 @@ +OBJECT: Testfile + DESCRIPTION: + This file contains one abstract type without a range and two + abstract types with filler ranges. + THEORY OF OPERATION: + This file will be used to test the .d compiler. + +ATTRIBUTE DESCRIPTIONS: none + +ASSOCIATION DESCRIPTIONS: none + +ABSTRACT TYPE DESCRIPTIONS: + +ABSTRACT TYPE: ID + DESCRIPTION: + This type defines an identifier for an event set that may be manipulated. + VISIBILITY: public + DERIVATION: Bin_type handle + +ABSTRACT TYPE: Test_ID + DESCRIPTION: + This is the abstract type with the range made optional. + VISIBILITY: public + DERIVATION: Bin_type handle + +ABSTRACT TYPE: Input_Buffer + DESCRIPTION: + This type indicates the maximum input buffer. + VISIBILITY: public + DERIVATION: string + +ABSTRACT TYPE: Image_t + DESCRIPTION: + This type specifies the data maintained for the screen. + VISIBILITY: public + DERIVATION: array [LINES][COLUMNS] of character + +DATA ITEM DESCRIPTIONS: none + +METHOD DESCRIPTIONS: none + +TASK DESCRIPTIONS: none + +ENDOBJECT: Testfile diff --git a/doc/tools/pdl2texi/test_cases/enumbad.d b/doc/tools/pdl2texi/test_cases/enumbad.d new file mode 100644 index 0000000000..8bcd9f823e --- /dev/null +++ b/doc/tools/pdl2texi/test_cases/enumbad.d @@ -0,0 +1,48 @@ +OBJECT: Testfile + DESCRIPTION: + This file contains one abstract type without a range and two + abstract types with filler ranges. + THEORY OF OPERATION: + This file will be used to test the .d compiler. + +ATTRIBUTE DESCRIPTIONS: none + +ASSOCIATION DESCRIPTIONS: none + +ABSTRACT TYPE DESCRIPTIONS: + +ABSTRACT TYPE: ID + DESCRIPTION: + This type defines an identifier for an event set that may be manipulated. + VISIBILITY: public + DERIVATION: Bin_type handle + RANGE: 99 - 99 + +ABSTRACT TYPE: Test_ID + DESCRIPTION: + This is the abstract type with the range made optional. + VISIBILITY: public + DERIVATION: Bin_type handle + +ABSTRACT TYPE: Input_Buffer + DESCRIPTION: + This type indicates the maximum input buffer. + VISIBILITY: public + DERIVATION: string + RANGE: 99 - 99 + +ABSTRACT TYPE: Image_t + DESCRIPTION: + This type specifies the data maintained for the screen. + VISIBILITY: public + DERIVATION: array [LINES][COLUMNS] of character + RANGE: 0 - 1 QQQ + +DATA ITEM DESCRIPTIONS: none + +METHOD DESCRIPTIONS: none + +TASK DESCRIPTIONS: none + +ENDOBJECT: Testfile + -- cgit v1.2.3