OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/bookmarks/bookmark_model_test_utils.h" | 5 #include "chrome/browser/bookmarks/bookmark_model_test_utils.h" |
6 | 6 |
7 #include "chrome/browser/bookmarks/bookmark_model.h" | 7 #include "chrome/browser/bookmarks/bookmark_model.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 // static | 10 // static |
(...skipping 21 matching lines...) Expand all Loading... |
32 // static | 32 // static |
33 void BookmarkModelTestUtils::AssertModelsEqual(BookmarkModel* expected, | 33 void BookmarkModelTestUtils::AssertModelsEqual(BookmarkModel* expected, |
34 BookmarkModel* actual, | 34 BookmarkModel* actual, |
35 bool check_ids) { | 35 bool check_ids) { |
36 AssertNodesEqual(expected->GetBookmarkBarNode(), | 36 AssertNodesEqual(expected->GetBookmarkBarNode(), |
37 actual->GetBookmarkBarNode(), | 37 actual->GetBookmarkBarNode(), |
38 check_ids); | 38 check_ids); |
39 AssertNodesEqual(expected->other_node(), | 39 AssertNodesEqual(expected->other_node(), |
40 actual->other_node(), | 40 actual->other_node(), |
41 check_ids); | 41 check_ids); |
| 42 AssertNodesEqual(expected->synced_node(), |
| 43 actual->synced_node(), |
| 44 check_ids); |
42 } | 45 } |
43 | |
OLD | NEW |