{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.DeviceFarm.Types.TestType
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DeviceFarm.Types.TestType
  ( TestType
      ( ..,
        TestType_APPIUM_JAVA_JUNIT,
        TestType_APPIUM_JAVA_TESTNG,
        TestType_APPIUM_NODE,
        TestType_APPIUM_PYTHON,
        TestType_APPIUM_RUBY,
        TestType_APPIUM_WEB_JAVA_JUNIT,
        TestType_APPIUM_WEB_JAVA_TESTNG,
        TestType_APPIUM_WEB_NODE,
        TestType_APPIUM_WEB_PYTHON,
        TestType_APPIUM_WEB_RUBY,
        TestType_BUILTIN_EXPLORER,
        TestType_BUILTIN_FUZZ,
        TestType_CALABASH,
        TestType_INSTRUMENTATION,
        TestType_REMOTE_ACCESS_RECORD,
        TestType_REMOTE_ACCESS_REPLAY,
        TestType_UIAUTOMATION,
        TestType_UIAUTOMATOR,
        TestType_WEB_PERFORMANCE_PROFILE,
        TestType_XCTEST,
        TestType_XCTEST_UI
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

newtype TestType = TestType'
  { TestType -> Text
fromTestType ::
      Core.Text
  }
  deriving stock
    ( Int -> TestType -> ShowS
[TestType] -> ShowS
TestType -> String
(Int -> TestType -> ShowS)
-> (TestType -> String) -> ([TestType] -> ShowS) -> Show TestType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TestType] -> ShowS
$cshowList :: [TestType] -> ShowS
show :: TestType -> String
$cshow :: TestType -> String
showsPrec :: Int -> TestType -> ShowS
$cshowsPrec :: Int -> TestType -> ShowS
Prelude.Show,
      ReadPrec [TestType]
ReadPrec TestType
Int -> ReadS TestType
ReadS [TestType]
(Int -> ReadS TestType)
-> ReadS [TestType]
-> ReadPrec TestType
-> ReadPrec [TestType]
-> Read TestType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [TestType]
$creadListPrec :: ReadPrec [TestType]
readPrec :: ReadPrec TestType
$creadPrec :: ReadPrec TestType
readList :: ReadS [TestType]
$creadList :: ReadS [TestType]
readsPrec :: Int -> ReadS TestType
$creadsPrec :: Int -> ReadS TestType
Prelude.Read,
      TestType -> TestType -> Bool
(TestType -> TestType -> Bool)
-> (TestType -> TestType -> Bool) -> Eq TestType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TestType -> TestType -> Bool
$c/= :: TestType -> TestType -> Bool
== :: TestType -> TestType -> Bool
$c== :: TestType -> TestType -> Bool
Prelude.Eq,
      Eq TestType
Eq TestType
-> (TestType -> TestType -> Ordering)
-> (TestType -> TestType -> Bool)
-> (TestType -> TestType -> Bool)
-> (TestType -> TestType -> Bool)
-> (TestType -> TestType -> Bool)
-> (TestType -> TestType -> TestType)
-> (TestType -> TestType -> TestType)
-> Ord TestType
TestType -> TestType -> Bool
TestType -> TestType -> Ordering
TestType -> TestType -> TestType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: TestType -> TestType -> TestType
$cmin :: TestType -> TestType -> TestType
max :: TestType -> TestType -> TestType
$cmax :: TestType -> TestType -> TestType
>= :: TestType -> TestType -> Bool
$c>= :: TestType -> TestType -> Bool
> :: TestType -> TestType -> Bool
$c> :: TestType -> TestType -> Bool
<= :: TestType -> TestType -> Bool
$c<= :: TestType -> TestType -> Bool
< :: TestType -> TestType -> Bool
$c< :: TestType -> TestType -> Bool
compare :: TestType -> TestType -> Ordering
$ccompare :: TestType -> TestType -> Ordering
$cp1Ord :: Eq TestType
Prelude.Ord,
      (forall x. TestType -> Rep TestType x)
-> (forall x. Rep TestType x -> TestType) -> Generic TestType
forall x. Rep TestType x -> TestType
forall x. TestType -> Rep TestType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep TestType x -> TestType
$cfrom :: forall x. TestType -> Rep TestType x
Prelude.Generic
    )
  deriving newtype
    ( Int -> TestType -> Int
TestType -> Int
(Int -> TestType -> Int) -> (TestType -> Int) -> Hashable TestType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: TestType -> Int
$chash :: TestType -> Int
hashWithSalt :: Int -> TestType -> Int
$chashWithSalt :: Int -> TestType -> Int
Prelude.Hashable,
      TestType -> ()
(TestType -> ()) -> NFData TestType
forall a. (a -> ()) -> NFData a
rnf :: TestType -> ()
$crnf :: TestType -> ()
Prelude.NFData,
      Text -> Either String TestType
(Text -> Either String TestType) -> FromText TestType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TestType
$cfromText :: Text -> Either String TestType
Core.FromText,
      TestType -> Text
(TestType -> Text) -> ToText TestType
forall a. (a -> Text) -> ToText a
toText :: TestType -> Text
$ctoText :: TestType -> Text
Core.ToText,
      TestType -> ByteString
(TestType -> ByteString) -> ToByteString TestType
forall a. (a -> ByteString) -> ToByteString a
toBS :: TestType -> ByteString
$ctoBS :: TestType -> ByteString
Core.ToByteString,
      TestType -> ByteStringBuilder
(TestType -> ByteStringBuilder) -> ToLog TestType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TestType -> ByteStringBuilder
$cbuild :: TestType -> ByteStringBuilder
Core.ToLog,
      HeaderName -> TestType -> [Header]
(HeaderName -> TestType -> [Header]) -> ToHeader TestType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TestType -> [Header]
$ctoHeader :: HeaderName -> TestType -> [Header]
Core.ToHeader,
      TestType -> QueryString
(TestType -> QueryString) -> ToQuery TestType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TestType -> QueryString
$ctoQuery :: TestType -> QueryString
Core.ToQuery,
      Value -> Parser [TestType]
Value -> Parser TestType
(Value -> Parser TestType)
-> (Value -> Parser [TestType]) -> FromJSON TestType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [TestType]
$cparseJSONList :: Value -> Parser [TestType]
parseJSON :: Value -> Parser TestType
$cparseJSON :: Value -> Parser TestType
Core.FromJSON,
      FromJSONKeyFunction [TestType]
FromJSONKeyFunction TestType
FromJSONKeyFunction TestType
-> FromJSONKeyFunction [TestType] -> FromJSONKey TestType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TestType]
$cfromJSONKeyList :: FromJSONKeyFunction [TestType]
fromJSONKey :: FromJSONKeyFunction TestType
$cfromJSONKey :: FromJSONKeyFunction TestType
Core.FromJSONKey,
      [TestType] -> Encoding
[TestType] -> Value
TestType -> Encoding
TestType -> Value
(TestType -> Value)
-> (TestType -> Encoding)
-> ([TestType] -> Value)
-> ([TestType] -> Encoding)
-> ToJSON TestType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [TestType] -> Encoding
$ctoEncodingList :: [TestType] -> Encoding
toJSONList :: [TestType] -> Value
$ctoJSONList :: [TestType] -> Value
toEncoding :: TestType -> Encoding
$ctoEncoding :: TestType -> Encoding
toJSON :: TestType -> Value
$ctoJSON :: TestType -> Value
Core.ToJSON,
      ToJSONKeyFunction [TestType]
ToJSONKeyFunction TestType
ToJSONKeyFunction TestType
-> ToJSONKeyFunction [TestType] -> ToJSONKey TestType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TestType]
$ctoJSONKeyList :: ToJSONKeyFunction [TestType]
toJSONKey :: ToJSONKeyFunction TestType
$ctoJSONKey :: ToJSONKeyFunction TestType
Core.ToJSONKey,
      [Node] -> Either String TestType
([Node] -> Either String TestType) -> FromXML TestType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TestType
$cparseXML :: [Node] -> Either String TestType
Core.FromXML,
      TestType -> XML
(TestType -> XML) -> ToXML TestType
forall a. (a -> XML) -> ToXML a
toXML :: TestType -> XML
$ctoXML :: TestType -> XML
Core.ToXML
    )

