| Index: chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
|
| index 4c37b57d8f423f13d208e179dcbcd71746e001bf..ff43b875678ce77eefc307b4c24b6e77b8896f16 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ntp/snippets/ArticleSnippetsTest.java
|
| @@ -136,8 +136,7 @@ private void setupTestData() {
|
| "Preview Text",
|
| "www.google.com",
|
| 1466614774, // Timestamp
|
| - 10f, // Score
|
| - 0); // Position
|
| + 10f); // Score
|
| shortSnippet.setThumbnailBitmap(BitmapFactory.decodeResource(getActivity().getResources(),
|
| R.drawable.signin_promo_illustration));
|
|
|
| @@ -149,8 +148,7 @@ private void setupTestData() {
|
| new String(new char[80]).replace("\0", "Preview Text "),
|
| "www.google.com",
|
| 1466614074, // Timestamp
|
| - 20f, // Score
|
| - 1); // Position
|
| + 20f); // Score
|
|
|
| SnippetArticle minimalSnippet = new SnippetArticle(
|
| minimalCategory,
|
| @@ -160,8 +158,7 @@ private void setupTestData() {
|
| "This should not be displayed",
|
| "www.google.com",
|
| 1466614774, // Timestamp
|
| - 10f, // Score
|
| - 0); // Position
|
| + 10f); // Score
|
|
|
| SnippetArticle minimalSnippet2 = new SnippetArticle(
|
| minimalCategory,
|
| @@ -171,8 +168,7 @@ private void setupTestData() {
|
| "This should not be displayed",
|
| "www.google.com",
|
| 1466614774, // Timestamp
|
| - 10f, // Score
|
| - 0); // Position
|
| + 10f); // Score
|
|
|
| mSnippetsSource.setInfoForCategory(
|
| fullCategory, new SuggestionsCategoryInfo(fullCategory, "Section Title",
|
|
|