Skip to content

Commit

Permalink
fix: add missing reporting::NoMatchReport type
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Jan 31, 2025
1 parent a9c65c8 commit 118bdcb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions include/mimic++/reporting/ExpectationReport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,16 @@ namespace mimicpp::reporting
[[nodiscard]]
friend bool operator==(const RequirementOutcomes&, const RequirementOutcomes&) = default;
};

class NoMatchReport
{
public:
ExpectationReport expectationReport;
RequirementOutcomes requirementOutcomes;

Check notice on line 213 in include/mimic++/reporting/ExpectationReport.hpp

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

include/mimic++/reporting/ExpectationReport.hpp#L213

class member 'NoMatchReport::requirementOutcomes' is never used.

[[nodiscard]]
friend bool operator==(NoMatchReport const&, NoMatchReport const&) = default;
};
}

#endif
2 changes: 1 addition & 1 deletion include/mimic++/reporting/Fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace mimicpp::reporting
class TypeReport;
class CallReport;
class ExpectationReport;
class MatchReport;
class NoMatchReport;
}

#endif

0 comments on commit 118bdcb

Please sign in to comment.