catch_generators.cpp 827 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Created by Phil Nash on 15/6/2018.
  3. *
  4. * Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #include "catch_generators.hpp"
  8. #include "catch_random_number_generator.h"
  9. #include "catch_interfaces_capture.h"
  10. #include <limits>
  11. #include <set>
  12. namespace Catch {
  13. IGeneratorTracker::~IGeneratorTracker() {}
  14. const char* GeneratorException::what() const noexcept {
  15. return m_msg;
  16. }
  17. namespace Generators {
  18. GeneratorUntypedBase::~GeneratorUntypedBase() {}
  19. auto acquireGeneratorTracker( StringRef generatorName, SourceLineInfo const& lineInfo ) -> IGeneratorTracker& {
  20. return getResultCapture().acquireGeneratorTracker( generatorName, lineInfo );
  21. }
  22. } // namespace Generators
  23. } // namespace Catch