Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add matchers for testing exception properties #2904

Merged
merged 10 commits into from
Aug 24, 2020
Merged

Add matchers for testing exception properties #2904

merged 10 commits into from
Aug 24, 2020

Commits on Aug 3, 2020

  1. Add matchers for testing exception properties

    This PR adds matchers that accept a callable and verify that when invoked, it throws an exception with the given type and properties.
    
    Fixes #952
    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    9ac4cd0 View commit details
    Browse the repository at this point in the history
  2. Small improvements: code style and property name

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    46734d9 View commit details
    Browse the repository at this point in the history
  3. Add missing documentation piece

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    49d1201 View commit details
    Browse the repository at this point in the history
  4. Add a test for duplicate catch clauses in throw matchers, fix a coupl…

    …e of nitpicks.
    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    69c510f View commit details
    Browse the repository at this point in the history
  5. Add a test to ensure that the Throws matcher only invokes its argum…

    …ent once.
    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    92d0a6f View commit details
    Browse the repository at this point in the history
  6. Fix build under msvc

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    0a80845 View commit details
    Browse the repository at this point in the history
  7. Update tests after changing an error message

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    c46bdea View commit details
    Browse the repository at this point in the history
  8. Fix build under msvc

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    4ebbfea View commit details
    Browse the repository at this point in the history
  9. Cleanup a bulky expression, document implementation details

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    a899cec View commit details
    Browse the repository at this point in the history
  10. Remove ThrowsMessageHasSubstr and fix some nits after review

    Vladimir Goncharov committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    7f1c8bb View commit details
    Browse the repository at this point in the history