Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct config usage for generate-test-project and generate-sample-project #5188

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// <auto-generated/>

#nullable disable

using System;
using Azure;
using Azure.Core.TestFramework;

namespace AnomalyDetector.Tests
{
public partial class AnomalyDetectorTestBase : RecordedTestBase<AnomalyDetectorTestEnvironment>
{
public AnomalyDetectorTestBase(bool isAsync) : base(isAsync)
{
}

protected AnomalyDetectorClient CreateAnomalyDetectorClient(Uri endpoint, AzureKeyCredential credential)
{
AnomalyDetectorClientOptions options = InstrumentClientOptions(new AnomalyDetectorClientOptions());
AnomalyDetectorClient client = new AnomalyDetectorClient(endpoint, credential, options);
return InstrumentClient(client);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// <auto-generated/>

#nullable disable

using Azure.Core.TestFramework;

namespace AnomalyDetector.Tests
{
public partial class AnomalyDetectorTestEnvironment : TestEnvironment
{
}
}
Loading