| Index: chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java
|
| diff --git a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java
|
| index 327ece2474aff20ca9ed3caf6ac6dd9e89ff31f5..9ec8505bbeb496b39695276cc24a89eb7df415f5 100644
|
| --- a/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java
|
| +++ b/chrome/android/junit/src/org/chromium/chrome/browser/ntp/cards/NewTabPageAdapterTest.java
|
| @@ -73,7 +73,7 @@ public class NewTabPageAdapterTest {
|
|
|
| // The adapter should ignore any new incoming data.
|
| mSnippetsObserver.onSnippetsReceived(Arrays.asList(new SnippetArticle[] {
|
| - new SnippetArticle("foo", "title1", "pub1", "txt1", "foo", "bar", null, 0, 0)}));
|
| + new SnippetArticle("foo", "title1", "pub1", "txt1", "foo", "bar", null, 0, 0, 0)}));
|
| assertEquals(loadedItems, ntpa.getItemsForTesting());
|
| }
|
|
|
| @@ -104,7 +104,7 @@ public class NewTabPageAdapterTest {
|
|
|
| // The adapter should ignore any new incoming data.
|
| mSnippetsObserver.onSnippetsReceived(Arrays.asList(new SnippetArticle[] {
|
| - new SnippetArticle("foo", "title1", "pub1", "txt1", "foo", "bar", null, 0, 0)}));
|
| + new SnippetArticle("foo", "title1", "pub1", "txt1", "foo", "bar", null, 0, 0, 0)}));
|
| assertEquals(loadedItems, ntpa.getItemsForTesting());
|
| }
|
|
|
| @@ -134,10 +134,10 @@ public class NewTabPageAdapterTest {
|
| private List<SnippetArticle> createDummySnippets() {
|
| return Arrays.asList(new SnippetArticle[] {
|
| new SnippetArticle("https://site.com/url1", "title1", "pub1", "txt1",
|
| - "https://site.com/url1", "https://amp.site.com/url1", null, 0, 0),
|
| + "https://site.com/url1", "https://amp.site.com/url1", null, 0, 0, 0),
|
| new SnippetArticle("https://site.com/url2", "title2", "pub2", "txt2",
|
| - "https://site.com/url2", "https://amp.site.com/url1", null, 0, 0),
|
| + "https://site.com/url2", "https://amp.site.com/url1", null, 0, 0, 0),
|
| new SnippetArticle("https://site.com/url3", "title3", "pub3", "txt3",
|
| - "https://site.com/url3", "https://amp.site.com/url1", null, 0, 0)});
|
| + "https://site.com/url3", "https://amp.site.com/url1", null, 0, 0, 0)});
|
| }
|
| }
|
|
|