From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: AUnit: access to local procedure needed when asserting exception
Date: Tue, 06 Dec 2011 12:00:53 +0100
Date: 2011-12-06T12:00:55+01:00 [thread overview]
Message-ID: <4eddf5e7$0$6578$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <4edd6c0a$0$6581$9b4e6d93@newsspool3.arcor-online.net>
On 06.12.11 02:12, Georg Bauhaus wrote:
> I should be able to write the tests differently, so that everything
> necessary for the test routine is declared at the same level as
> the pointer-to-procedure type requires. But why is the simpler
> generic gone? I also imagine that the authors of AUnit have had good
> reason to introduce a named type---preventing access to local procedures.
> Am I missing something?
Wild guess: Assert_Exception is written so that it can be used unchanged
with every run-time that AdaCore is currently supporting, including ZFP,
and Ada 95. The comments on Ada_Containers.AUnit_Lists seem to confirm this.
next prev parent reply other threads:[~2011-12-06 11:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 1:12 AUnit: access to local procedure needed when asserting exception Georg Bauhaus
2011-12-06 11:00 ` Georg Bauhaus [this message]
2011-12-06 12:25 ` Simon Wright
2011-12-06 18:16 ` Georg Bauhaus
2011-12-06 20:02 ` Simon Wright
2011-12-06 21:42 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox