Lines Matching refs:unique_node_ptr
32 typedef std::unique_ptr<node, decltype(&NodeTest::destroy)> unique_node_ptr; typedef in NodeTest
34 unique_node_ptr CreateNode(node* parent, const std::string& path, const int transforms = 0) { in CreateNode()
35 return unique_node_ptr( in CreateNode()
50 unique_node_ptr node = CreateNode(nullptr, "/path"); in TEST_F()
58 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
62 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
88 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
90 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
105 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F()
106 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F()
108 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F()
124 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F()
125 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F()
127 unique_node_ptr child = CreateNode(parent1.get(), "subdir"); in TEST_F()
144 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
146 unique_node_ptr child0 = CreateNode(parent.get(), "subdir", 0 /* transforms */); in TEST_F()
147 unique_node_ptr child1 = CreateNode(parent.get(), "subdir", 1 /* transforms */); in TEST_F()
173 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F()
174 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F()
176 unique_node_ptr child0 = CreateNode(parent1.get(), "subdir", 0 /* transforms */); in TEST_F()
177 unique_node_ptr child1 = CreateNode(parent1.get(), "subdir", 1 /* transforms */); in TEST_F()
204 unique_node_ptr parent1 = CreateNode(nullptr, "/path1"); in TEST_F()
205 unique_node_ptr parent2 = CreateNode(nullptr, "/path2"); in TEST_F()
207 unique_node_ptr child0 = CreateNode(parent1.get(), "subdir", 0 /* transforms */); in TEST_F()
208 unique_node_ptr child1 = CreateNode(parent1.get(), "subdir", 1 /* transforms */); in TEST_F()
239 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
242 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
245 unique_node_ptr child2 = CreateNode(parent.get(), "subdir2"); in TEST_F()
248 unique_node_ptr subchild = CreateNode(child2.get(), "subsubdir"); in TEST_F()
253 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
254 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
262 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
263 unique_node_ptr child0 = CreateNode(parent.get(), "subdir", 0 /* transforms */); in TEST_F()
264 unique_node_ptr child1 = CreateNode(parent.get(), "subdir", 1 /* transforms */); in TEST_F()
278 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
292 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
293 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
300 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
301 unique_node_ptr child0 = CreateNode(parent.get(), "subdir", 0 /* transforms */); in TEST_F()
302 unique_node_ptr child1 = CreateNode(parent.get(), "subdir", 1 /* transforms */); in TEST_F()
314 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
315 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
325 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
326 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
327 unique_node_ptr child2 = CreateNode(parent.get(), "subdir2"); in TEST_F()
328 unique_node_ptr subchild = CreateNode(child2.get(), "subsubdir"); in TEST_F()
350 unique_node_ptr node = CreateNode(nullptr, "/path"); in TEST_F()
371 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
372 unique_node_ptr mixed_child = CreateNode(parent.get(), "cHiLd"); in TEST_F()
382 unique_node_ptr parent = CreateNode(nullptr, "/path1"); in TEST_F()
383 unique_node_ptr child = CreateNode(parent.get(), "subdir"); in TEST_F()
395 unique_node_ptr root = CreateNode(nullptr, "/root"); in TEST_F()
405 unique_node_ptr node_a = CreateNode(nullptr, "a"); in TEST_F()
406 unique_node_ptr node_b = CreateNode(nullptr, "B"); in TEST_F()
407 unique_node_ptr node_c = CreateNode(nullptr, "c"); in TEST_F()
431 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
432 unique_node_ptr foo1 = CreateNode(parent.get(), "FoO"); in TEST_F()
433 unique_node_ptr foo2 = CreateNode(parent.get(), "fOo"); in TEST_F()
434 unique_node_ptr bar1 = CreateNode(parent.get(), "BAR"); in TEST_F()
435 unique_node_ptr bar2 = CreateNode(parent.get(), "bar"); in TEST_F()
436 unique_node_ptr baz1 = CreateNode(parent.get(), "baZ"); in TEST_F()
437 unique_node_ptr baz2 = CreateNode(parent.get(), "Baz"); in TEST_F()
457 unique_node_ptr parent = CreateNode(nullptr, "/path"); in TEST_F()
458 unique_node_ptr foo1 = CreateNode(parent.get(), "FoO"); in TEST_F()
459 unique_node_ptr foo2 = CreateNode(parent.get(), "fOo"); in TEST_F()
460 unique_node_ptr foo3 = CreateNode(parent.get(), "foo"); in TEST_F()