private void TestClient(ClientTest ct)
{
var clientType = ct.ClientType;
if (clientType == null)
{
Console.WriteLine("Could not find client [{0}], skipping test", clientType);
return;
}
Console.WriteLine("Testing client: " + clientType.FullName);
var region = ct.Region ?? AWSConfigs.RegionEndpoint;
var client = Activator.CreateInstance(clientType, region) as IDisposable;
// Optionally modify client config
//var config = GetConfig(client);
//config.UseHttp = true;
using (client)
{
Action action = GetClientAction(client, ct.Method, ct.Request);
// Optionally log the signer type
//var signer = GetSigner(client);
//Console.WriteLine("Signer: " + signer.GetType().FullName);
TestServiceCallForClockSkew(action);
}
}
private class ClientTest