Lines Matching refs:GetRoot
80 EXPECT_EQ(32, cookies_model->GetRoot()->GetTotalNodeCount());
170 cookies_model->GetRoot());
262 EXPECT_EQ(1, cookies_model->GetRoot()->GetTotalNodeCount());
263 EXPECT_EQ(0, cookies_model->GetRoot()->child_count());
279 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(0));
291 EXPECT_EQ(29, cookies_model->GetRoot()->GetTotalNodeCount());
294 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(2));
306 EXPECT_EQ(26, cookies_model->GetRoot()->GetTotalNodeCount());
309 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3));
321 EXPECT_EQ(21, cookies_model->GetRoot()->GetTotalNodeCount());
324 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(4));
336 EXPECT_EQ(18, cookies_model->GetRoot()->GetTotalNodeCount());
345 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(0)->GetChild(0));
358 EXPECT_EQ(30, cookies_model->GetRoot()->GetTotalNodeCount());
368 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3)->GetChild(0));
380 GetRoot()->GetTotalNodeCount());
383 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(5)->GetChild(0));
395 EXPECT_EQ(26, cookies_model->GetRoot()->GetTotalNodeCount());
404 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(1)->GetChild(0));
426 EXPECT_EQ(30, cookies_model->GetRoot()->GetTotalNodeCount());
429 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3)->GetChild(0));
441 EXPECT_EQ(28, cookies_model->GetRoot()->GetTotalNodeCount());
444 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(5)->GetChild(0));
456 EXPECT_EQ(26, cookies_model->GetRoot()->GetTotalNodeCount());
494 EXPECT_EQ(33, cookies_model.GetRoot()->GetTotalNodeCount());
505 DeleteStoredObjects(cookies_model.GetRoot()->GetChild(2));
517 EXPECT_EQ(29, cookies_model.GetRoot()->GetTotalNodeCount());
556 EXPECT_EQ(34, cookies_model.GetRoot()->GetTotalNodeCount());
567 DeleteStoredObjects(cookies_model.GetRoot()->GetChild(2)->GetChild(0)->
573 EXPECT_EQ(33, cookies_model.GetRoot()->GetTotalNodeCount());
602 EXPECT_EQ(12, cookies_model.GetRoot()->GetTotalNodeCount());
606 DeleteStoredObjects(cookies_model.GetRoot()->GetChild(1));
612 EXPECT_EQ(9, cookies_model.GetRoot()->GetTotalNodeCount());
644 DeleteStoredObjects(cookies_model.GetRoot()->GetChild(1)); // Delete "E"
671 static_cast<CookieTreeRootNode*>(cookies_model.GetRoot());