Chromium Code Reviews

Side by Side Diff: chrome/browser/importer/toolbar_importer_unittest.cc

Issue 219021: Removing suppressions that have not triggered in the last 100 runs. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | chrome/browser/tab_restore_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "chrome/browser/importer/importer.h" 10 #include "chrome/browser/importer/importer.h"
11 #include "chrome/browser/importer/toolbar_importer.h" 11 #include "chrome/browser/importer/toolbar_importer.h"
12 #include "chrome/common/libxml_utils.h" 12 #include "chrome/common/libxml_utils.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 14
15 // See http://crbug.com/11838
15 TEST(Toolbar5ImporterTest, DISABLED_BookmarkParse) { 16 TEST(Toolbar5ImporterTest, DISABLED_BookmarkParse) {
16 #if 0 // Compile breaks if you remove this and leave the test disabled 17 #if 0 // Compile breaks if you remove this and leave the test disabled
17 static const wchar_t* kTitle = L"MyTitle"; 18 static const wchar_t* kTitle = L"MyTitle";
18 static const char* kUrl = "http://www.google.com/"; 19 static const char* kUrl = "http://www.google.com/";
19 static const wchar_t* kFolder = L"Google"; 20 static const wchar_t* kFolder = L"Google";
20 static const wchar_t* kFolder2 = L"Homepage"; 21 static const wchar_t* kFolder2 = L"Homepage";
21 static const wchar_t* kFolderArray[3] = {L"Google", L"Search", L"Page"}; 22 static const wchar_t* kFolderArray[3] = {L"Google", L"Search", L"Page"};
22 23
23 static const wchar_t* kOtherTitle = L"MyOtherTitle"; 24 static const wchar_t* kOtherTitle = L"MyOtherTitle";
24 static const char* kOtherUrl = "http://www.google.com/mail"; 25 static const char* kOtherUrl = "http://www.google.com/mail";
(...skipping 435 matching lines...)
460 461
461 // Test case 13 tests when a bookmark has no <labels> section. 462 // Test case 13 tests when a bookmark has no <labels> section.
462 bookmark_xml = toolbar_importer_unittest::kBadBookmarkNoLabels; 463 bookmark_xml = toolbar_importer_unittest::kBadBookmarkNoLabels;
463 bookmarks.clear(); 464 bookmarks.clear();
464 XmlReader reader13; 465 XmlReader reader13;
465 EXPECT_TRUE(reader13.Load(bookmark_xml)); 466 EXPECT_TRUE(reader13.Load(bookmark_xml));
466 EXPECT_FALSE(Toolbar5Importer::ParseBookmarksFromReader(&reader13, 467 EXPECT_FALSE(Toolbar5Importer::ParseBookmarksFromReader(&reader13,
467 &bookmarks)); 468 &bookmarks));
468 #endif 469 #endif
469 } 470 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_restore_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine