Skip to content
Snippets Groups Projects
  1. Mar 25, 2025
  2. Jul 24, 2024
  3. Jul 04, 2022
  4. Jan 17, 2022
  5. Dec 14, 2021
  6. Dec 07, 2021
  7. Dec 04, 2021
    • Hague Matthew UXAC009's avatar
      Improve error message when output unexpected · dadfa5eb
      Hague Matthew UXAC009 authored
      The short message "expected output blah" can confuse students if their
      code outputs that line /next/. As in they added an extra line of output
      before the expected output.
      
      Warning now specifies when the line was expected.
      dadfa5eb
    • Hague Matthew UXAC009's avatar
      Add return type warning for calls · 2cc4bf3a
      Hague Matthew UXAC009 authored
      If the call did not specify the return type, the return type is inferred
      from the method. This can give students the impression their code is
      returning the right datatype (because the tester is using it) even when
      it is not.
      
      A warning has been added to let students know that this may not be the
      case.
      2cc4bf3a
  8. Nov 28, 2021
  9. Nov 19, 2021
  10. Nov 18, 2021
  11. Nov 15, 2021
  12. Nov 11, 2021
  13. Oct 22, 2021
  14. Oct 20, 2021
  15. Feb 13, 2021
  16. Dec 09, 2020
  17. Nov 12, 2020
  18. Nov 11, 2020
  19. Nov 10, 2020
    • Hague Matthew UXAC009's avatar
      Add support for constructing arrays in the logs · 151155c5
      Hague Matthew UXAC009 authored
      Currently only for constructing "safe" arrays that you want to use as
      arguments to student code -- no failure messages provided if
      construction fails beyond the normal java reflection exceptions.
      
      Use
      
          Character[] cs = new Character[] { 'A', 'B', 'C' };
          Object arr = codeTester.constructArray(char.class, cs);
          codeTester.construct("StudentClass", arr);
      
      An example would be if you want a log
      
          char[] c0 = new char[] { 'A', 'B', 'C' };
          StudentClass sc0 = new StudentClass(c0);
      
      which is better than
      
          StudentClass sc0 = new StudentClass([c@a82324234);
      
      which it shows if you just passed "new char[] { 'A', 'B', 'C' }".
      151155c5
    • Hague Matthew UXAC009's avatar
      Clean up some compiler warnings · 8ab1f655
      Hague Matthew UXAC009 authored
      Add suppressions for deliberate errors or bits where the compiler
      doesn't expect reflection.
      8ab1f655
  20. Nov 09, 2020
  21. Nov 05, 2020
  22. Nov 04, 2020
  23. Oct 29, 2020
Loading