On Oct 26, 2004, at 15:50, Elliotte Rusty Harold wrote:
You mean every line of your code isn't exercised by some test case
somewhere? It should be. PMD is finding problems with your code. They
just aren't quite what you thought they were.
Actually, most of the API is for communicating with external hardware.
Because of this, the only realistic way of testing much of the API is
to actively test it interacting with the hardware. We can't script the
external hardware, and local code tests would block infinitely until
the hardware was connected and initiated by hand. As such, for most of
the code unit tests don't make any sense (even though it's Java, this
is some really low-level hardware communication work, with several
protocol stacks and the like implemented).
Brad BARCLAY
=-=-=-=-=-=-=-=-=-=
From the Mac OS X Desktop of Brad BARCLAY
E-Mail: email@hidden Web: http://www.jsyncmanager.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden