comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Obtaining access to protected object
Date: Wed, 9 Jul 2008 14:57:08 -0700 (PDT)
Date: 2008-07-09T14:57:08-07:00	[thread overview]
Message-ID: <50e41b3b-ac4a-4cb8-8bcb-ba4d9a1b28e7@26g2000hsk.googlegroups.com> (raw)
In-Reply-To: d234e827-c3e6-481a-a15e-94382c2fbf6c@d77g2000hsb.googlegroups.com

On Jul 9, 2:21 pm, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> On 9 Lip, 17:03, Adam Beneschan <a...@irvine.com> wrote:
>
> > It's a compiler bug.
>
> Reported to bugzilla.
> I cannot believe nobody [*] tried it before.
>
> [*] What about ACATS? My code example looks like a unit test derived
> directly from AARM.

There's plenty that ACATS can't test.  The ACATS tries to test every
rule in the RM, but it doesn't try to test every possible combination
of rules that could interact---that would be impossibly hard.  In
fact, I just tried this on a *task* type, rather than a protected
type, and it works fine.  So if ACATS has a test that tests the
"current instance" rule, that would be considered good enough; if a
compiler handles current instances correctly in some cases but not
others, the ACATS isn't designed to catch all of those problems.

                                  -- Adam






  reply	other threads:[~2008-07-09 21:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 20:41 Obtaining access to protected object Maciej Sobczak
2008-07-09 15:03 ` Adam Beneschan
2008-07-09 21:21   ` Maciej Sobczak
2008-07-09 21:57     ` Adam Beneschan [this message]
2008-07-09 22:01     ` Georg Bauhaus
2008-07-10  0:39     ` Randy Brukardt
2008-07-09 15:33 ` george.priv
2008-07-09 19:27   ` Adam Beneschan
2008-07-10  2:10     ` george.priv
2008-07-10 14:46       ` Adam Beneschan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox