deadprogram
aa20799d2a
[core] Don't cut it so close when testing Every being told to be done
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:36:34 -07:00
deadprogram
0276721523
[core] Return when Every is sent done on its channel
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:30:46 -07:00
deadprogram
aab1461e0d
[core] gobot.Every function now returns a channel so it can be halted
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-05-13 17:21:21 -07:00
gmarik
fa2b126aa7
Fixes failing test
2016-02-23 00:54:47 -05:00
gmarik
e494b9fb99
Refactor to use `gobottest` test helpers
2016-02-22 00:33:58 -05:00
Kenny Levinsen
4164003de1
Save ~1000 goroutines
...
Previous code spawns ~1000 go-routines due to NewEvent. Removing a
goroutine and making the loop of callbacks happen directly in Write with
a lock reduces this to ~12 in my test.
2015-09-30 21:45:54 +02:00
Adrian Zankich
be963f989c
Increase gobot package test coverage
2014-11-30 00:19:53 -08:00
Adrian Zankich
56d396339b
Fix randomly failing test
2014-10-28 15:50:32 -07:00
Adrian Zankich
84363c6699
Rename Expect to Assert and add Refute function
2014-07-17 11:41:47 -07:00
Adrian Zankich
b5ec427892
Add Once test
2014-07-15 09:35:19 -07:00
Adrian Zankich
c56f285abb
Remove unused util functions
2014-06-15 17:32:19 -07:00
Adrian Zankich
56848d5a81
Clean up test_helper
2014-06-13 14:46:07 -07:00
Adrian Zankich
cf175b9557
Update tests for api and core
2014-06-12 14:38:03 -07:00
Adrian Zankich
2a2a435a7c
Update utils_test
2014-06-11 12:06:12 -07:00
Adrian Zankich
db44941c21
Use new Event type for events
2014-06-11 11:37:20 -07:00
Adrian Zankich
57bb8bbce6
Fix default Interval initialization
2014-06-06 14:44:16 -07:00
Adrian Zankich
30b92ac39f
Merge core_structure
2014-05-22 22:31:54 -07:00
Adrian Zankich
e500296b96
After and Every now require a time.Duration instead of a string
2014-05-03 03:20:02 -07:00
Adrian Zankich
eca3a1ca99
More WIP restructure
2014-04-30 08:10:44 -07:00
Adrian Zankich
90ee5d7d70
WIP project restructure
2014-04-29 13:20:32 -07:00
Matt Aimonetti
d93231a9ee
made tests fast again
2014-04-29 05:36:26 -07:00
Matt Aimonetti
73dcbc537f
made tests fast again
2014-04-26 11:13:25 -06:00
Adrian Zankich
7969fbcbea
Remove ConnectToTcp util
2014-04-16 12:38:09 -07:00
Adrian Zankich
c1b684961c
Add utils tests
2014-04-15 21:10:32 -07:00