MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / Config

Class Config

tests/catch.hpp:4449–4499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4447 };
4448
4449 class Config : public IConfig {
4450 public:
4451
4452 Config() = default;
4453 Config( ConfigData const& data );
4454 virtual ~Config() = default;
4455
4456 std::string const& getFilename() const;
4457
4458 bool listTests() const;
4459 bool listTestNamesOnly() const;
4460 bool listTags() const;
4461 bool listReporters() const;
4462
4463 std::string getProcessName() const;
4464 std::string const& getReporterName() const;
4465
4466 std::vector<std::string> const& getTestsOrTags() const;
4467 std::vector<std::string> const& getSectionsToRun() const override;
4468
4469 virtual TestSpec const& testSpec() const override;
4470 bool hasTestFilters() const override;
4471
4472 bool showHelp() const;
4473
4474 // IConfig interface
4475 bool allowThrows() const override;
4476 std::ostream& stream() const override;
4477 std::string name() const override;
4478 bool includeSuccessfulResults() const override;
4479 bool warnAboutMissingAssertions() const override;
4480 bool warnAboutNoTests() const override;
4481 ShowDurations::OrNot showDurations() const override;
4482 RunTests::InWhatOrder runOrder() const override;
4483 unsigned int rngSeed() const override;
4484 int benchmarkResolutionMultiple() const override;
4485 UseColour::YesOrNo useColour() const override;
4486 bool shouldDebugBreak() const override;
4487 int abortAfter() const override;
4488 bool showInvisibles() const override;
4489 Verbosity verbosity() const override;
4490
4491 private:
4492
4493 IStream const* openStream();
4494 ConfigData m_data;
4495
4496 std::unique_ptr<IStream const> m_stream;
4497 TestSpec m_testSpec;
4498 bool m_hasTestFilters = false;
4499 };
4500
4501} // end namespace Catch
4502

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected