[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where to put Java test blocks
From: |
Philip Nienhuis |
Subject: |
Re: where to put Java test blocks |
Date: |
Mon, 17 Dec 2012 10:08:48 -0800 (PST) |
Rik-4 wrote
> On 12/16/2012 03:12 PM,
> octave-maintainers-request@
> wrote:
> <snip>
>> And do I have to put all tests for .cc files into one test block? (I put
>> two
>> separate test blocks in ov-java.cc)
> More that one test block is encouraged! The idea is for self-documenting
> and self-testing code so if possible the tests for a specific function
> should be in a block immediately after the DEFUN block which defines the
> function.
That's what I did (w. javaObject() & javaMethod(), resp., but make check
only seems to pick up one test block.
I'll look into it later,
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/Re-where-to-put-Java-test-blocks-tp4647991p4648023.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.