Home | History | Annotate | Download | only in rec.dir.itr.members

Lines Matching refs:it

33     // in a non-default state. The returned 'it' is in a
35 // it.options() == directory_options::skip_permission_denied
36 // it.depth() == 1
37 // it.recursion_pending() == true
41 recursive_directory_iterator it(testDir,
43 TEST_ASSERT(it != endIt);
44 while (it.depth() != 1) {
45 ++it;
46 TEST_ASSERT(it != endIt);
48 TEST_ASSERT(it.depth() == 1);
49 it.disable_recursion_pending();
50 return it;
56 // in a non-default state. The returned 'it' is in a
58 // it.options() == directory_options::follow_directory_symlink
59 // it.depth() == 2
60 // it.recursion_pending() == false
64 recursive_directory_iterator it(testDir,
66 TEST_ASSERT(it != endIt);
67 while (it.depth() != 2) {
68 ++it;
69 TEST_ASSERT(it != endIt);
71 TEST_ASSERT(it.depth() == 2);
72 return it;
111 const recursive_directory_iterator it = createInterestingIterator();
112 const path entry = *it;
115 TEST_REQUIRE(it2 != it);
116 TEST_CHECK(it2.options() != it.options());
117 TEST_CHECK(it2.depth() != it.depth());
118 TEST_CHECK(it2.recursion_pending() != it.recursion_pending());
121 it2 = it;
122 TEST_REQUIRE(it2 == it);
123 TEST_CHECK(it2.options() == it.options());
124 TEST_CHECK(it2.depth() == it.depth());
125 TEST_CHECK(it2.recursion_pending() == it.recursion_pending());
131 const recursive_directory_iterator it;
133 recursive_directory_iterator& ref = (it2 = it);
140 recursive_directory_iterator it = createInterestingIterator();
142 TEST_CHECK(it != it2);
143 TEST_CHECK(it2.options() == it.options());
144 TEST_CHECK(it2.depth() == it.depth());
145 TEST_CHECK(it2.recursion_pending() == it.recursion_pending());
146 TEST_CHECK(*it2 == *it);
150 recursive_directory_iterator const& cit = it;
151 it = cit;
152 TEST_CHECK(it2.options() == it.options());
153 TEST_CHECK(it2.depth() == it.depth());
154 TEST_CHECK(it2.recursion_pending() == it.recursion_pending());
155 TEST_CHECK(*it2 == *it);