|
Hegel 0.18.3
Property-based testing for C++
|
| Nhegel | Main namespace |
| Ngenerators | Hegel generators |
| Ntemporal | Date and time generators, and the plain values they draw |
| CDatesParams | Parameters for dates() generator |
| CTimesParams | Parameters for times() generator |
| CDatetimesParams | Parameters for datetimes() generator |
| CInstantsParams | Parameters for instants() generator over a std::chrono::system_clock time point |
| CInstantsParams< Instant > | Parameters for instants() generator over Instant |
| COffsetsParams | Parameters for offsets() generator |
| CZonesParams | Parameters for zones() generator |
| CZonedDatetimesParams | Parameters for zoned_datetimes() generator |
| CUnitBounds | Inclusive bounds on one unit of a span, for SpansParams |
| CSpansParams | Parameters for spans() generator |
| CDurationsParams | Parameters for durations() generator over a std::chrono::duration |
| CDurationsParams< SignedDuration > | Parameters for durations() generator over SignedDuration |
| CDate | A proleptic Gregorian calendar date |
| CTime | A time of day from 00:00:00 to 23:59:59.999999999 |
| CDateTime | A wall-clock date and time with no zone or offset, in the range of Date and Time. Prints as 2024-03-10T02:30:00 |
| CInstant | An instant |
| CUtcOffset | A UTC offset: a known number of seconds east of UTC within ±25:59:59 (MAX_OFFSET), or the unknown offset of RFC 3339's -00:00, which the offset and zone draws yield only when asked to |
| CTimeZone | A time zone of a zone source, or UNKNOWN_ZONE |
| CZonedDateTime | A wall-clock time in a time zone, resolved to an instant |
| CSignedDuration | A signed duration: seconds plus nanoseconds of the same sign, the latter within ±999999999, so -1.5 s is {-1, -500000000} |
| CSpan | A calendar span: a signed count of each unit from years to nanoseconds, never normalised (90 minutes is not an hour and a half, and a month is not a number of days) |
| CZoneInfo | What a zone source knows about a time zone name; see info() |
| CZoneOffset | The offset a time zone has in force at an instant; see offset_at() |
| CZoneType | A local time type of a zone: an offset, its daylight-saving flag and its abbreviation |
| CZoneTransition | An explicit transition: from instant on, type is in force |
| CRuleDate | The day and time of day a yearly rule changes the clocks on, as a POSIX TZ string names them (RFC 9636 §3.3.1) |
| CDaylightRule | Daylight-saving time of a yearly rule: its type, and the dates it starts and ends on each year |
| CZoneRule | A yearly rule in force after a zone's explicit transitions: the footer of a TZif file |
| CHoldLast | The last type in force, held for ever after the explicit transitions |
| CInferRule | A yearly rule the engine infers from the transitions of last_year and the year before it |
| CZoneData | A zone's data given as fields: the TZif model of RFC 9636 |
| CZoneOracle | A library that answers offset lookups but does not expose its zone data, probed into explicit transitions over the years first_year to last_year |
| CZoneSource | A source of time zone data: the database the zone and zoned datetime generators classify, target and resolve wall times against |
| CAnyGenerator | A generator: a handle to an IGenerator |
| CGenerator | A printable generator: TestCase::draw() accepts it |
| CMapped | The generator that map() returns |
| CIGenerator | The interface of a generator that draws without printing |
| CIPrintableGenerator | The interface of a printable generator: one that can print what it draws, as it draws it |
| CField | Helper for named field initialization in builds_agg() |
| CVectorsParams | Parameters for vectors() generator |
| CSetsParams | Parameters for sets() generator |
| CMapsParams | Parameters for maps() generator |
| CSubsequencesParams | Parameters for subsequences() |
| CSamplesParams | Parameters for samples() |
| CDeferredGeneratorDefinition | A forward reference to a generator whose definition is provided later |
| CRecursiveParams | Parameters for recursive() generator |
| CDerivedGenerator | A Generator produced by default_generator<T>() |
| CDomainsParams | Parameters for domains() generator |
| CIpAddressesParams | Parameters for ip_addresses() generator |
| CUuidsParams | Parameters for uuids() generator |
| CIntegersParams | Parameters for integers() generator |
| CFloatsParams | Parameters for floats() generator |
| CRandomsParams | Parameters for randoms() generator |
| CHegelRandom | A random engine whose values Hegel generates |
| CTextParams | Parameters for text() generator |
| CCharactersParams | Parameters for characters() generator |
| CBinaryParams | Parameters for binary() generator |
| CLarkParams | Parameters for from_lark() generator |
| CRegexParams | Parameters for the from_regex() overload with an alphabet |
| Nstateful | Stateful (model-based) property testing |
| CVariablesGenerator | |
| CInvariant | An invariant is a predicate that must hold at any point in the stateful test. They are evaluated in full on the initial and final state and sampled at intermediate join points, unless declared always checked. The invariant function should throw when the invariant is violated |
| CConcurrentRuleParams | Arguments for the ConcurrentRule constructor |
| CConcurrentRule | An action that a worker can apply to a concurrent state machine |
| CConcurrentStateMachine | Base class for a concurrent state machine |
| CPool | A pool of previously generated values. A pool lets data flow from one rule to another, so a rule can act on a handle or identifier that an earlier rule produced rather than on a freshly drawn value |
| CConcurrentPool | A pool of values that concurrent workers can share |
| CRuleParams | Arguments for the Rule constructor |
| CRule | A rule is one possible action in a stateful test |
| CInvariantParams | Arguments for the Invariant constructor |
| CStateMachineParams | Arguments for the StateMachine constructor |
| CStateMachine | Base class for a state machine. Holds the state and declares the rules and the invariants that act on it |
| CRunParams | Options for run and run_concurrent |
| CGenerator | A printable generator: TestCase::draw() accepts it |
| CIGenerator | The interface of a generator that draws without printing |
| CRunError | The engine stopped the run without a verdict on the property |
| CFailedHealthCheck | A health check failed |
| CFlaky | The test behaved nondeterministically under NondeterminismStrictness::Error |
| CUnsatisfiable | The engine could not find inputs that satisfy the test's assumptions and filters |
| CDidNotReproduce | No failure blob given to hegel::test() or HEGEL_REPRODUCE_FAILURE made the test fail |
| CMultipleFailures | The run found more than one distinct failure |
| CNamedValue | A value of an ExplicitTestCase that a named draw takes |
| CExplicitTestCase | Values to run a test with before Hegel generates any |
| CGTestFailure | The exception the GoogleTest integration raises for a test case that fails an assertion |
| CFailureOrigin | Interface for an exception that names its own failure origin |
| CTestLocation | Where a test is defined |
| CPrinter | Writes to the document that a failure report shows |
| CSpeculation | An open speculative region; see Printer::speculate() |
| CDocument | A document of its own, outside a test case |
| CDatabase | Configure the Hegel database |
| CSettings | Configuration options for hegel::test() |
| CTestCase | Handle to the currently-executing test case |
| CWorker | Handle to a worker started by TestCase::spawn() |