Matt Joiner
|
3d7a95a65d
|
Use testing.T.Name instead of missinggo.GetTestName
This handles subtests correctly, and removes the need to specify when to export due to collisions with the old function.
|
2020-10-10 10:59:17 +11:00 |
Matt Joiner
|
7d25cfdd1d
|
Move envpprof imports around
|
2020-02-21 12:58:47 +11:00 |
Matt Joiner
|
0d4858ba29
|
Extract the transfer tests
We need them external the torrent package so we can test the API for adding dialers and listeners.
|
2020-02-20 13:57:24 +11:00 |
Matt Joiner
|
cb1bf0f413
|
goimports -local
|
2019-08-21 20:58:40 +10:00 |
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
|
7cafedac42
|
Move internal bloom cmds to dht repo
|
2018-05-25 18:36:59 +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
|
08c0c49c4a
|
Remove internal/pieceordering
|
2016-01-18 20:11:53 +11:00 |
Matt Joiner
|
cb782aa303
|
internal/cmd/bloom-false-positives: Switch to tagflag
Was looking at using github.com/tylertreat/BoomFilters instead of github.com/willf/bloom
|
2015-11-09 23:05:52 +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
|
f9ed9c4c04
|
Avoid frequent allocation of piece request order iterator
|
2015-09-20 11:29:52 +10:00 |
Matt Joiner
|
bc4aa06c91
|
Comments
|
2015-06-01 18:17:14 +10: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 |
Matt Joiner
|
eb2aefdcdb
|
internal/pieceordering: Doc
|
2015-02-18 21:33:03 +11:00 |
Matt Joiner
|
e4209a2d00
|
Reorder some imports
|
2014-12-26 17:17:00 +11:00 |
Matt Joiner
|
e6c93455b5
|
Add some tools for analysing bloom filter use
|
2014-12-20 10:07:41 +11:00 |
Matt Joiner
|
9be0f6463f
|
internal/pieceordering: Switch to a different skiplist implementation
|
2014-12-06 21:15:03 -06:00 |
Matt Joiner
|
d58ca65a9c
|
pieceordering: Rename RemovePiece->DeletePiece and complete tests
Note that tests currently fail due to bug in skiplist?
|
2014-12-05 00:58:04 -06:00 |
Matt Joiner
|
7228e40c95
|
Add piece ordering per-connection piece request priority
|
2014-12-02 18:22:38 -06:00 |