Added lwt_context to lightweight test #195
This still lacks tests and docs. Before I go ahead and write them, can you please confirm that this is (more or less) what you expected? Feedback is welcome.
[0], [1], [2]?
Is there a reason for the particular value of 3? Why have multiple values anyway, since you already maintain a list of frames?
That is what I had in mind, yes. Please enclose the printed context values in ' for consistency with TEST_EQ.
You'd use multiple nested contexts when the test is reached via several nested functions, whereas multiple values per single context is when your current iteration has more that one value, e.g. &p.x, &p.y in case p itself doesn't have op<<.
Completely. Will add unit tests to detect these.
Does defining BOOST_LIGHTWEIGHT_TEST_OSTREAM to a global std::stringstream value sound a good approach for tests?
Please remove the bodies here; the C++03 idiomatic way to disable copy and assign is to declare the members as private and not define them.
Sounds fine to me.
Better use BOOST_DELETED_FUNCTION, if we intend to keep C++03 compatibility.
Lastique
anarthal
lwt_context makes the framework print the passed values on test failure