Commit Graph

21 Commits

Author SHA1 Message Date
Sebastian Zagrodzki
26b662893d Use a new behavior of newFakeLibusb.
Add a benchmark for subslicing.
2017-04-27 03:26:08 +02:00
Sebastian Zagrodzki
7ee11b48c5 Close the Context 2017-04-27 03:01:35 +02:00
Sebastian Zagrodzki
b6794b7d45 Add a test for InEndpoint.Read. Use ID for vid/pid in OpenDevice... 2017-04-10 01:25:51 +02:00
Sebastian Zagrodzki
a221bef905 ensure the vid/pid match 2017-03-10 08:36:00 -05:00
Sebastian Zagrodzki
d392ad305d Tests for OpenVidPid 2017-03-10 07:38:54 -05:00
Sebastian Zagrodzki
5608fa49e7 remove superfluous imports 2017-03-10 07:09:12 -05:00
Sebastian Zagrodzki
a787d0a1d1 Modify the test for device list, drop noop/multiple contexts. 2017-03-10 07:08:35 -05:00
Sebastian Zagrodzki
0099228bc3 started adding fakelibusb functions for testing device.go 2017-03-06 11:38:03 +01:00
Sebastian Zagrodzki
beb4fdbac5 Update copyright notes for multiple contributors. 2017-02-07 07:37:57 +01:00
nodtem66
4bf19c7f86 undo the edited usb_test.go in TestMultipleContexts to origin 2015-03-03 00:24:24 +07:00
nodtem66
897ea727f3 tested for libusb-1.0.19 on windows (MinGw) 2015-03-03 00:20:31 +07:00
Kyle Lemons
b9f2aa720b Fix up usb to pass reliably and to work cross-platform 2013-08-14 19:38:57 -07:00
Kyle Lemons
ca13741ba1 See https://github.com/kylelemons/gousb/pull/7
Merge branch 'fix-context-close-race' of https://github.com/krasin/gousb
2013-08-14 19:23:18 -07:00
Kyle Lemons
96f1a0a774 Update LICENSE 2013-08-14 19:22:55 -07:00
Ivan Krasin
e5e703175c Add a test case that triggers 'handle_events: error: libusb: unknown error [code -99]' 2013-08-14 00:25:49 -07:00
Kyle Lemons
c8d19d2d0f Renames 2012-03-27 20:30:16 -07:00
Kyle Lemons
e5a0531ed2 Cleanup 2012-03-27 19:40:22 -07:00
Kyle Lemons
25c01a9f60 Remove (*Config).Close() 2012-03-27 18:40:32 -07:00
Kyle Lemons
0f572675c9 Tidy up interfaces and pretty printing 2012-03-26 22:37:25 -07:00
Kyle Lemons
ba2dd5404f Add config, interfaces, endpoints, etc 2012-03-26 00:06:53 -07:00
Kyle Lemons
804a3c6ab8 First cut 2012-03-25 04:11:01 -07:00