MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / LazyExpression

Class LazyExpression

Bcore/src/main/cpp/Dobby/tests/catch.hpp:1405–1421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1403class RunContext;
1404
1405class LazyExpression {
1406 friend class AssertionHandler;
1407 friend struct AssertionStats;
1408 friend class RunContext;
1409
1410 ITransientExpression const *m_transientExpression = nullptr;
1411 bool m_isNegated;
1412
1413public:
1414 LazyExpression(bool isNegated);
1415 LazyExpression(LazyExpression const &other);
1416 LazyExpression &operator=(LazyExpression const &) = delete;
1417
1418 explicit operator bool() const;
1419
1420 friend auto operator<<(std::ostream &os, LazyExpression const &lazyExpr) -> std::ostream &;
1421};
1422
1423struct AssertionReaction {
1424 bool shouldDebugBreak = false;

Callers 5

reportExprMethod · 0.85
handleMessageMethod · 0.85
handleIncompleteMethod · 0.85
handleNonExprMethod · 0.85

Calls

no outgoing calls

Tested by 5

reportExprMethod · 0.68
handleMessageMethod · 0.68
handleIncompleteMethod · 0.68
handleNonExprMethod · 0.68