G-Node/pandora — pull request #208 by balint42 (2014-05-05 23:56:05+00:00)
Title: Opt obl tester

New optional vs obligatory test classes & methods have been implemented: each attribute of simple "attribute(..)"-pattern is tested whether it behaves in line with agreed optional / obligatory attribute behavior.
I.e.: an optional attribute must return either a vector, entity or boost::optional _and_ have a none_t-deleter overload - an obligatory attribute must _not_ return boost::optional and must _not_ have a none_t-deleter overload.
A brief summary is shown for all attributes - if an attribute is neither optional nor obligatory the test fails and the summary expands with details.
Not yet tested attributes are all those of more complex "getAttribute", "deleteAttribute", ... patterns - they require far simpler tests. Yet to be done: test with VC++.