Skip to content
Merged

Anadet #5464

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.test.reference.props'))" />
<PropertyGroup>
<PackageId>AnomalyDetector.Tests</PackageId>
<Description>AnomalyDetector.Tests class library</Description>
<AssemblyName>AnomalyDetector.Tests</AssemblyName>
<VersionPrefix>1.0.0</VersionPrefix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\AnomalyDetector\Microsoft.Azure.CognitiveServices.AnomalyDetector.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="SessionRecords\**\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace AnomalyDetector.Tests.ScenarioTests
{
using System.Net;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Xunit;

public class CRUDTests
{
[Fact]
public void CreateResource()
{
Assert.True(true);
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.271
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AnomalyDetector.Tests", "AnomalyDetector.Tests\AnomalyDetector.Tests.csproj", "{5A67D55D-E917-4CAC-8EE9-070F7034A46B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.CognitiveServices.AnomalyDetector", "AnomalyDetector\Microsoft.Azure.CognitiveServices.AnomalyDetector.csproj", "{2D8E8C17-FDB0-4E1E-ADE0-F203FF986839}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5A67D55D-E917-4CAC-8EE9-070F7034A46B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5A67D55D-E917-4CAC-8EE9-070F7034A46B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5A67D55D-E917-4CAC-8EE9-070F7034A46B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5A67D55D-E917-4CAC-8EE9-070F7034A46B}.Release|Any CPU.Build.0 = Release|Any CPU
{2D8E8C17-FDB0-4E1E-ADE0-F203FF986839}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2D8E8C17-FDB0-4E1E-ADE0-F203FF986839}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2D8E8C17-FDB0-4E1E-ADE0-F203FF986839}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2D8E8C17-FDB0-4E1E-ADE0-F203FF986839}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D20BD55D-9C14-46A2-9C15-8A1E0CECA34B}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<!-- Please do not move/edit code below this line -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.reference.props'))" />
<!-- Please do not move/edit code below this line -->

<PropertyGroup>
<PackageId>Microsoft.Azure.Management.AnomalyDetector</PackageId>
<Description>Microsoft Azure Management AnomalyDetector library</Description>
<AssemblyName>Microsoft.Azure.Management.AnomalyDetector</AssemblyName>
<Version>0.9.0-preview</Version>
<PackageTags>Azure AnomalyDetector;</PackageTags>
<PackageReleaseNotes>
</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>$(SdkTargetFx)</TargetFrameworks>
</PropertyGroup>

<!-- Please do not move/edit code below this line -->
<Import Condition=" Exists('$([MSBuild]::GetPathOfFileAbove(AzSdk.RP.props))') " Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.RP.props'))" />
<!-- Please do not move/edit code above this line -->
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System.Reflection;
using System.Resources;

[assembly: AssemblyTitle("Microsoft Azure AnomalyDetector Management Library")]
[assembly: AssemblyDescription("Provides Microsoft Azure AnomalyDetector management functions for managing the Microsoft Azure AnomalyDetector service.")]

[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("0.9.0")]

[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start-AutoRestCodeGeneration -ResourceProvider "cognitiveservices/data-plane/AnomalyDetector/" -AutoRestVersion "latest"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag></AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions tools/linuxScripts/runNetCoreSdkTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ restoreBuildAzStack() {
testProj=($childDir/*.Tests/*.csproj)
if [ -f $testProj ]; then
printf "Test ------ $testProj for framework $netcore20\n"
dotnet build $testProj -f $netcore20
#dotnet build $testProj -f $netcore20
#dotnet test $testProj -f $netcore20
fi
fi
Expand Down Expand Up @@ -76,7 +76,7 @@ restoreBuildRepo() {
printf "$skipRp\n"
if [ "$skipTest" == "false" ]; then
printf "Test ------ $tp for framework $netcore20\n"
dotnet build $tp -f $netcore20
#dotnet build $tp -f $netcore20
#dotnet test $tp -f $netcore20
fi
done
Expand Down