THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- All public classes and methods should have informative Javadoc comments.
- Do not use @author tags.
- Code should be formatted according to Sun's conventions, with these exceptions:
- Indent four spaces per level, not two or six or eight, etc... four.
- No tabs for indentation, spaces only
- Contributions should pass existing unit tests.
- New unit tests should be provided to demonstrate bugs and fixes. JUnit is our test framework:
- You must implement a class that extends
junit.framework.TestCase
and whose class name ends withTest
. - Define methods within your class whose names begin with
test
, and call JUnit's many assert methods to verify conditions; these methods will be executed when you runant test
. - By default, do not let tests write any temporary files to
/tmp
. Instead, the tests should write to the location specified by thetest.build.data
system property. - Place your class in the
src/java/test
tree. ClientTest.java
is an example of a client-server test.- You can run all the unit test with the command
ant test
, or you can run a specific unit test with the commandant -Dtestcase=<class name without package prefix> test
(for exampleant -Dtestcase=ClientTest test
)
- You must implement a class that extends
...