summaryrefslogtreecommitdiff
path: root/tests/Network/BitTorrent/DHT
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Network/BitTorrent/DHT')
-rw-r--r--tests/Network/BitTorrent/DHT/MessageSpec.hs4
-rw-r--r--tests/Network/BitTorrent/DHT/QuerySpec.hs2
-rw-r--r--tests/Network/BitTorrent/DHT/RoutingSpec.hs2
-rw-r--r--tests/Network/BitTorrent/DHT/SessionSpec.hs5
-rw-r--r--tests/Network/BitTorrent/DHT/TestData.hs2
-rw-r--r--tests/Network/BitTorrent/DHT/TokenSpec.hs2
6 files changed, 9 insertions, 8 deletions
diff --git a/tests/Network/BitTorrent/DHT/MessageSpec.hs b/tests/Network/BitTorrent/DHT/MessageSpec.hs
index 4ec875dd..ab6e1ea5 100644
--- a/tests/Network/BitTorrent/DHT/MessageSpec.hs
+++ b/tests/Network/BitTorrent/DHT/MessageSpec.hs
@@ -8,7 +8,7 @@ import Data.ByteString.Lazy as BL
8import Data.Default 8import Data.Default
9import Data.List as L 9import Data.List as L
10import Data.Maybe 10import Data.Maybe
11import Network.BitTorrent.Core 11import Network.BitTorrent.Address
12import Network.BitTorrent.DHT.Message 12import Network.BitTorrent.DHT.Message
13import qualified Network.KRPC as KRPC (def) 13import qualified Network.KRPC as KRPC (def)
14import Network.KRPC hiding (def) 14import Network.KRPC hiding (def)
@@ -17,9 +17,9 @@ import Test.Hspec
17import Test.QuickCheck 17import Test.QuickCheck
18import System.Timeout 18import System.Timeout
19 19
20import Data.TorrentSpec ()
20import Network.BitTorrent.CoreSpec () 21import Network.BitTorrent.CoreSpec ()
21import Network.BitTorrent.DHT.TokenSpec () 22import Network.BitTorrent.DHT.TokenSpec ()
22import Data.Torrent.InfoHashSpec ()
23 23
24 24
25instance MonadLogger IO where 25instance MonadLogger IO where
diff --git a/tests/Network/BitTorrent/DHT/QuerySpec.hs b/tests/Network/BitTorrent/DHT/QuerySpec.hs
index d25bd120..81c3b45b 100644
--- a/tests/Network/BitTorrent/DHT/QuerySpec.hs
+++ b/tests/Network/BitTorrent/DHT/QuerySpec.hs
@@ -9,7 +9,7 @@ import Data.Default
9import Data.List as L 9import Data.List as L
10import Test.Hspec 10import Test.Hspec
11 11
12import Network.BitTorrent.Core 12import Network.BitTorrent.Address
13import Network.BitTorrent.DHT 13import Network.BitTorrent.DHT
14import Network.BitTorrent.DHT.Session 14import Network.BitTorrent.DHT.Session
15import Network.BitTorrent.DHT.Query 15import Network.BitTorrent.DHT.Query
diff --git a/tests/Network/BitTorrent/DHT/RoutingSpec.hs b/tests/Network/BitTorrent/DHT/RoutingSpec.hs
index c4a33357..aeccff5f 100644
--- a/tests/Network/BitTorrent/DHT/RoutingSpec.hs
+++ b/tests/Network/BitTorrent/DHT/RoutingSpec.hs
@@ -8,7 +8,7 @@ import Data.Maybe
8import Test.Hspec 8import Test.Hspec
9import Test.QuickCheck 9import Test.QuickCheck
10 10
11import Network.BitTorrent.Core 11import Network.BitTorrent.Address
12import Network.BitTorrent.DHT.Routing as T 12import Network.BitTorrent.DHT.Routing as T
13 13
14import Network.BitTorrent.CoreSpec hiding (spec) 14import Network.BitTorrent.CoreSpec hiding (spec)
diff --git a/tests/Network/BitTorrent/DHT/SessionSpec.hs b/tests/Network/BitTorrent/DHT/SessionSpec.hs
index bb32cf0e..a5376c32 100644
--- a/tests/Network/BitTorrent/DHT/SessionSpec.hs
+++ b/tests/Network/BitTorrent/DHT/SessionSpec.hs
@@ -5,17 +5,18 @@ import Control.Concurrent
5import Control.Exception 5import Control.Exception
6import Control.Monad.Reader 6import Control.Monad.Reader
7import Control.Monad.Trans.Resource 7import Control.Monad.Trans.Resource
8import Data.Conduit.Lazy
8import Data.Default 9import Data.Default
9import Data.List as L 10import Data.List as L
10import Test.Hspec 11import Test.Hspec
11import Test.QuickCheck 12import Test.QuickCheck
12 13
13import Network.BitTorrent.Core 14import Network.BitTorrent.Address
14import Network.BitTorrent.DHT 15import Network.BitTorrent.DHT
15import Network.BitTorrent.DHT.Message 16import Network.BitTorrent.DHT.Message
16import Network.BitTorrent.DHT.Session 17import Network.BitTorrent.DHT.Session
17 18
18import Data.Torrent.InfoHashSpec () 19import Data.TorrentSpec ()
19import Network.BitTorrent.CoreSpec () 20import Network.BitTorrent.CoreSpec ()
20import Network.BitTorrent.DHT.TokenSpec () 21import Network.BitTorrent.DHT.TokenSpec ()
21 22
diff --git a/tests/Network/BitTorrent/DHT/TestData.hs b/tests/Network/BitTorrent/DHT/TestData.hs
index 2e000a77..e9473cbb 100644
--- a/tests/Network/BitTorrent/DHT/TestData.hs
+++ b/tests/Network/BitTorrent/DHT/TestData.hs
@@ -3,7 +3,7 @@ module Network.BitTorrent.DHT.TestData
3 , testTorrents 3 , testTorrents
4 ) where 4 ) where
5 5
6import Data.Torrent.InfoHash 6import Data.Torrent
7 7
8data TestEntry = TestEntry 8data TestEntry = TestEntry
9 { entryName :: String 9 { entryName :: String
diff --git a/tests/Network/BitTorrent/DHT/TokenSpec.hs b/tests/Network/BitTorrent/DHT/TokenSpec.hs
index 6353a24c..a45d2212 100644
--- a/tests/Network/BitTorrent/DHT/TokenSpec.hs
+++ b/tests/Network/BitTorrent/DHT/TokenSpec.hs
@@ -7,7 +7,7 @@ import Data.String
7import Test.Hspec 7import Test.Hspec
8import Test.QuickCheck 8import Test.QuickCheck
9 9
10import Network.BitTorrent.Core 10import Network.BitTorrent.Address
11import Network.BitTorrent.CoreSpec () 11import Network.BitTorrent.CoreSpec ()
12import Network.BitTorrent.DHT.Token as T 12import Network.BitTorrent.DHT.Token as T
13 13