1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00

32 Commits

Author SHA1 Message Date
deadprogram
f8accc0174 test: increase timeout for api test to 20ms
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 19:30:43 +01:00
deadprogram
953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram
458c750f33 core: refactor/rename internal name of Master type
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram
c64a0d9481 core: Refactoring to allow 'metal' development using Gobot adaptors/drivers.
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
gmarik
e494b9fb99 Refactor to use gobottest test helpers 2016-02-22 00:33:58 -05:00
deadprogram
5f25282eb1 Correct test for new Robeaux endpoints 2015-10-26 09:13:42 -07:00
Rafael Magana
1f09fb021b Add SSE test coverage
Add a Stream type that handle the request to /events/:event and write tests for event stream

Add a test for the events/:event endpoint that actually tests the endpoint response

Using <-time.After in a 'select' creates one channel every time, let's use a time.Timer instead so that we reuse the same channel
2015-04-07 16:04:40 -07:00
Rafael Magana
e31c205749 increase test coverage for api/api.go 2015-03-16 09:53:05 -06:00
Adrian Zankich
ebc0d5e479 go lint and documentation tweaks for the api package 2014-12-31 06:21:58 -08:00
Adrian Zankich
52e3ffc735 Rename test helpers so they don't impact coverage 2014-12-18 14:07:48 -08:00
Adrian Zankich
5dd554dbc6 Add more error handling for unknown robots, devices and connections 2014-12-07 08:54:50 -08:00
Adrian Zankich
be963f989c Increase gobot package test coverage 2014-11-30 00:19:53 -08:00
Adrian Zankich
7073f7f0b6 Green tests 2014-09-25 18:29:10 -07:00
Rafael Magana
3f537796eb Handle allowed CORS requests origins 2014-09-17 18:20:18 -05:00
Adrian Zankich
2d8ba7206d WIP threepio support 2014-07-24 16:39:27 -07:00
Adrian Zankich
52b9f6a0ee Expose API router for custom routes 2014-07-23 13:37:05 -07:00
Adrian Zankich
bb703e375f DRY up api methods 2014-07-23 11:24:41 -07:00
Adrian Zankich
59b5077ceb Add travis script 2014-07-22 11:16:49 -07:00
Adrian Zankich
459e06dd67 Enable custom handlers for api 2014-07-21 22:19:04 -07:00
Adrian Zankich
6b74c6a5c0 Add more api test coverage 2014-07-21 21:14:00 -07:00
Adrian Zankich
84363c6699 Rename Expect to Assert and add Refute function 2014-07-17 11:41:47 -07:00
Adrian Zankich
c86123c694 Clean up devices and connections type 2014-07-09 09:38:43 -07:00
Adrian Zankich
958d1941ad Fix errors in API 2014-07-02 18:08:44 -07:00
Adrian Zankich
aed6b39bb6 Update test formatting 2014-06-13 16:01:39 -07:00
Adrian Zankich
cf175b9557 Update tests for api and core 2014-06-12 14:38:03 -07:00
Adrian Zankich
addb700d23 Refactor driver commands 2014-06-11 17:41:04 -07:00
Adrian Zankich
ca4d8ce583 Refactor robot commands 2014-06-11 16:44:23 -07:00
Adrian Zankich
f4cbfaf4e7 Switch to plain net/http with pat as a pattern muxer 2014-06-11 15:38:42 -07:00
Adrian Zankich
c129da61d3 Make golint happy 2014-06-10 15:16:11 -07:00
Adrian Zankich
efbc75ebc8 Mark failing tests as pending 2014-05-15 11:52:28 -07:00
Adrian Zankich
26a9e55983 WIP api refactor 2014-05-15 11:50:45 -07:00
Adrian Zankich
eca3a1ca99 More WIP restructure 2014-04-30 08:10:44 -07:00