Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java

Issue 2810863003: Android: Remove GetApplicationContext: components/ (Closed)
Patch Set: Fix tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java
diff --git a/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java b/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java
index 5cad3a2b1854d7df82923dbf658b044c21ed7c86..5415c9fa1d9d7040a185673c17a57aff8fd07f8f 100644
--- a/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java
+++ b/components/variations/android/junit/src/org/chromium/components/variations/firstrun/VariationsSeedFetcherTest.java
@@ -116,7 +116,7 @@ public class VariationsSeedFetcherTest {
mFetcher.fetchSeed("");
assertTrue(mPrefs.getBoolean(VariationsSeedFetcher.VARIATIONS_INITIALIZED_PREF, false));
- assertFalse(VariationsSeedBridge.hasJavaPref(ContextUtils.getApplicationContext()));
+ assertFalse(VariationsSeedBridge.hasJavaPref());
}
/**
@@ -129,6 +129,6 @@ public class VariationsSeedFetcherTest {
mFetcher.fetchSeed("");
assertTrue(mPrefs.getBoolean(VariationsSeedFetcher.VARIATIONS_INITIALIZED_PREF, false));
- assertFalse(VariationsSeedBridge.hasJavaPref(ContextUtils.getApplicationContext()));
+ assertFalse(VariationsSeedBridge.hasJavaPref());
}
}

Powered by Google App Engine
This is Rietveld 408576698