1. 07 Jan, 2016 1 commit
    • neis's avatar
      [tests] Fix bogus uses of assertThrows. · 837900ef
      neis authored
      Some tests passed a string as second argument to assertThrows, expecting it to
      be matched against the exception.  However, assertThrows simply ignored these.
      (Some other tests actually seem to use that argument as a comment ...)
      
      This CL
      - changes assertThrows to fail if the second argument is not a function,
      - adds assertThrowsEquals which compares the exception to a given value using
        assertEquals
      - fixes some bogus tests that got exposed by this.
      
      R=jarin@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1544793002
      
      Cr-Commit-Position: refs/heads/master@{#33159}
      837900ef
  2. 30 Jan, 2015 1 commit
  3. 24 Sep, 2012 1 commit
  4. 09 Feb, 2012 1 commit
  5. 08 Feb, 2012 1 commit
  6. 13 Dec, 2011 1 commit
  7. 06 Sep, 2011 1 commit
  8. 05 Aug, 2011 1 commit
  9. 31 Mar, 2009 1 commit