aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/geopoint
Commit message (Collapse)AuthorAgeFilesLines
* rename packageBananeweizen2014-11-026-668/+0
| | | | The package not only contains the GeoPoint definition, but other location related classes, too.
* fix #4359: imperial units checkbox not always correctSamuel Tardieu2014-09-151-3/+3
| | | | | | | | This has been fixed by initializing the key to its default value instead of just the checkbox. Also, better names have been used throughout the settings to reflect the fact that "units" meant "use imperial units". It was used in both ways, including the wrong way while migrating the settings.
* refactoring: reduce package cyclesBananeweizen2014-07-202-2/+2
|
* fix some lint warningsBananeweizen2014-06-111-0/+2
|
* refactoring: more assertj instead of junit assertBananeweizen2014-06-112-2/+2
|
* Fix #3899: Units.getSpeed() returns uncommon stringSammysHP2014-05-231-6/+6
|
* #2414 convert junit statements to assertjMichael Keppler2014-04-226-99/+106
| | | | This conversion is not complete, but the remaining statements are hard to catch with regular expressions automatically.
* Merge branch 'release' into upstreamSamuel Tardieu2014-02-281-1/+1
|\
| * fix #3594: personal note parsing is too looseSamuel Tardieu2014-02-281-1/+1
| |
* | refactoring: remove unused codeBananeweizen2014-01-122-6/+12
| |
* | enable eclipse null analysis on test projectBananeweizen2014-01-121-1/+4
| |
* | refactoring: remove unused codeBananeweizen2014-01-111-10/+0
|/
* fix #3527: bad query stringSamuel Tardieu2014-01-081-2/+12
| | | | | | Let's hope that the bad formatting occurring for, at least, very small negative values in `String.format()` with a `null` Locale will not happen with `StringBuilder.append(double)`.
* fix #3321: No distance calculation and coords if cache is at equatorBananeweizen2013-10-121-0/+15
|
* fix #2867: Multiple distanceBananeweizen2013-08-201-3/+12
| | | * workaround distance calculation for all 4.2.x versions
* Remove elevation handlingSamuel Tardieu2013-07-142-39/+2
| | | | | | | | | | | | | | | Geocaches do not contain useful elevation information. We used to get it using Google API, but the information was not very useful because our handling of altitude was inconsistent. Also, the Google elevation API usage limits states that "the Elevation API may only be used in conjunction with displaying results on a Google map; using elevation data without displaying a map for which elevation data was requested is prohibited". This removes elevation handling completely, except in the settings to avoid getting in the way of the settings rewrite. The elevation related settings should be removed there instead when both works are merged.
* Remove old SettingsActivity, rename new SettingsActivityrsudev2013-07-091-9/+10
|
* Implements #750, use preference activitykoem2013-07-091-14/+14
|
* added test: Make sure we can parse our own geopoint formattingBananeweizen2013-06-111-0/+8
| | | * to assure copy paste being easy
* refactoring: apply android formatter to all XML filesBananeweizen2013-06-022-6/+5
| | | * makes it easier to compare and find duplicate code
* fix #2624: coordinates display is wrong near a confluence pointSamuel Tardieu2013-04-021-0/+11
| | | | | The coordinates need to be rounded differently depending on the precision which will be used for the output.
* code cleanupBananeweizen2013-02-242-17/+17
| | | | | | * rename several lower case classes * more strict visibility modifiers * Lint warnings * style warnings
* fix #2404: Remove spaces when editing coordinatesBananeweizen2013-01-171-4/+13
|
* fix #2389: Parse errors in cgeocoordsBananeweizen2013-01-131-2/+65
|
* fix #1828: Coords conversion to DMS not working correctBananeweizen2012-07-011-0/+20
|
* Merge branch 'issue-1722' into upstreamSamuel Tardieu2012-06-051-81/+65
|\
| * Fix #1722: do not use BigDecimal in computationsSamuel Tardieu2012-06-051-81/+65
| |
* | refactoring: have more physical units code in one placeBananeweizen2012-06-032-41/+103
|/
* Refactoring: keep GeopointParser private to its packageSamuel Tardieu2012-04-211-4/+2
| | | | | | | Geopoint exposes everything GeopointParser can do. By calling a Geopoint constructor instead of a GeopointParser method returning a Geopoint, Eclipse can do more null checks for free (a constuctor can never return a null object).
* Make sure a cgeoapplication is created before testingSamuel Tardieu2012-04-211-3/+2
| | | | | | Some tests are using cgeoapplication without having one already setup, and may be subject to race conditions when accessing the singleton or the Settings.
* Add more tests for getHumanDistance()Samuel Tardieu2012-04-201-7/+30
|
* Refactoring: do not get through an extra Geopoint when not requiredSamuel Tardieu2012-04-201-1/+1
|
* Refactoring: remove unused Viewport constructorSamuel Tardieu2012-04-201-1/+1
|
* Refactoring: move Direction out of GeopointSamuel Tardieu2012-04-201-3/+3
| | | | Directions deserve their own package to make it clearer of who use them.
* Add optional table parameter to Viewport#sqlWhere()Samuel Tardieu2012-04-201-1/+2
|
* refactoring: rest in peace, cgBaseBananeweizen2012-04-181-0/+4
|
* Make Geopoint parcelableSamuel Tardieu2012-04-161-0/+9
|
* Add new Viewport method and builderSamuel Tardieu2012-04-141-0/+27
|
* Refactoring: rename isInViewport() to contains()Samuel Tardieu2012-04-141-5/+5
| | | | This is a better name from the point of a viewport.
* Tests: add tests for ViewportSamuel Tardieu2012-04-121-0/+72
|
* Refactoring: remove int based Geopoint and Viewport constructorsSamuel Tardieu2012-04-121-6/+0
| | | | | Those were source of errors, and have no legitimate reason to be used in our current code base as this changeset shows.
* Implement equals() and hashCode() for GeopointSamuel Tardieu2012-04-112-6/+6
|
* refactoring: code cleanupBananeweizen2012-02-211-0/+19
| | | | | * move human distance code to own class * remove warning suppression * fix several compiler warnings
* Implementation for issue #1120Torsten Keil2012-02-171-0/+180
| | | | | | | - see ticket for more details Conflicts: main/src/cgeo/geocaching/cgeowaypointadd.java
* #936: improve stability, have unit testBananeweizen2012-01-041-1/+11
|
* #922: Deleting of automatic generated waypointsBananeweizen2012-01-011-13/+29
|
* fix #920: WPs created from Personal Notes not correctBananeweizen2011-12-311-3/+12
|
* Additional testcaseblafoo2011-12-061-0/+6
|
* 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.
* No direct access to fieldsblafoo2011-10-261-2/+0
|