| Index: chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java
|
| index 3115c73e4593f0cfe8557c5fa90b078b20a986bd..acec9af592b94de83c13d4ce4993c71f256e79d6 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/util/HashUtilTest.java
|
| @@ -5,20 +5,25 @@
|
| package org.chromium.chrome.browser.util;
|
|
|
| import android.support.test.filters.SmallTest;
|
| -import android.test.InstrumentationTestCase;
|
|
|
| -import org.chromium.base.test.util.Feature;
|
| +import org.junit.Assert;
|
| +import org.junit.Test;
|
| +import org.junit.runner.RunWith;
|
|
|
| -public class HashUtilTest extends InstrumentationTestCase {
|
| +import org.chromium.base.test.util.Feature;
|
| +import org.chromium.chrome.test.ChromeJUnit4ClassRunner;
|
|
|
| +@RunWith(ChromeJUnit4ClassRunner.class)
|
| +public class HashUtilTest {
|
| + @Test
|
| @SmallTest
|
| @Feature({"Sync", "Omaha"})
|
| public void testMd5HashGivesCorrectString() {
|
| - assertEquals("8e8cd7e8797678284984aa304e779ba5",
|
| + Assert.assertEquals("8e8cd7e8797678284984aa304e779ba5",
|
| HashUtil.getMd5Hash(new HashUtil.Params("Chrome for Android")));
|
| // WARNING: The expected value for this must NEVER EVER change. Ever.
|
| // See http://crbug.com/179565.
|
| - assertEquals("6aa987da27016dade54b24ff5b846111",
|
| + Assert.assertEquals("6aa987da27016dade54b24ff5b846111",
|
| HashUtil.getMd5Hash(new HashUtil.Params("Chrome for Android").withSalt("mySalt")));
|
| }
|
| }
|
|
|