Hi Neeraj, On Jan 9, 2008, at 2:44 PM, Neeraj Joshi wrote:
Hi Erik, So the sample policies were designed as test cases to test the major features of SPL. That was one of the reasons why they were part of the JavaSPL module initially (shipping them as samples was an after thought).We have a couple of 'ComputerSystem' related polices those are more likesamples (and there are no junit tests associated with them)I agree that pure unit tests that don't require visual inspection would be ideal but IMO its a non-trivial task. If you like we can setup conferencecalls to discuss this in more detail?
Conference calls tend to be problematic with Apache projects. They are difficult to set up due to time zone issues; no decisions can be made; anything discussed has to be published on the dev alias so everyone can participate.
Basically, it's best just to use this dev alias for discussions... Craig
Thanks Neeraj ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Those are my principles. If you don't like them I have others." http://incubator.apache.org/imperius Neeraj Joshi Autonomic Computing Policy Development Tivoli, IBM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Erik Bengtson" <[EMAIL PROTECTED]> 01/09/2008 03:25 PM Please respond to [email protected] To <[email protected]> cc Subject test cases Hi, I'm promised to provide some test cases, but in the form the tests are codednow, you can only recognize failures by visual means. Secondly, the testsare not appropriately structured. See: Splcore has main classes and unit tests. OK Javaspl has main classes. OKJavaSPL-Samples has sample policies and sample API usage. It also has unittests, but these can only be validated visually.I propose moving the tests from JavaSPL-Samples to JavaSPL, since samplesshould only contain samples, and rewrite these tests using junit assertions.I can patch those, but if beforehand you can review/apply the patches inJIRA it's great.
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
