Matt Joiner
|
fc4fab91f5
|
Switch to goimports import sorting
Used to use sortimports, but it's old, and goimports seems to have an opinion now.
|
2018-11-02 23:12:01 +11:00 |
Matt Joiner
|
57849844ae
|
Rework status export in tests to allow count > 1 without a server for every test
|
2018-06-26 19:54:48 +10:00 |
Matt Joiner
|
a101ebb07e
|
package assert->expect
|
2018-04-12 11:34:24 +10:00 |
Matt Joiner
|
6773fa9a7e
|
Fix TestSetMaxEstablishedConn and allow it to be run with -count > 1
Similar changes should occur to other tests exporting StatusWriters.
|
2018-02-11 15:14:31 +11:00 |
Matt Joiner
|
fe9839f818
|
sortimports
|
2018-01-09 23:12:01 +11:00 |
Matt Joiner
|
6239a83bd6
|
Begin restructuring testutil to support testing torrents with various properties
|
2018-01-09 17:29:31 +11:00 |
Matt Joiner
|
2a1cef7c9e
|
Remove the InfoEx type, and don't generate its infohash on the fly
Fixes #106.
|
2016-08-26 20:29:05 +10:00 |
Matt Joiner
|
9df9fda397
|
Drop the lol://cheezburger tracker from the test torrent
Spams the logs too much.
|
2016-05-22 23:44:38 +10:00 |
Matt Joiner
|
2d160b0419
|
metainfo.InfoEx.Hash becomes a function, UpdateBytes is added, and Bytes used in marshalling
Fixes #80.
|
2016-05-05 22:40:38 +10:00 |
Matt Joiner
|
28c9ec2bd1
|
Some changes to metainfo.InfoEx and testutil
|
2016-04-30 11:07:29 +10:00 |
Matt Joiner
|
c50742fdac
|
Move exportClientStatus to testutil.ExportStatusWriter
|
2016-02-22 02:36:41 +11:00 |
Matt Joiner
|
f9c600b264
|
metainfo: Add alternative "builder" API
The existing builder API is gross and heavy-handed. I won't rip it out just yet.
|
2015-10-30 01:21:09 +11:00 |
Matt Joiner
|
526d9d738e
|
Rewrite imports to local bencode and metainfo
|
2015-04-27 14:55:01 +10:00 |
Matt Joiner
|
8f744300cc
|
Add piece blob torrent.Data storage, and move testutil to internal/, add basic transfer test for Client and blob
|
2015-02-27 01:46:02 +11:00 |