allow providing assertion detail using operator <<

Registered by blep

Adds support for operator << to provide assertion message instead of the current extra string parameter. This can be done by adding support for operator << to CppUT::Impl::CheckerFileLocation. As operator << as a lower priority than + and / it will be evaluated after the other part the assertion expression.

Basically, we want to be able to write:
CPPUT_ASSERT( x % 2 == 0 ) << "Value should be even: " << x;

Blueprint information

Status:
Not started
Approver:
None
Priority:
Low
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 0.1-essence
Implementation:
Not started
Milestone target:
milestone icon v0.1.0

Related branches

Sprints

Whiteboard

Needs to strenghen the use case. It is somewhat reduntant with custom predicates.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.