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

Side by Side Diff: content/public/android/javatests/src/org/chromium/content/browser/ImportantFileWriterAndroidTest.java

Issue 2247143004: Remove app context init from LibraryLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix per review. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.test.suitebuilder.annotation.SmallTest; 7 import android.test.suitebuilder.annotation.SmallTest;
8 8
9 import org.chromium.base.ImportantFileWriterAndroid; 9 import org.chromium.base.ImportantFileWriterAndroid;
10 import org.chromium.base.test.util.Feature; 10 import org.chromium.base.test.util.Feature;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 ImportantFileWriterAndroid.writeFileAtomically( 71 ImportantFileWriterAndroid.writeFileAtomically(
72 testFile.getAbsolutePath(), data2)); 72 testFile.getAbsolutePath(), data2));
73 checkFile(testFile, data2); 73 checkFile(testFile, data2);
74 74
75 // Done, tidy up 75 // Done, tidy up
76 assertTrue(testFile.delete()); 76 assertTrue(testFile.delete());
77 } 77 }
78 78
79 @Override 79 @Override
80 public void setUp() throws Exception { 80 public void setUp() throws Exception {
81 super.setUp();
81 loadNativeLibraryNoBrowserProcess(); 82 loadNativeLibraryNoBrowserProcess();
82 } 83 }
83 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698