Commit graph

8 commits

Author SHA1 Message Date
Tobias Schönberg
d5bba99faa Add some tests for the LengthUtils class
Currently the LengthUtils class has no tests. This commit
adds some basic tests for the distance computations.
2017-05-18 09:52:23 +02:00
Tobias Schönberg
7abd61348b Code style 2017-05-16 21:58:43 +02:00
Tobias Schönberg
e42b22398c Code style: sort imports 2017-05-16 21:51:49 +02:00
Tobias Schönberg
bc60cff5fe Fix lat-long format and add tests
Currently the lat-long string in the gallery still contains
negative numbers. Also W values do not work correctly.
This commit fixes the calculations and adds tests for the
LatLng class.
2017-05-16 21:41:18 +02:00
Yusuke Matsubara
f9e5b88c6d Rename and refactor tests 2017-04-25 09:30:47 +09:00
Yusuke Matsubara
8731987385 Generate Nearby list using Wikidata Query
Plus,
* remove duplicate location service manager
* add option to switch data sources of Nearby
* faster sorting of places
* minor coding style improvents
2017-04-14 17:38:45 +09:00
Yusuke Matsubara
c434d209fc Further attempts to reduce overwrites
- Keep file names of unfinished uploads to avoid overwriting
- Normalize capital-letter file extensions
2016-09-04 10:55:23 +09:00
Yusuke Matsubara
b91c9776f6 Fix extension replacement, add related tests
Makes sure findUniqueFilename receives filenames with an extension.
More robust extension replacement rules.
2016-08-16 09:07:32 +09:00