summaryrefslogtreecommitdiff
path: root/test/Test
diff options
context:
space:
mode:
authorBrendanHay <>2016-06-03 09:06:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2016-06-03 09:06:00 (GMT)
commitf1b877ace3d5d45f7dc2f9202f489d53344e4956 (patch)
tree07a21c81b6fabb1d6ffcbbbb9ba2f03f21dc32c2 /test/Test
version 1.4.21.4.2
Diffstat (limited to 'test/Test')
-rw-r--r--test/Test/AWS/Discovery.hs27
-rw-r--r--test/Test/AWS/Discovery/Internal.hs17
-rw-r--r--test/Test/AWS/Gen/Discovery.hs219
3 files changed, 263 insertions, 0 deletions
diff --git a/test/Test/AWS/Discovery.hs b/test/Test/AWS/Discovery.hs
new file mode 100644
index 0000000..8e38b45
--- /dev/null
+++ b/test/Test/AWS/Discovery.hs
@@ -0,0 +1,27 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+-- |
+-- Module : Test.AWS.Discovery
+-- Copyright : (c) 2013-2016 Brendan Hay
+-- License : This Source Code Form is subject to the terms of
+-- the Mozilla Public License, v. 2.0.
+-- A copy of the MPL can be found in the LICENSE file or
+-- you can obtain it at http://mozilla.org/MPL/2.0/.
+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
+-- Stability : experimental
+-- Portability : non-portable (GHC extensions)
+
+module Test.AWS.Discovery
+ ( tests
+ , fixtures
+ ) where
+
+import Network.AWS.Discovery
+import Test.AWS.Gen.Discovery
+import Test.Tasty
+
+tests :: [TestTree]
+tests = []
+
+fixtures :: [TestTree]
+fixtures = []
diff --git a/test/Test/AWS/Discovery/Internal.hs b/test/Test/AWS/Discovery/Internal.hs
new file mode 100644
index 0000000..7b9b03f
--- /dev/null
+++ b/test/Test/AWS/Discovery/Internal.hs
@@ -0,0 +1,17 @@
+{-# LANGUAGE OverloadedStrings #-}
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+
+-- |
+-- Module : Test.AWS.Discovery.Internal
+-- Copyright : (c) 2013-2016 Brendan Hay
+-- License : This Source Code Form is subject to the terms of
+-- the Mozilla Public License, v. 2.0.
+-- A copy of the MPL can be found in the LICENSE file or
+-- you can obtain it at http://mozilla.org/MPL/2.0/.
+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
+-- Stability : experimental
+-- Portability : non-portable (GHC extensions)
+
+module Test.AWS.Discovery.Internal where
+
+import Test.AWS.Prelude
diff --git a/test/Test/AWS/Gen/Discovery.hs b/test/Test/AWS/Gen/Discovery.hs
new file mode 100644
index 0000000..8079fe8
--- /dev/null
+++ b/test/Test/AWS/Gen/Discovery.hs
@@ -0,0 +1,219 @@
+{-# OPTIONS_GHC -fno-warn-unused-imports #-}
+{-# OPTIONS_GHC -fno-warn-orphans #-}
+
+-- Derived from AWS service descriptions, licensed under Apache 2.0.
+
+-- |
+-- Module : Test.AWS.Gen.Discovery
+-- Copyright : (c) 2013-2016 Brendan Hay
+-- License : Mozilla Public License, v. 2.0.
+-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
+-- Stability : auto-generated
+-- Portability : non-portable (GHC extensions)
+--
+module Test.AWS.Gen.Discovery where
+
+import Data.Proxy
+import Test.AWS.Fixture
+import Test.AWS.Prelude
+import Test.Tasty
+import Network.AWS.Discovery
+import Test.AWS.Discovery.Internal
+
+-- Auto-generated: the actual test selection needs to be manually placed into
+-- the top-level so that real test data can be incrementally added.
+--
+-- This commented snippet is what the entire set should look like:
+
+-- fixtures :: TestTree
+-- fixtures =
+-- [ testGroup "request"
+-- [ testDescribeTags $
+-- describeTags
+--
+-- , testExportConfigurations $
+-- exportConfigurations
+--
+-- , testStopDataCollectionByAgentIds $
+-- stopDataCollectionByAgentIds
+--
+-- , testCreateTags $
+-- createTags
+--
+-- , testDeleteTags $
+-- deleteTags
+--
+-- , testDescribeConfigurations $
+-- describeConfigurations
+--
+-- , testListConfigurations $
+-- listConfigurations
+--
+-- , testDescribeAgents $
+-- describeAgents
+--
+-- , testDescribeExportConfigurations $
+-- describeExportConfigurations
+--
+-- , testStartDataCollectionByAgentIds $
+-- startDataCollectionByAgentIds
+--
+-- ]
+
+-- , testGroup "response"
+-- [ testDescribeTagsResponse $
+-- describeTagsResponse
+--
+-- , testExportConfigurationsResponse $
+-- exportConfigurationsResponse
+--
+-- , testStopDataCollectionByAgentIdsResponse $
+-- stopDataCollectionByAgentIdsResponse
+--
+-- , testCreateTagsResponse $
+-- createTagsResponse
+--
+-- , testDeleteTagsResponse $
+-- deleteTagsResponse
+--
+-- , testDescribeConfigurationsResponse $
+-- describeConfigurationsResponse
+--
+-- , testListConfigurationsResponse $
+-- listConfigurationsResponse
+--
+-- , testDescribeAgentsResponse $
+-- describeAgentsResponse
+--
+-- , testDescribeExportConfigurationsResponse $
+-- describeExportConfigurationsResponse
+--
+-- , testStartDataCollectionByAgentIdsResponse $
+-- startDataCollectionByAgentIdsResponse
+--
+-- ]
+-- ]
+
+-- Requests
+
+testDescribeTags :: DescribeTags -> TestTree
+testDescribeTags = req
+ "DescribeTags"
+ "fixture/DescribeTags.yaml"
+
+testExportConfigurations :: ExportConfigurations -> TestTree
+testExportConfigurations = req
+ "ExportConfigurations"
+ "fixture/ExportConfigurations.yaml"
+
+testStopDataCollectionByAgentIds :: StopDataCollectionByAgentIds -> TestTree
+testStopDataCollectionByAgentIds = req
+ "StopDataCollectionByAgentIds"
+ "fixture/StopDataCollectionByAgentIds.yaml"
+
+testCreateTags :: CreateTags -> TestTree
+testCreateTags = req
+ "CreateTags"
+ "fixture/CreateTags.yaml"
+
+testDeleteTags :: DeleteTags -> TestTree
+testDeleteTags = req
+ "DeleteTags"
+ "fixture/DeleteTags.yaml"
+
+testDescribeConfigurations :: DescribeConfigurations -> TestTree
+testDescribeConfigurations = req
+ "DescribeConfigurations"
+ "fixture/DescribeConfigurations.yaml"
+
+testListConfigurations :: ListConfigurations -> TestTree
+testListConfigurations = req
+ "ListConfigurations"
+ "fixture/ListConfigurations.yaml"
+
+testDescribeAgents :: DescribeAgents -> TestTree
+testDescribeAgents = req
+ "DescribeAgents"
+ "fixture/DescribeAgents.yaml"
+
+testDescribeExportConfigurations :: DescribeExportConfigurations -> TestTree
+testDescribeExportConfigurations = req
+ "DescribeExportConfigurations"
+ "fixture/DescribeExportConfigurations.yaml"
+
+testStartDataCollectionByAgentIds :: StartDataCollectionByAgentIds -> TestTree
+testStartDataCollectionByAgentIds = req
+ "StartDataCollectionByAgentIds"
+ "fixture/StartDataCollectionByAgentIds.yaml"
+
+-- Responses
+
+testDescribeTagsResponse :: DescribeTagsResponse -> TestTree
+testDescribeTagsResponse = res
+ "DescribeTagsResponse"
+ "fixture/DescribeTagsResponse.proto"
+ discovery
+ (Proxy :: Proxy DescribeTags)
+
+testExportConfigurationsResponse :: ExportConfigurationsResponse -> TestTree
+testExportConfigurationsResponse = res
+ "ExportConfigurationsResponse"
+ "fixture/ExportConfigurationsResponse.proto"
+ discovery
+ (Proxy :: Proxy ExportConfigurations)
+
+testStopDataCollectionByAgentIdsResponse :: StopDataCollectionByAgentIdsResponse -> TestTree
+testStopDataCollectionByAgentIdsResponse = res
+ "StopDataCollectionByAgentIdsResponse"
+ "fixture/StopDataCollectionByAgentIdsResponse.proto"
+ discovery
+ (Proxy :: Proxy StopDataCollectionByAgentIds)
+
+testCreateTagsResponse :: CreateTagsResponse -> TestTree
+testCreateTagsResponse = res
+ "CreateTagsResponse"
+ "fixture/CreateTagsResponse.proto"
+ discovery
+ (Proxy :: Proxy CreateTags)
+
+testDeleteTagsResponse :: DeleteTagsResponse -> TestTree
+testDeleteTagsResponse = res
+ "DeleteTagsResponse"
+ "fixture/DeleteTagsResponse.proto"
+ discovery
+ (Proxy :: Proxy DeleteTags)
+
+testDescribeConfigurationsResponse :: DescribeConfigurationsResponse -> TestTree
+testDescribeConfigurationsResponse = res
+ "DescribeConfigurationsResponse"
+ "fixture/DescribeConfigurationsResponse.proto"
+ discovery
+ (Proxy :: Proxy DescribeConfigurations)
+
+testListConfigurationsResponse :: ListConfigurationsResponse -> TestTree
+testListConfigurationsResponse = res
+ "ListConfigurationsResponse"
+ "fixture/ListConfigurationsResponse.proto"
+ discovery
+ (Proxy :: Proxy ListConfigurations)
+
+testDescribeAgentsResponse :: DescribeAgentsResponse -> TestTree
+testDescribeAgentsResponse = res
+ "DescribeAgentsResponse"
+ "fixture/DescribeAgentsResponse.proto"
+ discovery
+ (Proxy :: Proxy DescribeAgents)
+
+testDescribeExportConfigurationsResponse :: DescribeExportConfigurationsResponse -> TestTree
+testDescribeExportConfigurationsResponse = res
+ "DescribeExportConfigurationsResponse"
+ "fixture/DescribeExportConfigurationsResponse.proto"
+ discovery
+ (Proxy :: Proxy DescribeExportConfigurations)
+
+testStartDataCollectionByAgentIdsResponse :: StartDataCollectionByAgentIdsResponse -> TestTree
+testStartDataCollectionByAgentIdsResponse = res
+ "StartDataCollectionByAgentIdsResponse"
+ "fixture/StartDataCollectionByAgentIdsResponse.proto"
+ discovery
+ (Proxy :: Proxy StartDataCollectionByAgentIds)