/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_editor_view_unittest.cc | 139 BookmarkEditorView::EditorNode* bb_node = editor_root->GetChild(0); in TEST_F() 142 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 143 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle()); in TEST_F() 146 ASSERT_EQ(1, bb_node->GetChild(0)->child_count()); in TEST_F() 147 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle()); in TEST_F() 149 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); in TEST_F() 152 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle()); in TEST_F() 161 ApplyEdits(editor_tree_model()->GetRoot()->GetChild(0)); in TEST_F() 165 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 167 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); in TEST_F() [all …]
|
D | bookmark_context_menu_test.cc | 113 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 116 GURL url = model_->GetBookmarkBarNode()->GetChild(0)->GetURL(); in TEST_F() 126 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); in TEST_F() 132 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); in TEST_F() 156 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 174 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 175 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(1)->GetChild(0)); in TEST_F() 193 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(2)); in TEST_F() 212 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(2)); in TEST_F() 213 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(3)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_editor_view_unittest.cc | 166 BookmarkEditorView::EditorNode* bb_node = editor_root->GetChild(0); in TEST_F() 169 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 170 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle()); in TEST_F() 173 ASSERT_EQ(1, bb_node->GetChild(0)->child_count()); in TEST_F() 174 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle()); in TEST_F() 176 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); in TEST_F() 179 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle()); in TEST_F() 189 ApplyEdits(editor_tree_model()->GetRoot()->GetChild(0)); in TEST_F() 193 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 195 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->url()); in TEST_F() [all …]
|
D | bookmark_context_menu_test.cc | 116 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 119 GURL url = model_->bookmark_bar_node()->GetChild(0)->url(); in TEST_F() 129 const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); in TEST_F() 134 ASSERT_TRUE(folder->GetChild(0)->url() == navigator_.urls_[0]); in TEST_F() 139 const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); in TEST_F() 144 ASSERT_TRUE(folder->GetChild(0)->url() == navigator_.urls_[0]); in TEST_F() 168 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 186 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 187 nodes.push_back(model_->bookmark_bar_node()->GetChild(1)->GetChild(0)); in TEST_F() 205 nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/undo/ |
D | bookmark_undo_service_test.cc | 69 const BookmarkNode* node = parent->GetChild(0); in TEST_F() 90 const BookmarkNode* node = parent->GetChild(0); in TEST_F() 127 const BookmarkNode* node = model->other_node()->GetChild(0); in TEST_F() 134 node = model->other_node()->GetChild(0); in TEST_F() 164 EXPECT_EQ(model->other_node()->GetChild(0), n1); in TEST_F() 165 EXPECT_EQ(model->other_node()->GetChild(1), n2); in TEST_F() 166 EXPECT_EQ(model->other_node()->GetChild(2), n3); in TEST_F() 170 EXPECT_EQ(model->other_node()->GetChild(0), n2); in TEST_F() 171 EXPECT_EQ(model->other_node()->GetChild(1), n3); in TEST_F() 172 EXPECT_EQ(model->other_node()->GetChild(2), n1); in TEST_F() [all …]
|
/external/chromium_org/net/spdy/ |
D | spdy_priority_forest_test.cc | 79 EXPECT_EQ(7u, forest.GetChild(5)); in TEST() 81 EXPECT_EQ(0u, forest.GetChild(5)); in TEST() 83 EXPECT_EQ(7u, forest.GetChild(13)); in TEST() 87 EXPECT_EQ(1u, forest.GetChild(9)); in TEST() 92 EXPECT_EQ(2u, forest.GetChild(1)); in TEST() 96 EXPECT_EQ(2u, forest.GetChild(1)); in TEST() 114 EXPECT_EQ(7u, forest.GetChild(5)); in TEST() 119 EXPECT_EQ(9u, forest.GetChild(5)); in TEST() 126 EXPECT_EQ(2u, forest.GetChild(1)); in TEST() 132 EXPECT_EQ(3u, forest.GetChild(1)); in TEST() [all …]
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_context_menu_controller_unittest.cc | 108 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 111 GURL url = model_->GetBookmarkBarNode()->GetChild(0)->GetURL(); in TEST_F() 121 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); in TEST_F() 127 ASSERT_TRUE(folder->GetChild(0)->GetURL() == navigator_.urls_[0]); in TEST_F() 151 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 170 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 171 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(1)->GetChild(0)); in TEST_F() 190 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(2)); in TEST_F() 209 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(2)); in TEST_F() 210 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(3)); in TEST_F() [all …]
|
D | bookmark_model_unittest.cc | 308 EXPECT_EQ(folder1, root->GetChild(0)); in TEST_F() 310 EXPECT_EQ(node, folder1->GetChild(0)); in TEST_F() 331 const BookmarkNode* nodeToCopy = root->GetChild(2); in TEST_F() 332 const BookmarkNode* destination = root->GetChild(1); in TEST_F() 338 const BookmarkNode* folder = root->GetChild(1); in TEST_F() 339 nodeToCopy = folder->GetChild(1); in TEST_F() 345 nodeToCopy = root->GetChild(2); in TEST_F() 346 destination = root->GetChild(4); in TEST_F() 352 folder = root->GetChild(4); in TEST_F() 353 nodeToCopy = folder->GetChild(1); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk_unittest.cc | 149 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 151 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL()); in TEST_F() 170 ASSERT_EQ(ASCIIToUTF16("a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 172 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL()); in TEST_F() 173 ASSERT_TRUE(node_time == bb_node->GetChild(0)->date_added()); in TEST_F() 189 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); in TEST_F() 211 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 212 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->GetURL()); in TEST_F() 213 ASSERT_TRUE(node_time == other_node->GetChild(2)->date_added()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk_unittest.cc | 171 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 173 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->url()); in TEST_F() 191 ASSERT_EQ(ASCIIToUTF16("a"), bb_node->GetChild(0)->GetTitle()); in TEST_F() 193 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->url()); in TEST_F() 194 ASSERT_TRUE(node_time == bb_node->GetChild(0)->date_added()); in TEST_F() 210 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 211 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url()); in TEST_F() 232 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 233 ASSERT_TRUE(GURL(base_path() + "new_a") == other_node->GetChild(2)->url()); in TEST_F() 234 ASSERT_TRUE(node_time == other_node->GetChild(2)->date_added()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_context_menu_controller_unittest.cc | 109 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 112 GURL url = model_->bookmark_bar_node()->GetChild(0)->url(); in TEST_F() 122 const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); in TEST_F() 127 ASSERT_TRUE(folder->GetChild(0)->url() == navigator_.urls_[0]); in TEST_F() 151 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 170 nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); in TEST_F() 171 nodes.push_back(model_->bookmark_bar_node()->GetChild(1)->GetChild(0)); in TEST_F() 190 nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); in TEST_F() 209 nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); in TEST_F() 210 nodes.push_back(model_->bookmark_bar_node()->GetChild(3)); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_editor_base_controller_unittest.mm | 94 const BookmarkNode* child = root.GetChild(0); 96 const BookmarkNode* subchild = child->GetChild(0); 98 subchild = child->GetChild(1); 100 subchild = child->GetChild(2); 103 child = root.GetChild(1); 105 subchild = child->GetChild(0); 107 const BookmarkNode* subsubchild = subchild->GetChild(0); 109 subchild = child->GetChild(1); 111 subchild = child->GetChild(2); 113 subchild = child->GetChild(3); [all …]
|
D | bookmark_editor_controller_unittest.mm | 54 const BookmarkNode* child = default_parent_->GetChild(0); 63 const BookmarkNode* child = default_parent_->GetChild(0); 74 const BookmarkNode* child = default_parent_->GetChild(0); 83 const BookmarkNode* child = default_parent_->GetChild(0); 304 const BookmarkNode* child = root.GetChild(0); 306 const BookmarkNode* subchild = child->GetChild(0); 308 subchild = child->GetChild(1); 310 subchild = child->GetChild(2); 313 child = root.GetChild(1); 315 subchild = child->GetChild(0); [all …]
|
D | bookmark_name_folder_controller_unittest.mm | 48 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 49 EXPECT_EQ(ASCIIToUTF16("Bozo"), parent->GetChild(0)->GetTitle()); 78 EXPECT_TRUE(parent->GetChild(1)->is_folder()); 79 EXPECT_EQ(ASCIIToUTF16("middle"), parent->GetChild(1)->GetTitle()); 100 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 121 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 144 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 145 EXPECT_EQ(ASCIIToUTF16("Zobo"), parent->GetChild(0)->GetTitle());
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_editor_base_controller_unittest.mm | 108 const BookmarkNode* child = root->GetChild(0); 110 const BookmarkNode* subchild = child->GetChild(0); 112 subchild = child->GetChild(1); 114 subchild = child->GetChild(2); 117 child = root->GetChild(1); 119 subchild = child->GetChild(0); 121 const BookmarkNode* subsubchild = subchild->GetChild(0); 123 subchild = child->GetChild(1); 125 subchild = child->GetChild(2); 127 subchild = child->GetChild(3); [all …]
|
D | bookmark_editor_controller_unittest.mm | 58 const BookmarkNode* child = default_parent_->GetChild(0); 67 const BookmarkNode* child = default_parent_->GetChild(0); 78 const BookmarkNode* child = default_parent_->GetChild(0); 87 const BookmarkNode* child = default_parent_->GetChild(0); 358 const BookmarkNode* child = root->GetChild(0); 360 const BookmarkNode* subchild = child->GetChild(0); 362 subchild = child->GetChild(1); 364 subchild = child->GetChild(2); 367 child = root->GetChild(1); 369 subchild = child->GetChild(0); [all …]
|
D | bookmark_name_folder_controller_unittest.mm | 46 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 47 EXPECT_EQ(ASCIIToUTF16("Bozo"), parent->GetChild(0)->GetTitle()); 75 EXPECT_TRUE(parent->GetChild(1)->is_folder()); 76 EXPECT_EQ(ASCIIToUTF16("middle"), parent->GetChild(1)->GetTitle()); 96 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 116 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 138 EXPECT_TRUE(parent->GetChild(0)->is_folder()); 139 EXPECT_EQ(ASCIIToUTF16("Zobo"), parent->GetChild(0)->GetTitle());
|
/external/chromium/chrome/browser/ |
D | cookies_tree_model_unittest.cc | 112 retval += GetNodesOfChildren(node->GetChild(i), node_type); in GetNodesOfChildren() 279 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(0)); in TEST_F() 294 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(2)); in TEST_F() 309 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3)); in TEST_F() 324 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(4)); in TEST_F() 345 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(0)->GetChild(0)); in TEST_F() 368 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3)->GetChild(0)); in TEST_F() 383 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(5)->GetChild(0)); in TEST_F() 404 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(1)->GetChild(0)); in TEST_F() 429 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(3)->GetChild(0)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/browsing_data/ |
D | cookies_tree_model_unittest.cc | 184 retval += GetNodesOfChildren(node->GetChild(i), node_type); in GetNodesOfChildren() 445 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(16)); in TEST_F() 464 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(15)); in TEST_F() 483 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(14)); in TEST_F() 500 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(13)); in TEST_F() 517 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(12)); in TEST_F() 532 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(11)); in TEST_F() 547 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(10)); in TEST_F() 561 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(9)); in TEST_F() 575 DeleteStoredObjects(cookies_model->GetRoot()->GetChild(8)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | bookmark_codec_unittest.cc | 54 AssertNodesEqual(expected->GetChild(i), actual->GetChild(i)); in AssertNodesEqual() 198 CheckIDs(node->GetChild(i), assigned_ids); in CheckIDs() 348 const BookmarkNode* child = bbn->GetChild(0); in TEST_F() 353 child = child->GetChild(0); in TEST_F() 360 child = other->GetChild(0); in TEST_F() 365 child = child->GetChild(0); in TEST_F() 376 model->SetNodeMetaInfo(model->bookmark_bar_node()->GetChild(0), in TEST_F() 390 const BookmarkNode* child = bbn->GetChild(0); in TEST_F() 401 model->SetNodeSyncTransactionVersion(bbn->GetChild(1), 42); in TEST_F() 411 EXPECT_EQ(42, bbn->GetChild(1)->sync_transaction_version()); in TEST_F() [all …]
|
D | bookmark_model_unittest.cc | 565 EXPECT_EQ(folder1, root->GetChild(0)); in TEST_F() 567 EXPECT_EQ(node, folder1->GetChild(0)); in TEST_F() 604 const BookmarkNode* node_to_copy = root->GetChild(2); in TEST_F() 605 const BookmarkNode* destination = root->GetChild(1); in TEST_F() 611 const BookmarkNode* folder = root->GetChild(1); in TEST_F() 612 node_to_copy = folder->GetChild(1); in TEST_F() 618 node_to_copy = root->GetChild(2); in TEST_F() 619 destination = root->GetChild(4); in TEST_F() 626 folder = root->GetChild(4); in TEST_F() 627 node_to_copy = folder->GetChild(1); in TEST_F() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
D | DebugTreeGrammarHelper.cs | 68 : this( new CommonTreeNodeStream( function.GetChild( 2 ) ), functionDefinitions ) in DebugTreeGrammar() 71 localMemory[function.GetChild( 1 ).Text] = paramValue; in DebugTreeGrammar() 83 if ( f.GetChild( 0 ).Text.Equals( name ) ) in findFunction() 86 CommonTree formalPar = (CommonTree)f.GetChild( 1 ); in findFunction()
|
D | ProfileTreeGrammarHelper.cs | 68 : this( new CommonTreeNodeStream( function.GetChild( 2 ) ), functionDefinitions ) in ProfileTreeGrammar() 71 localMemory[function.GetChild( 1 ).Text] = paramValue; in ProfileTreeGrammar() 83 if ( f.GetChild( 0 ).Text.Equals( name ) ) in findFunction() 86 CommonTree formalPar = (CommonTree)f.GetChild( 1 ); in findFunction()
|
/external/chromium_org/ui/base/models/ |
D | tree_node_iterator_unittest.cc | 36 ASSERT_EQ(root.GetChild(0), iterator.Next()); in TEST() 39 ASSERT_EQ(root.GetChild(1), iterator.Next()); in TEST() 42 ASSERT_EQ(root.GetChild(2), iterator.Next()); in TEST() 48 ASSERT_EQ(f4->GetChild(0), iterator.Next()); in TEST()
|
/external/chromium_org/v8/test/cctest/ |
D | test-cpu-profiler.cc | 454 v8::Handle<v8::String> name = node->GetChild(i)->GetFunctionName(); in CheckChildrenNames() 459 CHECK_NE(name, node->GetChild(j)->GetFunctionName()); in CheckChildrenNames() 471 const v8::CpuProfileNode* child = node->GetChild(i); in FindChild() 478 static const v8::CpuProfileNode* GetChild(v8::Isolate* isolate, in GetChild() function 497 node = GetChild(isolate, node, name); in CheckSimpleBranch() 579 GetChild(env->GetIsolate(), root, "start"); in TEST() 583 GetChild(env->GetIsolate(), startNode, "foo"); in TEST() 657 GetChild(env->GetIsolate(), startNode, "delay"); in TEST() 660 GetChild(env->GetIsolate(), delayNode, "loop"); in TEST() 762 GetChild(env->GetIsolate(), root, "start"); in TEST() [all …]
|