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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9e7db243dfa070d7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.buerger.net!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Do people who use Ada also use ocaml or F#? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <87k4kz3mda.fsf@mid.deneb.enyo.de> <5jjgrklivesk$.z0is5qe7mgbt.dlg@40tude.net> Date: Fri, 5 Nov 2010 17:39:50 +0100 Message-ID: <1m8pqivlbnpot.13j7bio6linxn$.dlg@40tude.net> NNTP-Posting-Date: 05 Nov 2010 17:39:48 CET NNTP-Posting-Host: b7cd2523.newsspool4.arcor-online.net X-Trace: DXC=h4I66XUYEQ;i6K;>iZ]7634IUK[f6WM_RkY_W328 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:16237 Date: 2010-11-05T17:39:48+01:00 List-Id: On Fri, 05 Nov 2010 08:46:13 -0400, Robert A Duff wrote: > "Dmitry A. Kazakov" writes: > >> How do you execute a generic body? Testable are generic instances. > > You can't test a generic without instantiating it. > > You can't test a procedure without calling it. > > You can't test an abstract type without declaring > a concrete type, and some objects of that type. > > What am I missing? You can't test a task without running it and some other tasks and skewing clock and scheduler. You can't test a protected objects without running some tasks and skewing clock and scheduler. You can't test clock, hmm, at all. + the difficulty to achieve the desired grade of test coverage. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de