2. Writing a JDK Regression Test

  1. How do I write a test?
  2. What does the @test tag mean?
  3. What do the other tags mean?
  4. How are tag arguments delimited?
  5. If a test fails, do I have to throw my own exception?
  6. Should a test call the System.exit method?
  7. Can a test write to System.out and System.err?
  8. Can a test check the output of System.out and System.err?
  9. What should I do with a test once I've written it?
  10. Where is the test directory?
  11. Why not have separate test workspaces that only contain tests?
  12. How are the test directories organized?
  13. What should I do if my test directory is missing a subdirectory that I need?
  14. How should I name a test?
  15. What about tests that don't fit into the API structure?
  16. Can tests in different directories have the same name?
  17. How do I write a test for an AWT bug or a Swing bug?
  18. How does the user know what to do for a manual applet test?
  19. Exactly what does the /manual option mean?
  20. How does a manual applet test indicate success or failure?