reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
133 List.clearAndLeakNodesUnsafely(); 134 EXPECT_EQ(0u, List.size()); 137 ilist<Node>::iterator E = List.end(); 138 List.clearAndLeakNodesUnsafely(); 139 EXPECT_EQ(0u, List.size()); 141 EXPECT_TRUE(E == List.end()); 144 List.push_back(new Node(1)); 145 ASSERT_EQ(1u, List.size()); 146 Node *N = &*List.begin(); 148 List.clearAndLeakNodesUnsafely(); 149 EXPECT_EQ(0u, List.size()); 154 List.push_back(new Node(5)); 155 List.push_back(new Node(6)); 156 ASSERT_EQ(2u, List.size()); 157 EXPECT_EQ(5, List.front().Value); 158 EXPECT_EQ(6, List.back().Value);