summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2014-04-04 20:30:54 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2014-04-04 20:30:54 +0400
commit7a892425de92efd88b98576e848bebc725a9bf14 (patch)
treeb872eaf1bfd6cfe5d302f31f9c9b7c1a5b6d0a61 /tests
parent9b2981d38cfa188099cca07337a3b63747e2c527 (diff)
Move Infohash and Magnet to Torrent module
Diffstat (limited to 'tests')
-rw-r--r--tests/Data/Torrent/InfoHashSpec.hs2
-rw-r--r--tests/Data/Torrent/MagnetSpec.hs2
-rw-r--r--tests/Network/BitTorrent/Client/HandleSpec.hs2
-rw-r--r--tests/Network/BitTorrent/DHT/TestData.hs2
-rw-r--r--tests/Network/BitTorrent/DHTSpec.hs2
-rw-r--r--tests/Network/BitTorrent/Exchange/ConnectionSpec.hs1
-rw-r--r--tests/Network/BitTorrent/Tracker/TestData.hs2
7 files changed, 5 insertions, 8 deletions
diff --git a/tests/Data/Torrent/InfoHashSpec.hs b/tests/Data/Torrent/InfoHashSpec.hs
index 06570ec9..9accc741 100644
--- a/tests/Data/Torrent/InfoHashSpec.hs
+++ b/tests/Data/Torrent/InfoHashSpec.hs
@@ -10,8 +10,6 @@ import Test.QuickCheck
10import Test.QuickCheck.Instances () 10import Test.QuickCheck.Instances ()
11 11
12import Data.Torrent 12import Data.Torrent
13import Data.Torrent.InfoHash as IH
14
15 13
16instance Arbitrary InfoHash where 14instance Arbitrary InfoHash where
17 arbitrary = do 15 arbitrary = do
diff --git a/tests/Data/Torrent/MagnetSpec.hs b/tests/Data/Torrent/MagnetSpec.hs
index 13554455..838df570 100644
--- a/tests/Data/Torrent/MagnetSpec.hs
+++ b/tests/Data/Torrent/MagnetSpec.hs
@@ -9,7 +9,7 @@ import Test.QuickCheck
9import Test.QuickCheck.Instances () 9import Test.QuickCheck.Instances ()
10import Network.URI 10import Network.URI
11 11
12import Data.Torrent.Magnet 12import Data.Torrent
13import Data.Torrent.InfoHashSpec () 13import Data.Torrent.InfoHashSpec ()
14 14
15 15
diff --git a/tests/Network/BitTorrent/Client/HandleSpec.hs b/tests/Network/BitTorrent/Client/HandleSpec.hs
index 8e16d9b0..d51bab02 100644
--- a/tests/Network/BitTorrent/Client/HandleSpec.hs
+++ b/tests/Network/BitTorrent/Client/HandleSpec.hs
@@ -2,7 +2,7 @@ module Network.BitTorrent.Client.HandleSpec (spec) where
2import Data.Default 2import Data.Default
3import Test.Hspec 3import Test.Hspec
4 4
5import Data.Torrent.Magnet 5import Data.Torrent
6import Network.BitTorrent.Client 6import Network.BitTorrent.Client
7import Network.BitTorrent.Client.Handle 7import Network.BitTorrent.Client.Handle
8 8
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/DHTSpec.hs b/tests/Network/BitTorrent/DHTSpec.hs
index 76b48257..30abc867 100644
--- a/tests/Network/BitTorrent/DHTSpec.hs
+++ b/tests/Network/BitTorrent/DHTSpec.hs
@@ -6,7 +6,7 @@ import Data.List as L
6import Test.Hspec 6import Test.Hspec
7import System.Timeout 7import System.Timeout
8 8
9import Data.Torrent.InfoHash 9import Data.Torrent
10import Network.BitTorrent.DHT 10import Network.BitTorrent.DHT
11 11
12 12
diff --git a/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs b/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs
index c21f55ef..ccbf2854 100644
--- a/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs
+++ b/tests/Network/BitTorrent/Exchange/ConnectionSpec.hs
@@ -8,7 +8,6 @@ import Test.Hspec
8import Test.QuickCheck 8import Test.QuickCheck
9 9
10import Data.Torrent 10import Data.Torrent
11import Data.Torrent.InfoHash
12import Network.BitTorrent.Core 11import Network.BitTorrent.Core
13import Network.BitTorrent.Exchange.Connection 12import Network.BitTorrent.Exchange.Connection
14import Network.BitTorrent.Exchange.Message 13import Network.BitTorrent.Exchange.Message
diff --git a/tests/Network/BitTorrent/Tracker/TestData.hs b/tests/Network/BitTorrent/Tracker/TestData.hs
index e0edba25..b95e2df4 100644
--- a/tests/Network/BitTorrent/Tracker/TestData.hs
+++ b/tests/Network/BitTorrent/Tracker/TestData.hs
@@ -12,7 +12,7 @@ import Data.Maybe
12import Data.String 12import Data.String
13import Network.URI 13import Network.URI
14 14
15import Data.Torrent.InfoHash 15import Data.Torrent
16 16
17 17
18data TrackerEntry = TrackerEntry 18data TrackerEntry = TrackerEntry