AWSSDK_DotNet.IntegrationTests.Tests.General.TestClient C# (CSharp) Method

TestClient() private method

private TestClient ( string clientName, string methodName, object request ) : void
clientName string
methodName string
request object
return void
        private void TestClient(string clientName, string methodName, object request)
        {
            Type clientType = FindClient(clientName);
            if (clientType == null)
            {
                Console.WriteLine("Could not find client [{0}], skipping test", clientName);
                return;
            }

            Console.WriteLine("Testing client: " + clientType.FullName);
            var client = Activator.CreateInstance(clientType, null) as IDisposable;

            // Optionally modify client config
            //var config = GetConfig(client);
            //config.UseHttp = true;

            using (client)
            {
                Action action = GetClientAction(client, methodName, request);

                // Optionally log the signer type
                //var signer = GetSigner(client);
                //Console.WriteLine("Signer: " + signer.GetType().FullName);

                TestServiceCallForClockSkew(action);
            }
        }
        private class ClientTest