From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f494beedc5085953 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Obtaining access to protected object Date: Wed, 9 Jul 2008 19:39:18 -0500 Organization: Jacob's private Usenet server Message-ID: References: <72741a06-d96c-4f53-a80b-3595c513efa1@27g2000hsf.googlegroups.com> <247f4dc5-44d8-4618-9fdf-140286ac8d0e@m45g2000hsb.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1215650448 30314 69.95.181.76 (10 Jul 2008 00:40:48 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 10 Jul 2008 00:40:48 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Xref: g2news1.google.com comp.lang.ada:1068 Date: 2008-07-09T19:39:18-05:00 List-Id: "Maciej Sobczak" wrote in message news:d234e827-c3e6-481a-a15e-94382c2fbf6c@d77g2000hsb.googlegroups.com... ... > [*] What about ACATS? My code example looks like a unit test derived > directly from AARM. The Ada 95 ACATS writers made a rather fundamental mistake, in that they made no attempt to look at whether rules inherited from Ada 83 were tested properly. One result of that is that kinds of types added in Ada 95 (modular, decimal, protected) types are not tested much with the basic rules of the language in the ACATS. (Another error that they made was to consider a paragraph covered if any rule in the paragraph is tested -- but there are a lot of paragraphs with multiple rules.) The current ACATS work includes going back and restarting the coverage analysis from first principles. I'm finding that the coverage of the Standard in the ACATS is around 60% (far less than the Ada 95 contractors claimed). I doubt that given the current ACATS budget that this situation is going to change much -- I'm primarily emphasizing Ada 2005 changes for new tests. Anyone can help, however, by submitting candidate ACATS tests. (I recommend doing so to complete untested test objectives where those have already been created for the full language, as that would increase the chances of a test being used in the ACATS.) Information on how to create tests can be found in the ACATS documentation - look at http://www.ada-auth.org/acats.html to find that. (I'm too busy at the moment to look up the exact link.) Feel free to contact me if you are interested and/or have questions. (Also, you can ask me for the most recent test objectives for a section of interest, as the ones available with the ACATS distribution are pretty stale.) Randy.