You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

harnessPasses.txt 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # these should be reported as passing test cases
  2. ########################## testing reader of test cases, error/warning evaluation
  3. ## error X filename
  4. 2 error, no filename
  5. harness
  6. ErrorTest.java
  7. !compile
  8. 5 6
  9. 2 error, filename, argument (strict) todo find strict-specific
  10. harness -strict
  11. ErrorTest.java
  12. !compile
  13. ErrorTest.java:6 ErrorTest.java:5
  14. compiles under -lenient-only
  15. harness -strict
  16. ErrorTest.java
  17. !compile
  18. ErrorTest.java:6 ErrorTest.java:5
  19. ## error,warning X filename
  20. 1 error and 1 warning, without filename, with args (strict)
  21. harness -strict
  22. ErrorWarning.java
  23. !compile
  24. 13
  25. 14
  26. 1 error and 1 warning, with filenames
  27. harness -strict
  28. ErrorWarning.java
  29. !compile
  30. ErrorWarning.java:13
  31. ErrorWarning.java:14
  32. messages treated as errors
  33. harness
  34. Messages.java
  35. !compile
  36. 14 15
  37. ## non-error warning cases
  38. 0 error and 1 warning, without filename
  39. harness -lenient
  40. ErrorWarning.java
  41. ErrorWarning
  42. warnings: 14
  43. 0 error and 1 warning, with filename
  44. harness -lenient
  45. ErrorWarning.java
  46. ErrorWarning
  47. warnings: ErrorWarning.java:14
  48. compiles under -lenient-only - compile/run
  49. harness -lenient
  50. LenientTest.java
  51. LenientTest
  52. compiles under -lenient-only - fail by default
  53. harness
  54. LenientTest.java
  55. !compile
  56. 6
  57. compiles under -lenient-only - fail with -strict
  58. harness -strict
  59. LenientTest.java
  60. !compile
  61. 6
  62. ########################## testing Tester client interface
  63. checks and events, all should pass
  64. harness
  65. TestTester.java
  66. TestTester
  67. event files
  68. harness
  69. TestTesterFile.java
  70. TestTesterFile
  71. compile and run, no tester required
  72. harness
  73. TestNoTester.java
  74. TestNoTester