Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code mangler



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >code mangler (From: Mohsan Khan <email@hidden>)
 >Re: code mangler (From: Bjorn Roche <email@hidden>)
 >Re: code mangler (From: Chris Lininger <email@hidden>)
 >Re: code mangler (From: Dmitry Markman <email@hidden>)
 >Re: code mangler (From: MegaBight <email@hidden>)
 >Re: code mangler (From: Brad BARCLAY <email@hidden>)
 >Re: code mangler (From: Joshua Smith <email@hidden>)
 >Re: code mangler (From: Elliotte Rusty Harold <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.