mirror of
https://github.com/AdaCore/gnatdoc.git
synced 2026-02-12 13:11:07 -08:00
Automated test.
This commit is contained in:
4
testsuite/executable/tagged_types_hierarchy/default.gpr
Normal file
4
testsuite/executable/tagged_types_hierarchy/default.gpr
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
project Default is
|
||||
|
||||
end Default;
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
package Issue_93_Subtype_As_Parent is
|
||||
|
||||
type Unconstrained_Parent (Id : Integer) is
|
||||
tagged limited null record;
|
||||
|
||||
type Progenitor is limited interface;
|
||||
|
||||
subtype Constrained_Parent is Unconstrained_Parent (1);
|
||||
|
||||
subtype Progenitor_Subtype is Progenitor;
|
||||
|
||||
type Child is new Constrained_Parent and Progenitor_Subtype with null record;
|
||||
|
||||
end Issue_93_Subtype_As_Parent;
|
||||
19
testsuite/executable/tagged_types_hierarchy/test.out
Normal file
19
testsuite/executable/tagged_types_hierarchy/test.out
Normal file
@@ -0,0 +1,19 @@
|
||||
(UNDEFINED) ''
|
||||
Packages:
|
||||
Issue_93_Subtype_As_Parent (UNDEFINED) 'issue_93_subtype_as_parent'
|
||||
Record Types:
|
||||
# Unconstrained_Parent (UNDEFINED) 'issue_93_subtype_as_parent.unconstrained_parent'
|
||||
Interface Types:
|
||||
Progenitor (ADA_INTERFACE_TYPE) 'issue_93_subtype_as_parent.progenitor'
|
||||
Tagged Types:
|
||||
Child (ADA_TAGGED_TYPE) 'issue_93_subtype_as_parent.child'
|
||||
Parent type: 'issue_93_subtype_as_parent.constrained_parent'
|
||||
Progenitor Types:
|
||||
# Issue_93_Subtype_As_Parent.Progenitor_Subtype (issue_93_subtype_as_parent.progenitor_subtype) ''
|
||||
Interface Types:
|
||||
Progenitor (ADA_INTERFACE_TYPE) 'issue_93_subtype_as_parent.progenitor'
|
||||
Tagged Types:
|
||||
Child (ADA_TAGGED_TYPE) 'issue_93_subtype_as_parent.child'
|
||||
Parent type: 'issue_93_subtype_as_parent.constrained_parent'
|
||||
Progenitor Types:
|
||||
# Issue_93_Subtype_As_Parent.Progenitor_Subtype (issue_93_subtype_as_parent.progenitor_subtype) ''
|
||||
1
testsuite/executable/tagged_types_hierarchy/test.sh
Executable file
1
testsuite/executable/tagged_types_hierarchy/test.sh
Executable file
@@ -0,0 +1 @@
|
||||
$GNATDOC4 default.gpr --backend=test --test-dump-entities-tree
|
||||
2
testsuite/executable/tagged_types_hierarchy/test.yaml
Normal file
2
testsuite/executable/tagged_types_hierarchy/test.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
description: Construction of tagged type hierarchy.
|
||||
driver: executable
|
||||
Reference in New Issue
Block a user