pattern TestType_APPIUM_JAVA_JUNIT :: TestType
pattern $bTestType_APPIUM_JAVA_JUNIT :: TestType
$mTestType_APPIUM_JAVA_JUNIT :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_JAVA_JUNIT = TestType' "APPIUM_JAVA_JUNIT"

pattern TestType_APPIUM_JAVA_TESTNG :: TestType
pattern $bTestType_APPIUM_JAVA_TESTNG :: TestType
$mTestType_APPIUM_JAVA_TESTNG :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_JAVA_TESTNG = TestType' "APPIUM_JAVA_TESTNG"

pattern TestType_APPIUM_NODE :: TestType
pattern $bTestType_APPIUM_NODE :: TestType
$mTestType_APPIUM_NODE :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_NODE = TestType' "APPIUM_NODE"

pattern TestType_APPIUM_PYTHON :: TestType
pattern $bTestType_APPIUM_PYTHON :: TestType
$mTestType_APPIUM_PYTHON :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_PYTHON = TestType' "APPIUM_PYTHON"

pattern TestType_APPIUM_RUBY :: TestType
pattern $bTestType_APPIUM_RUBY :: TestType
$mTestType_APPIUM_RUBY :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_RUBY = TestType' "APPIUM_RUBY"

pattern TestType_APPIUM_WEB_JAVA_JUNIT :: TestType
pattern $bTestType_APPIUM_WEB_JAVA_JUNIT :: TestType
$mTestType_APPIUM_WEB_JAVA_JUNIT :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_WEB_JAVA_JUNIT = TestType' "APPIUM_WEB_JAVA_JUNIT"

