protected QuestionAnsweringTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion, RecordedTestMode?mode)
            : base(isAsync, mode)
        {
            // TODO: Compare bodies again when https://github.com/Azure/azure-sdk-for-net/issues/22219 is resolved.
            Matcher = new RecordMatcher(compareBodies: false);

            Sanitizer      = new QuestionAnsweringRecordedTestSanitizer();
            ServiceVersion = serviceVersion;
        }
示例#2
0
        protected QuestionAnsweringTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion, RecordedTestMode?mode)
            : base(isAsync, mode)
        {
            // TODO: Compare bodies again when https://github.com/Azure/azure-sdk-for-net/issues/22219 is resolved.
            CompareBodies = false;

            SanitizedHeaders.Add(QuestionAnsweringClient.AuthorizationHeader);
            ServiceVersion = serviceVersion;
        }
示例#3
0
 public QuestionAnsweringProjectsLiveTestBase(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion)
     : base(isAsync, serviceVersion, null /* RecordedTestMode.Record /* to record */)
 {
 }
示例#4
0
 public QuestionAnsweringProjectsClientLiveTests(bool isAsync, QuestionAnsweringClientOptions.ServiceVersion serviceVersion)
     : base(isAsync, serviceVersion)
 {
 }