diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-02-03 13:53:48 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-02-03 13:53:48 +0100 |
| commit | b53b6303ae321276d8c25d6a492372ac615580a2 (patch) | |
| tree | e756bbd1ac81d7117bfadde5c53bb8d5b72d9a85 /tests/src/cgeo/geocaching/cgDataTest.java | |
| parent | 56106aba18200cd87bc4a51858bdf1125fe913af (diff) | |
| download | cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.zip cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.tar.gz cgeo-b53b6303ae321276d8c25d6a492372ac615580a2.tar.bz2 | |
Refactoring: rename cgCache into Geocache
Diffstat (limited to 'tests/src/cgeo/geocaching/cgDataTest.java')
| -rw-r--r-- | tests/src/cgeo/geocaching/cgDataTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/src/cgeo/geocaching/cgDataTest.java b/tests/src/cgeo/geocaching/cgDataTest.java index 1c8a0e0..2d3775d 100644 --- a/tests/src/cgeo/geocaching/cgDataTest.java +++ b/tests/src/cgeo/geocaching/cgDataTest.java @@ -22,9 +22,9 @@ public class cgDataTest extends CGeoTestCase { int listId2 = StoredList.STANDARD_LIST_ID; // create caches - final cgCache cache1 = new cgCache(); + final Geocache cache1 = new Geocache(); cache1.setGeocode("Cache 1"); - final cgCache cache2 = new cgCache(); + final Geocache cache2 = new Geocache(); cache2.setGeocode("Cache 2"); assertNotNull(cache2); @@ -104,7 +104,7 @@ public class cgDataTest extends CGeoTestCase { final String GEOCODE_CACHE = "TEST"; // create cache and trackable - final cgCache cache = new cgCache(); + final Geocache cache = new Geocache(); cache.setGeocode(GEOCODE_CACHE); cache.setDetailed(true); final Trackable trackable = new Trackable(); @@ -115,7 +115,7 @@ public class cgDataTest extends CGeoTestCase { try { cgData.saveCache(cache, EnumSet.of(SaveFlag.SAVE_DB)); - final cgCache loadedCache = cgData.loadCache(GEOCODE_CACHE, LoadFlags.LOAD_ALL_DB_ONLY); + final Geocache loadedCache = cgData.loadCache(GEOCODE_CACHE, LoadFlags.LOAD_ALL_DB_ONLY); assertNotNull("Cache was not saved!", loadedCache); assertEquals(1, loadedCache.getInventory().size()); } finally { |