pattern TestType_APPIUM_WEB_JAVA_TESTNG :: TestType
pattern $bTestType_APPIUM_WEB_JAVA_TESTNG :: TestType
$mTestType_APPIUM_WEB_JAVA_TESTNG :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_WEB_JAVA_TESTNG = TestType' "APPIUM_WEB_JAVA_TESTNG"

pattern TestType_APPIUM_WEB_NODE :: TestType
pattern $bTestType_APPIUM_WEB_NODE :: TestType
$mTestType_APPIUM_WEB_NODE :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_WEB_NODE = TestType' "APPIUM_WEB_NODE"

pattern TestType_APPIUM_WEB_PYTHON :: TestType
pattern $bTestType_APPIUM_WEB_PYTHON :: TestType
$mTestType_APPIUM_WEB_PYTHON :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_WEB_PYTHON = TestType' "APPIUM_WEB_PYTHON"

pattern TestType_APPIUM_WEB_RUBY :: TestType
pattern $bTestType_APPIUM_WEB_RUBY :: TestType
$mTestType_APPIUM_WEB_RUBY :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_APPIUM_WEB_RUBY = TestType' "APPIUM_WEB_RUBY"

pattern TestType_BUILTIN_EXPLORER :: TestType
pattern $bTestType_BUILTIN_EXPLORER :: TestType
$mTestType_BUILTIN_EXPLORER :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_BUILTIN_EXPLORER = TestType' "BUILTIN_EXPLORER"

pattern TestType_BUILTIN_FUZZ :: TestType
pattern $bTestType_BUILTIN_FUZZ :: TestType
$mTestType_BUILTIN_FUZZ :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_BUILTIN_FUZZ = TestType' "BUILTIN_FUZZ"

pattern TestType_CALABASH :: TestType
pattern $bTestType_CALABASH :: TestType
$mTestType_CALABASH :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_CALABASH = TestType' "CALABASH"

pattern TestType_INSTRUMENTATION :: TestType
pattern $bTestType_INSTRUMENTATION :: TestType
$mTestType_INSTRUMENTATION :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_INSTRUMENTATION = TestType' "INSTRUMENTATION"

pattern TestType_REMOTE_ACCESS_RECORD :: TestType
pattern $bTestType_REMOTE_ACCESS_RECORD :: TestType
$mTestType_REMOTE_ACCESS_RECORD :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_REMOTE_ACCESS_RECORD = TestType' "REMOTE_ACCESS_RECORD"

pattern TestType_REMOTE_ACCESS_REPLAY :: TestType
pattern $bTestType_REMOTE_ACCESS_REPLAY :: TestType
$mTestType_REMOTE_ACCESS_REPLAY :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_REMOTE_ACCESS_REPLAY = TestType' "REMOTE_ACCESS_REPLAY"

pattern TestType_UIAUTOMATION :: TestType
pattern $bTestType_UIAUTOMATION :: TestType
$mTestType_UIAUTOMATION :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_UIAUTOMATION = TestType' "UIAUTOMATION"

pattern TestType_UIAUTOMATOR :: TestType
pattern $bTestType_UIAUTOMATOR :: TestType
$mTestType_UIAUTOMATOR :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_UIAUTOMATOR = TestType' "UIAUTOMATOR"

pattern TestType_WEB_PERFORMANCE_PROFILE :: TestType
pattern $bTestType_WEB_PERFORMANCE_PROFILE :: TestType
$mTestType_WEB_PERFORMANCE_PROFILE :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_WEB_PERFORMANCE_PROFILE = TestType' "WEB_PERFORMANCE_PROFILE"

pattern TestType_XCTEST :: TestType
pattern $bTestType_XCTEST :: TestType
$mTestType_XCTEST :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_XCTEST = TestType' "XCTEST"

pattern TestType_XCTEST_UI :: TestType
pattern $bTestType_XCTEST_UI :: TestType
$mTestType_XCTEST_UI :: forall r. TestType -> (Void# -> r) -> (Void# -> r) -> r
TestType_XCTEST_UI = TestType' "XCTEST_UI"

{-# COMPLETE
  TestType_APPIUM_JAVA_JUNIT,
  TestType_APPIUM_JAVA_TESTNG,
  TestType_APPIUM_NODE,
  TestType_APPIUM_PYTHON,
  TestType_APPIUM_RUBY,
  TestType_APPIUM_WEB_JAVA_JUNIT,
  TestType_APPIUM_WEB_JAVA_TESTNG,
  TestType_APPIUM_WEB_NODE,
  TestType_APPIUM_WEB_PYTHON,
  TestType_APPIUM_WEB_RUBY,
  TestType_BUILTIN_EXPLORER,
  TestType_BUILTIN_FUZZ,
  TestType_CALABASH,
  TestType_INSTRUMENTATION,
  TestType_REMOTE_ACCESS_RECORD,
  TestType_REMOTE_ACCESS_REPLAY,
  TestType_UIAUTOMATION,
  TestType_UIAUTOMATOR,
  TestType_WEB_PERFORMANCE_PROFILE,
  TestType_XCTEST,
  TestType_XCTEST_UI,
  TestType'
  #-}