Commit graph

36 commits

Author SHA1 Message Date
Vivek Maskara
52b52c4895
Merge branch 'master' into dependency-injection 2017-12-04 02:17:16 +05:30
maskara
d6b7af374d Git plugin 2017-12-02 21:25:14 +05:30
Paul Hawke
fb30a34478 Merge branch 'master' into dependency-injection 2017-11-30 21:41:38 -06:00
Paul Hawke
ce32505ca3 Created a Robolectric unit test replacement for the NearbyActivity test. 2017-11-29 21:29:09 -06:00
Paul Hawke
02b5b9b680 Merge branch 'master' into dependency-injection 2017-11-24 22:30:08 -06:00
neslihanturan
955b3f17a4
Merge pull request #942 from maskaravivek/leaks
Fix Leaks in Nearby activity
2017-11-16 10:17:06 +03:00
Yusuke Matsubara
e9b4ec62a1 Convert tests into Kotlin 2017-11-15 09:31:31 +09:00
maskara
6a6ba7d542 Fix Leak canary test 2017-11-13 23:16:27 +05:30
Yusuke Matsubara
e317c369c1 Disable LeakCanary for Robolectric tests
See 'For Robolectric users:' https://github.com/square/leakcanary
2017-11-03 11:30:10 +09:00
Andrew Marshall
c6de66e32a Optimized Imports. 2017-10-11 10:57:22 -04:00
Nicolas Raoul
9b8d8e9b7c Merge pull request #867 from pszklarska/fix_844
Fixing #844 - If a category has exact name entered, show it first
2017-10-02 16:32:46 +09:00
pszklarska
0446335bd8 Fixing test not working 2017-09-05 18:29:37 +02:00
pszklarska
5094cbc58a Implementing String similarity algorithm for searching category functionality 2017-09-05 18:02:44 +02:00
Paul Hawke
1f1a2822e8 Moved 2 other tests over to use robolectric. 2017-08-26 21:05:41 -05:00
Paul Hawke
58013ef10c Moved the test to use robolectric and updated it to be flavor aware. 2017-08-26 18:00:02 -05:00
Mikel
946f4f2ac2 Fix implementation of getUploadCount() and its test 2017-07-28 16:22:16 +01:00
Mikel
a07a25e75a Add test for new Http query 2017-07-28 14:39:13 +01:00
Paul Hawke
02315c2ae7 Propagated the @NonNull annotation for place click listener and removed a test that made no sense. 2017-07-22 18:08:56 -05:00
Paul Hawke
a91d32f22a Pinned the NearbyAdapterFactoryTest to api level 21 for the test. 2017-07-16 13:04:24 -05:00
Yusuke Matsubara
3b728ca568 Coding style fixes 2017-07-16 15:13:40 +09:00
Paul Hawke
8e47f82de6 Merge remote-tracking branch 'upstream/master' 2017-07-15 06:16:31 -05:00
Yusuke Matsubara
d241d36d66 Add PageTitle class to canonicalize page names 2017-07-13 18:29:30 +09:00
Paul Hawke
c3649d3efd Merge remote-tracking branch 'upstream/master' 2017-07-11 08:06:55 -05:00
Paul Hawke
9387d31cb6 Improvements based on codacy-bot feedback. 2017-07-09 17:52:50 -05:00
Paul Hawke
6ccc608a1e Converted nearby list to recycler view and fixed a few issues pointed out by static code analysis. 2017-07-09 17:33:24 -05:00
Paul Hawke
ddce34bc90 Shifted the ApacheHttpClientMediaWikiApiTest to run using Robolectric (as a unit test) rather than on-device. 2017-07-05 20:23:37 -05:00
Yusuke Matsubara
4f4388b04e Add test for FileUtils 2017-06-10 17:28:14 +09:00
Tobias Schönberg
a62bfd2001 Fix LatLng tests 2017-05-28 18:35:03 +02:00
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