Permalink
Commits on Nov 5, 2018
  1. Add MSVC warning 5038 (Wreorder equivalent) to CMakeLists

    horenmar committed Nov 5, 2018
  2. Make TestEventListenerBase register all verbosities

    horenmar committed Nov 5, 2018
    This is a temporarily workaround until we can nuke the current
    verbosities system from the orbit and replace it with something
    actually sane.
    
    Fixes #1426
  3. Remove obsolete comment

    horenmar committed Nov 5, 2018
Commits on Nov 3, 2018
  1. Remove unused partial specialization for MatcherMethod<T>

    horenmar committed Nov 3, 2018
    No matcher actually uses it, and there is no good reason for it,
    as the best it can do for user is removing a single indirection
    when using the pointer inside the matcher. Given the overhead of
    other code that will be running during such time, it is completely
    meaningless.
    
    This also fixes compilation for PredicateMatcher<const char*>.
Commits on Oct 26, 2018
  1. v2.4.2

    horenmar committed Oct 26, 2018
  2. Add documentation for some miscellaneous and less important macros

    horenmar committed Sep 17, 2018
    Fixes #1367
  3. Update Clara to v1.1.5 to fix TextFlow bugs

    horenmar committed Oct 26, 2018
Commits on Oct 16, 2018
  1. Add STATIC_REQUIRE assertion

    horenmar committed Oct 13, 2018
    By default, it expands into a `static_assert` + `SUCCEED` pair, but
    it can also be deferred to runtime by defining
    `CATCH_CONFIG_RUNTIME_STATIC_REQUIRE`, which causes it to expand
    into plain old `REQUIRE`.
    
    Closes #1362
    Closes #1356
Commits on Oct 13, 2018
  1. Add tests for #1404

    horenmar committed Oct 13, 2018
  2. Add tests for #1403

    horenmar committed Oct 13, 2018
Commits on Sep 28, 2018
  1. v2.4.1

    horenmar committed Sep 28, 2018
  2. Fix a bug in UnorderedEqualsMatcher

    horenmar committed Sep 28, 2018
    Previously a mismatched prefix would be skipped before the actual
    comparison would be performed. Obviously, it is supposed to be
    _matching_ prefix that is skipped.
Commits on Sep 21, 2018
  1. Update "Known limitations" section of documentation

    horenmar committed Sep 21, 2018
    This fixes some wording that implies C++98 standard, updates
    the recommended solution to looped SECTION macros and mentioned
    the "last section failed, test needs to be rerun" problem.
    
    Related to #1367
    Related to #1384
    Related to #1389
  2. Add documentation for installing Catch from the repository

    horenmar committed Sep 21, 2018
    This might prove helpful when the package managers either doesn't
    have Catch at all, or provides it in obsolete version (Ubuntu 16.04,
    I am looking at you).
    
    Closes #1383
  3. Change wording of Approx documentation to be less misleading

    horenmar committed Sep 21, 2018
    The "percentage" suggests that the expected epsilon can be in
    [0, 100], but the expected values are in [0, 1]. The new wording
    uses "coefficient", to make it clearer that we are talking about
    values in [0, 1].
    
    Closes #1388
Commits on Sep 10, 2018
  1. Add C++17 builds to Travis

    horenmar committed Sep 9, 2018
Commits on Sep 9, 2018
  1. Fixup TOC script sluggification and documentation

    horenmar committed Sep 9, 2018
  2. Merge branch 'dev-appveyor-fixup-coverage-scripts'

    horenmar committed Sep 9, 2018
  3. Fix CTest regex error

    horenmar committed Sep 8, 2018
    The desired behaviour was to match a literal "[.]", so the regex
    has to be escaped as "\\[\\.\\]" -- double backslashes, because
    it has to be escaped from CMake as well as from the regex engine.
Commits on Sep 8, 2018
  1. Enable some more generator tests in standard test run

    horenmar committed Sep 8, 2018
Commits on Sep 4, 2018
  1. v2.4.0

    horenmar committed Sep 4, 2018
  2. Add documentation for no-exception support

    horenmar committed Sep 3, 2018
    Closes #703
    Closes #1358
  3. Add ExtraTest for CATCH_CONFIG_DISABLE

    horenmar committed Sep 3, 2018
Commits on Sep 3, 2018
  1. Add support for -fno-exceptions (or equivalent)

    horenmar committed Sep 3, 2018
    This means
    
    * Adding new configuration toggle `CATCH_CONFIG_DISABLE_EXCEPTIONS`
    and a best-guess configuration auto-checking for it.
    * Adding new set of internal macros, `CATCH_TRY`, `CATCH_CATCH_ALL`
    and `CATCH_CATCH_ANON` that can be used in place of regular `try`,
    `catch(...)` and `catch(T const&)` respectively, while disappearing
    when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is enabled.
    * Replacing all uses of `throw` with calls to `Catch::throw_exception`
    customization point.
    * Providing a default implementation for the above customization point
    when `CATCH_CONFIG_DISABLE_EXCEPTIONS` is set.
    * Letting users override this implementation with their own.
    * Some minor changes and ifdefs all around to support the above
  2. Replace most naked throws with macros from catch_enforce.h

    horenmar committed Sep 3, 2018
    This is a first step towards support a no-exceptions mode
  3. Directly set Approx's members in operator()

    horenmar committed Sep 3, 2018
    This avoids instantiating the member-setting function template
    and checking the invariants in cases where we know the invariant
    already holds.
  4. Move Approx's validity checks out of line into cpp file

    horenmar committed Sep 3, 2018
    This avoids having to include <stdexcept> in the main include path
    and speeds up the compilation if Approx is used with multiple
    different types.
Commits on Sep 2, 2018
  1. Only look for Python binary when building tests

    horenmar committed Sep 2, 2018
    Fixes #1374
  2. Add test for AND_GIVEN and update the baselines

    horenmar committed Sep 2, 2018
Commits on Sep 1, 2018
  1. Suppress Wunreachable-code in floating matchers and exception tests

    horenmar committed Sep 1, 2018
    Closes #1350
  2. Make Catch2ConfigVersion.cmake be generated as arch-independent

    horenmar committed Sep 1, 2018
    As it turns out, there is a fairly reasonable workaround available.
    
    Closes #1368
  3. Add tests for CATCH_CONFIG_DISABLE

    horenmar committed Sep 1, 2018
  4. Add test for CATCH_CONFIG_PREFIX_ALL

    horenmar committed Sep 1, 2018