当前位置: 首页>>代码示例>>C#>>正文


C# TestTools.AWSQueryValidator类代码示例

本文整理汇总了C#中AWSSDK_DotNet35.UnitTests.TestTools.AWSQueryValidator的典型用法代码示例。如果您正苦于以下问题:C# AWSQueryValidator类的具体用法?C# AWSQueryValidator怎么用?C# AWSQueryValidator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


AWSQueryValidator类属于AWSSDK_DotNet35.UnitTests.TestTools命名空间,在下文中一共展示了AWSQueryValidator类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CancelUpdateStackMarshallTest

        public void CancelUpdateStackMarshallTest()
        {
            var operation = service_model.FindOperation("CancelUpdateStack");

            var request = InstantiateClassGenerator.Execute<CancelUpdateStackRequest>();
            var marshaller = new CancelUpdateStackRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();
        }
开发者ID:srz2,项目名称:aws-sdk-net,代码行数:10,代码来源:CloudFormationMarshallingTests.cs

示例2: ChangeMessageVisibilityMarshallTest

        public void ChangeMessageVisibilityMarshallTest()
        {
            var operation = service_model.FindOperation("ChangeMessageVisibility");

            var request = InstantiateClassGenerator.Execute<ChangeMessageVisibilityRequest>();
            var marshaller = new ChangeMessageVisibilityRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:rajdotnet,项目名称:aws-sdk-net,代码行数:12,代码来源:SQSMarshallingTests.cs

示例3: AddClientIDToOpenIDConnectProviderMarshallTest

        public void AddClientIDToOpenIDConnectProviderMarshallTest()
        {
            var operation = service_model.FindOperation("AddClientIDToOpenIDConnectProvider");

            var request = InstantiateClassGenerator.Execute<AddClientIDToOpenIDConnectProviderRequest>();
            var marshaller = new AddClientIDToOpenIDConnectProviderRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:borik,项目名称:aws-sdk-net,代码行数:12,代码来源:IdentityManagementServiceMarshallingTests.cs

示例4: AddRoleToInstanceProfileMarshallTest

        public void AddRoleToInstanceProfileMarshallTest()
        {
            var operation = service_model.FindOperation("AddRoleToInstanceProfile");

            var request = InstantiateClassGenerator.Execute<AddRoleToInstanceProfileRequest>();
            var marshaller = new AddRoleToInstanceProfileRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:borik,项目名称:aws-sdk-net,代码行数:12,代码来源:IdentityManagementServiceMarshallingTests.cs

示例5: DeleteAlarmsMarshallTest

        public void DeleteAlarmsMarshallTest()
        {
            var operation = service_model.FindOperation("DeleteAlarms");

            var request = InstantiateClassGenerator.Execute<DeleteAlarmsRequest>();
            var marshaller = new DeleteAlarmsRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:borik,项目名称:aws-sdk-net,代码行数:12,代码来源:CloudWatchMarshallingTests.cs

示例6: AbortEnvironmentUpdateMarshallTest

        public void AbortEnvironmentUpdateMarshallTest()
        {
            var operation = service_model.FindOperation("AbortEnvironmentUpdate");

            var request = InstantiateClassGenerator.Execute<AbortEnvironmentUpdateRequest>();
            var marshaller = new AbortEnvironmentUpdateRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:aws,项目名称:aws-sdk-net,代码行数:12,代码来源:ElasticBeanstalkMarshallingTests.cs

示例7: AllocateAddressMarshallTest

        public void AllocateAddressMarshallTest()
        {
            var operation = service_model.FindOperation("AllocateAddress");

            var request = InstantiateClassGenerator.Execute<AllocateAddressRequest>();
            var marshaller = new AllocateAddressRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();

            var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
            UnmarshallerContext context = new EC2UnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, new WebResponseData());
            var response = AllocateAddressResponseUnmarshaller.Instance.Unmarshall(context)
                as AllocateAddressResponse;
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
        }
开发者ID:jweyrich,项目名称:aws-sdk-net,代码行数:16,代码来源:EC2MarshallingTests.cs

示例8: ContinueUpdateRollbackMarshallTest

        public void ContinueUpdateRollbackMarshallTest()
        {
            var operation = service_model.FindOperation("ContinueUpdateRollback");

            var request = InstantiateClassGenerator.Execute<ContinueUpdateRollbackRequest>();
            var marshaller = new ContinueUpdateRollbackRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();

            var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
            var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
            var response = ContinueUpdateRollbackResponseUnmarshaller.Instance.Unmarshall(context)
                as ContinueUpdateRollbackResponse;
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
        }
开发者ID:srz2,项目名称:aws-sdk-net,代码行数:16,代码来源:CloudFormationMarshallingTests.cs

示例9: AddSourceIdentifierToSubscriptionMarshallTest

        public void AddSourceIdentifierToSubscriptionMarshallTest()
        {
            var operation = service_model.FindOperation("AddSourceIdentifierToSubscription");

            var request = InstantiateClassGenerator.Execute<AddSourceIdentifierToSubscriptionRequest>();
            var marshaller = new AddSourceIdentifierToSubscriptionRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


            var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
            var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
            var response = AddSourceIdentifierToSubscriptionResponseUnmarshaller.Instance.Unmarshall(context)
                as AddSourceIdentifierToSubscriptionResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
开发者ID:yridesconix,项目名称:aws-sdk-net,代码行数:17,代码来源:RDSMarshallingTests.cs

示例10: AuthorizeClusterSecurityGroupIngressMarshallTest

        public void AuthorizeClusterSecurityGroupIngressMarshallTest()
        {
            var operation = service_model.FindOperation("AuthorizeClusterSecurityGroupIngress");

            var request = InstantiateClassGenerator.Execute<AuthorizeClusterSecurityGroupIngressRequest>();
            var marshaller = new AuthorizeClusterSecurityGroupIngressRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


            var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
            var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
            var response = AuthorizeClusterSecurityGroupIngressResponseUnmarshaller.Instance.Unmarshall(context)
                as AuthorizeClusterSecurityGroupIngressResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
开发者ID:JonathanHenson,项目名称:aws-sdk-net,代码行数:17,代码来源:RedshiftMarshallingTests.cs

示例11: ReplaceNetworkAclEntryMarshallTest

        public void ReplaceNetworkAclEntryMarshallTest()
        {
            var operation = service_model.FindOperation("ReplaceNetworkAclEntry");

            var request = InstantiateClassGenerator.Execute<ReplaceNetworkAclEntryRequest>();
            var marshaller = new ReplaceNetworkAclEntryRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:aws,项目名称:aws-sdk-net,代码行数:12,代码来源:EC2MarshallingTests.cs

示例12: ModifyIdentityIdFormatMarshallTest

        public void ModifyIdentityIdFormatMarshallTest()
        {
            var operation = service_model.FindOperation("ModifyIdentityIdFormat");

            var request = InstantiateClassGenerator.Execute<ModifyIdentityIdFormatRequest>();
            var marshaller = new ModifyIdentityIdFormatRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:aws,项目名称:aws-sdk-net,代码行数:12,代码来源:EC2MarshallingTests.cs

示例13: EnableVolumeIOMarshallTest

        public void EnableVolumeIOMarshallTest()
        {
            var operation = service_model.FindOperation("EnableVolumeIO");

            var request = InstantiateClassGenerator.Execute<EnableVolumeIORequest>();
            var marshaller = new EnableVolumeIORequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:aws,项目名称:aws-sdk-net,代码行数:12,代码来源:EC2MarshallingTests.cs

示例14: AttachInternetGatewayMarshallTest

        public void AttachInternetGatewayMarshallTest()
        {
            var operation = service_model.FindOperation("AttachInternetGateway");

            var request = InstantiateClassGenerator.Execute<AttachInternetGatewayRequest>();
            var marshaller = new AttachInternetGatewayRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:aws,项目名称:aws-sdk-net,代码行数:12,代码来源:EC2MarshallingTests.cs

示例15: SetPlatformApplicationAttributesMarshallTest

        public void SetPlatformApplicationAttributesMarshallTest()
        {
            var operation = service_model.FindOperation("SetPlatformApplicationAttributes");

            var request = InstantiateClassGenerator.Execute<SetPlatformApplicationAttributesRequest>();
            var marshaller = new SetPlatformApplicationAttributesRequestMarshaller();
            var internalRequest = marshaller.Marshall(request);
            var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
            validator.Validate();


        }
开发者ID:rajdotnet,项目名称:aws-sdk-net,代码行数:12,代码来源:SimpleNotificationServiceMarshallingTests.cs


注:本文中的AWSSDK_DotNet35.UnitTests.TestTools.AWSQueryValidator类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。