<NME> CGeoTestCase.java
<BEF> package cgeo;

import cgeo.geocaching.CgeoApplication;
import cgeo.geocaching.enumerations.LoadFlags;
import cgeo.geocaching.enumerations.LoadFlags.RemoveFlag;
import cgeo.geocaching.models.Geocache;
import cgeo.geocaching.storage.DataStore;

import android.test.ApplicationTestCase;

import java.util.EnumSet;

public abstract class CGeoTestCase extends ApplicationTestCase<CgeoApplication> {

    public CGeoTestCase() {
        super(CgeoApplication.class);
    }

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        createApplication();
    }

    /** Remove cache from DB and cache to ensure that the cache is not loaded from the database */
    /**
     * Remove cache from DB and cache to ensure that the cache is not loaded from the database
     */
    protected static void deleteCacheFromDB(final String geocode) {
        DataStore.removeCache(geocode, LoadFlags.REMOVE_ALL);
    }

    /**
     * remove cache from database and file system
     */
    protected static void removeCacheCompletely(final String geocode) {
        final EnumSet<RemoveFlag> flags = EnumSet.copyOf(LoadFlags.REMOVE_ALL);
        flags.add(RemoveFlag.OWN_WAYPOINTS_ONLY_FOR_TESTING);
        DataStore.removeCache(geocode, flags);
    }

    /**
     * Remove completely the previous instance of a cache, then save this object into the database
     * and the cache cache.
     *
     * @param cache the fresh cache to save
     */
    protected static void saveFreshCacheToDB(final Geocache cache) {
        removeCacheCompletely(cache.getGeocode());
        DataStore.saveCache(cache, LoadFlags.SAVE_ALL);
    }

}

<MSG> update LeakCanary dependency

- from 1.5.4 to 1.6.3
- remove call "createApplication();" from CGeoTestCase.setUp()
  reason:
	java.lang.UnsupportedOperationException: buildAndInstall() should only be called once.
	at com.squareup.leakcanary.AndroidRefWatcherBuilder.buildAndInstall(AndroidRefWatcherBuilder.java:89)
	at com.squareup.leakcanary.LeakCanary.install(LeakCanary.java:43)
	at cgeo.geocaching.CgeoApplication.onCreate(CgeoApplication.java:52)
	at android.test.ApplicationTestCase.createApplication(ApplicationTestCase.java:126)
	at cgeo.CGeoTestCase.setUp(CGeoTestCase.java:22)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:115)

<DFF> @@ -19,7 +19,6 @@ public abstract class CGeoTestCase extends ApplicationTestCase<CgeoApplication>
     @Override
     protected void setUp() throws Exception {
         super.setUp();
-        createApplication();
     }
 
     /** Remove cache from DB and cache to ensure that the cache is not loaded from the database */

update LeakCanary dependency