Searched refs:collection (Results 1 - 3 of 3) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.hpp55 grep_collection(const std::string& regexp, const Collection& collection) argument
57 for (typename Collection::const_iterator iter = collection.begin();
58 iter != collection.end(); ++iter) {
H A Dmacros.hpp121 #define ATF_REQUIRE_IN(element, collection) \
122 ATF_REQUIRE((collection).find(element) != (collection).end())
124 #define ATF_REQUIRE_NOT_IN(element, collection) \
125 ATF_REQUIRE((collection).find(element) == (collection).end())
H A Dmacros_test.cpp138 std::set< std::string > collection; local
139 collection.insert("foo");
140 collection.insert("bar");
141 collection.insert("baz");
144 ATF_REQUIRE_IN(element, collection);
172 std::set< std::string > collection; local
173 collection.insert("foo");
174 collection.insert("bar");
175 collection.insert("baz");
178 ATF_REQUIRE_NOT_IN(element, collection);
[all...]

Completed in 10 milliseconds