mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-22 14:50:24 -04:00
Get rid of Log.d calls in src/main
Also, Log.d in tests don't make much sense - replace by Log.i. This way it's easier to limit all Log.d calls to Utils.java.
This commit is contained in:
@@ -160,7 +160,7 @@ public class MultiRepoUpdaterTest extends InstrumentationTestCase {
|
||||
* repository indeed contains the apks that it said it would provide.
|
||||
*/
|
||||
private void assertExpected() {
|
||||
Log.d(TAG, "Asserting all versions of each .apk are in index.");
|
||||
Log.i(TAG, "Asserting all versions of each .apk are in index.");
|
||||
List<Repo> repos = RepoProvider.Helper.all(context);
|
||||
assertEquals("Repos", 3, repos.size());
|
||||
|
||||
@@ -173,7 +173,7 @@ public class MultiRepoUpdaterTest extends InstrumentationTestCase {
|
||||
*
|
||||
*/
|
||||
private void assertSomewhatAcceptable() {
|
||||
Log.d(TAG, "Asserting at least one versions of each .apk is in index.");
|
||||
Log.i(TAG, "Asserting at least one versions of each .apk is in index.");
|
||||
List<Repo> repos = RepoProvider.Helper.all(context);
|
||||
assertEquals("Repos", 3, repos.size());
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ public class TestUtils {
|
||||
OutputStream output = null;
|
||||
try {
|
||||
tempFile = File.createTempFile(assetName + "-", ".testasset", directory);
|
||||
Log.d(TAG, "Copying asset file " + assetName + " to directory " + directory);
|
||||
Log.i(TAG, "Copying asset file " + assetName + " to directory " + directory);
|
||||
input = context.getAssets().open(assetName);
|
||||
output = new FileOutputStream(tempFile);
|
||||
Utils.copy(input, output);
|
||||
|
||||
Reference in New Issue
Block a user