aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix #821: import timestamps with 7 digits in seconds fractionBananeweizen2011-11-211-0/+11
| |
* | refactoring: more FindBugs issuesBananeweizen2011-11-206-22/+24
| |
* | refactoring: cgBase no longer instantiatedBananeweizen2011-11-191-15/+10
| |
* | don't use regular expressions for String replacementBananeweizen2011-11-191-0/+13
|/ | | | | * prefer StringUtils.replace over String.replaceAll * have new test to verify this change * remove cgBase instance from LogTemplates
* Enabled (and fixed) (more) warningsblafoo2011-11-186-2/+6
|
* Additional test casesblafoo2011-11-172-72/+116
|
* Removed unused import leading to a warningblafoo2011-11-171-1/+0
|
* Adjustment of test because it fails on Transformer EeePadblafoo2011-11-171-1/+1
|
* Mark methods as static when possibleSamuel Tardieu2011-11-167-11/+11
|
* support import of PQs that include PQ name in download zip file nameStephan Merker2011-11-142-0/+10
| | | | | | | | zip name format: 1234567_query.zip contains: - 1234567_query.gpx - 1234567_query-wpts.gpx PQ number has at least 7 digits.
* import zipped GPX files (as send by pocket queries)Stephan Merker2011-11-132-12/+65
| | | | - accepts zip files named like 123467.zip - imports cache and waypoint files contained in zip
* Merge remote branch 'stephanme/importwpt'Bananeweizen2011-11-133-9/+19
|\ | | | | | | | | | | | | Conflicts: tests/src/cgeo/geocaching/files/GPXImporterTest.java tests/src/cgeo/geocaching/files/GPXParserTest.java tests/src/cgeo/geocaching/files/LocParserTest.java
| * new: cancel GPX import with back buttonStephan Merker2011-11-093-7/+19
| |
* | don't accept geocodes starting with special characterBananeweizen2011-11-121-0/+1
| |
* | refactoring of cgImage, cgeoimages activityBananeweizen2011-11-121-8/+9
| | | | | | | | | | | | * no more public fields, use constructor instead * allow null values for fields * image activity startup moved to activity for better encapsulation of fields
* | more unit testsbananeweizen2011-11-1112-51/+143
|/ | | | | | | * tests for enumerations * initial OKAPI client and connector factory test * refactored enum lookups to disallow null values * refactored resource based tests to have one class for reading test resources
* Accept any coordinate when creating a GeopointSamuel Tardieu2011-11-091-24/+1
| | | | | | | Google maps may return coordinates outside of our comfort zone. Also, we need to deal with viewports encompassing the 180° meridian. This fixes #771.
* Remove useless conversionsSamuel Tardieu2011-11-091-1/+1
|
* Merge branch 'release' into upstreamSamuel Tardieu2011-11-089-584/+1285
|\ | | | | | | | | Conflicts: tests/src/cgeo/geocaching/cgeoApplicationTest.java
| * Fixed regex due to GC.com updateblafoo2011-11-089-584/+1286
| | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/GCConstants.java + fix for ../tests/src/cgeo/geocaching/cgeoApplicationTest.java
* | More deterministic wait for handler completion in testSamuel Tardieu2011-11-071-3/+24
| | | | | | | | | | | | The test will consider that the handler has received all its messages if nothing happen during 200 milliseconds or if 10 messages have been received (in case there is a messages storm).
* | Make cgBase a singletonSamuel Tardieu2011-11-071-1/+1
| | | | | | | | | | This avoids reinitializing the object (which needs a context to get localized strings) at every launch of a list or map activity.
* | Get rid of deprecated methods related to coordinatesSamuel Tardieu2011-11-073-7/+7
| |
* | Partial merge of branch stephanme/c-geo-opensource into upstreamSamuel Tardieu2011-11-071-3/+3
|\ \ | | | | | | | | | | | | Conflicts: - main/res/values-fr/strings.xml
| * | fixed deprecation warningsStephan Merker2011-11-051-3/+3
| | |
* | | Fix #646: caches can not be watched if imported by GPXSammysHP2011-11-051-2/+6
|/ / | | | | Part of it: Add a method to convert the geocode to the id with a base31-conversion (with Groundspeak-alphabet).
* | fix GPX import: state field can be emptyBananeweizen2011-11-051-2/+7
| |
* | fix unit test (TB at user)Bananeweizen2011-11-051-1/+1
| |
* | refactoring for #310bananeweizen2011-11-042-161/+170
| | | | | | | | | | | | * split import into 2 activies (files and mails) * move non activity stuff into new class * split tests accordingly * fix manifest
* | new: import caches from unknown source, fixes #720Bananeweizen2011-11-011-6/+20
| |
* | Merge remote branch 'stephanme/importwpt'Bananeweizen2011-11-013-80/+225
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/files/GPXParser.java main/src/cgeo/geocaching/files/LocParser.java tests/src/cgeo/geocaching/files/LocParserTest.java
| * | fix #714: Progress bar wrong when importing gpx with waypointsStephan Merker2011-10-303-87/+111
| | | | | | | | | | | | | | | | | | | | | - moved file handling from GPXParser to cgeopgxes - streamlined LocParser with GPXParser - removed cache counting in favor of progress bar - added error dialog if import went wrong - fixed stream handling when importing attachement
| * | Added tests for importing GPX and LOC filesStephan Merker2011-10-301-3/+124
| | | | | | | | | | | | - refactored import classes in cgeogpxes so that they can be tested
* | | Updated testSearchTrackable to make it more robustblafoo2011-10-301-5/+8
| | |
* | | No direct access to fieldsblafoo2011-10-2610-77/+75
|/ /
* | Use a cancellable handler when loading, storing and refreshing cachesSamuel Tardieu2011-10-241-1/+1
| | | | | | | | This closes #685.
* | Do not use an extra indirection for storing search resultsSamuel Tardieu2011-10-241-3/+2
|/ | | | | | | | | | What is called search result (or cgSearch) in c:geo is a collection of caches that can or cannot come from a real search. Remove the indirection and the ever-growing hash map that was previously used. This will save memory, especially when using live maps. See discussion in issue #707.
* fix #369: waypoints sorted wronglyBananeweizen2011-10-232-21/+33
|
* trackables goal and release date not correctly parsed, fixes #704Bananeweizen2011-10-231-0/+13
|
* no more warnings in unit testsBananeweizen2011-10-223-10/+10
| | | | * log performance results as info only * avoid some BufferedReader warnings
* performance: use StringEscapeUtils instead of Androids fromHTMLBananeweizen2011-10-221-0/+61
|
* Split cache loading in offline + online modesSamuel Tardieu2011-10-222-5/+5
| | | | | Also, add a new "loading elevation data" step in progress dialog. This closes #701.
* make terrain parsing more fault tolerant and update test caseBananeweizen2011-10-221-94/+142
| | | | * will now work with future changes of GC in the string numbers * avoids warning in unit tests
* #671, cache normalized name for sortingBananeweizen2011-10-192-1/+10
|
* Use static declarations and static accesses when possibleSamuel Tardieu2011-10-181-4/+4
|
* Make Progress a regular classSamuel Tardieu2011-10-181-7/+9
| | | | Part of fix for #670.
* fix #678: handle special characters in user nameBananeweizen2011-10-183-19/+42
| | | | | | | * bad side effect of performance optimizations in parsing, reverted that * refactored parseCache to be static (to be able to write a test) * moved some map initializations to static code (to allow unit test without app) * fixed missing trim for owner name
* #310, import GPX from mailBananeweizen2011-10-161-1/+1
| | | | | | * tested with Gmail only, not with other mail clients * uses the GPX activity, so you will see the GPX files of your SD card in the background * some refactorings and cleanups in GPX parser
* support cache type "unknown", fixes #518Bananeweizen2011-10-164-5/+9
| | | | * refactored many places to reference the cache type enum * special icon for "unknown" still missing
* Merge remote branch 'blafoo/regex2'Bananeweizen2011-10-158-138/+2256
|\ | | | | | | | | | | | | | | | | Conflicts: main/src/cgeo/geocaching/cgBase.java reapplied: 13206cb835eb22aa49b198b892dcd7cf71f4ac82 c5d43adaa9db1db877ea084551db74faa048a7e1