summaryrefslogtreecommitdiffstats
path: root/doc/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-11 15:03:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-11 15:03:38 +0000
commitc2c5fc23d8570f0d89ff0b634fad7cea12a9cc7d (patch)
tree9fbdd5db2993f64c8be4d08ff12564102b83fa47 /doc/tools
parentnew directory structure for hwapi (diff)
downloadrtems-c2c5fc23d8570f0d89ff0b634fad7cea12a9cc7d.tar.bz2
new test cases
Diffstat (limited to 'doc/tools')
-rw-r--r--doc/tools/pdl2texi/test_cases/enum.d44
-rw-r--r--doc/tools/pdl2texi/test_cases/enumbad.d48
2 files changed, 92 insertions, 0 deletions
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
+