diff options
Diffstat (limited to 'server/test/Thermoprint/Server')
-rw-r--r-- | server/test/Thermoprint/Server/QueueSpec.hs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/server/test/Thermoprint/Server/QueueSpec.hs b/server/test/Thermoprint/Server/QueueSpec.hs index 4a9297e..8a6bb7b 100644 --- a/server/test/Thermoprint/Server/QueueSpec.hs +++ b/server/test/Thermoprint/Server/QueueSpec.hs | |||
@@ -16,19 +16,6 @@ import Test.QuickCheck.Modifiers | |||
16 | deriving instance (Eq PrintingError) | 16 | deriving instance (Eq PrintingError) |
17 | deriving instance (Eq Queue) | 17 | deriving instance (Eq Queue) |
18 | 18 | ||
19 | instance Arbitrary Queue where | ||
20 | arbitrary = Queue <$> arbitrary <*> arbitrary <*> arbitrary | ||
21 | |||
22 | instance Arbitrary QueueEntry where | ||
23 | arbitrary = QueueEntry <$> arbitrary <*> arbitrary | ||
24 | |||
25 | instance Arbitrary PrintingError where | ||
26 | arbitrary = oneof [ return (IOError "dummy") | ||
27 | ] | ||
28 | |||
29 | instance Arbitrary JobId where | ||
30 | arbitrary = castId . getNonNegative <$> (arbitrary :: Gen (NonNegative Integer)) | ||
31 | |||
32 | spec :: Spec | 19 | spec :: Spec |
33 | spec = do | 20 | spec = do |
34 | describe "queue morphisms" $ do | 21 | describe "queue morphisms" $ do |