32 Commits

Author SHA1 Message Date
70144573d0 test: add 100ms initial delay before starting to assume anything 2019-06-20 15:00:13 +02:00
3a2f35047b test: add unit test for behavior on closed streams 2019-06-02 10:03:53 +02:00
39e1f41c0e Add AsyncTripReader constructor with single consumer argument 2019-06-02 10:03:14 +02:00
0ecceca35a Merge branch 'feature/1-streamAPI' into develop 2019-02-06 14:07:59 +01:00
7b212abdc3 Extend unit test for async stream reader 2019-02-05 20:52:10 +01:00
f0205d1cc7 Extend unit tests for accepted Non-Integer values (#2) 2018-11-17 12:32:14 +01:00
9ff4555ce8 Add URLEncoder to query paraemters to fix issue with special chars (#4) 2018-11-17 12:19:34 +01:00
90b7c5cb35 Implement stream reader for trips (#1) 2018-11-16 15:04:21 +01:00
1698622fc9 Accept NULL for vehicle ID field (fix #3) 2018-11-16 11:19:45 +01:00
b9656b386a Accept direction ID as String instead if Integer (fix #2) 2018-11-16 11:04:27 +01:00
c9444bbc97 Migrated tests to JUnit 5 and removed PowerMock dependency
As a replacement for the static mock of the URL class, the tests have
been rewritten using ByteBuddy to redefine the calling method.
2018-08-03 17:52:44 +02:00
d5e09392ef Client and model classes implement Serializable 2018-03-25 17:37:24 +02:00
d12c585083 Add package-info and overview.html for enhanced Javadoc output 2018-03-25 14:40:37 +02:00
0304f6e0f4 Update copyright notice to 2018 2018-01-01 17:28:24 +01:00
afffaa4a6f Bundled error messages for model creation in interface 2017-08-29 20:13:28 +02:00
e12775b6ae Refactored empty-checks on result lists 2017-08-29 20:13:27 +02:00
6b0481a5e1 Encapsulated errors in IllegalStateException
getList() and getStops() no longer silently ignore IOExceptions and also
do not print StackTraces any more.
2017-08-29 20:13:20 +02:00
a8fc93fb41 Model classes and input parameters declared final
As model classes are not designed for inheritance and about all method
parameters are already effectively final, they have been explicitly
declared final.
2017-08-04 10:12:12 +02:00
1f4bd9f411 Code style
Various code style improvements:
lines trimmed to 120 characters,
complete JavaDoc for public methods,
braces on multiline if-else,
fixed numbers defined as constants
2017-08-04 10:06:44 +02:00
5a93a54c64 Preparations for 1.1.0 2017-01-07 18:49:27 +01:00
d7f6c34fc0 Queries for destination, towards and GPS coordinates 2017-01-07 18:33:29 +01:00
746696405c API V1 as default; Tests against ASEAG and TFL 2017-01-07 17:51:42 +01:00
03e6fc0338 Javadoc corrections 2017-01-02 15:46:35 +01:00
3bc11bdee5 getStops() with filters 2017-01-02 15:24:35 +01:00
ef7423e4ca Test coverage 100% 2017-01-02 15:15:53 +01:00
060fe2f6b9 Queries in subclass for concurrency 2016-12-27 20:14:46 +01:00
a0ca6698ba ReadMe and license 2016-12-27 17:44:36 +01:00
727e7bd171 Response types checked 2016-12-27 17:29:59 +01:00
4b6b09ce52 getTrips() tested 2016-12-27 17:15:12 +01:00
429e90c61b Minor model corrections and getStops() unit test 2016-12-27 15:12:08 +01:00
6ec93ba0f7 Trip fetching and model 2016-12-24 18:19:11 +01:00
f12e359e2a Initial commit 2016-12-24 16:52:29 +01:00