Skip to content

Update common packages to 1.1.6-preview #7673

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

Merged
merged 1 commit into from
Oct 26, 2018
Merged
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
Expand Up @@ -8,8 +8,8 @@
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.14" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.16" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.16" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.17" targetFramework="net452" />
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
<HintPath>..\..\..\packages\Microsoft.Azure.Management.FrontDoor.0.9.0-preview\lib\net452\Microsoft.Azure.Management.FrontDoor.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.14\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.16\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.16\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.17\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public GetAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output)
{
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActionGroupsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmActionGroupCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public RemoveAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output
{
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActionGroupsOperations>();
monitorClientMock = new Mock<MonitorManagementClient>();
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new RemoveAzureRmActionGroupCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public AddAzureRmActionGroupTests(Xunit.Abstractions.ITestOutputHelper output)
{
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActionGroupsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new SetAzureRmActionGroupCommand
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public DisableAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
monitorClientMock = new Mock<MonitorManagementClient>();
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new DisableAzureRmActivityLogAlertCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public EnableAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper o
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
monitorClientMock = new Mock<MonitorManagementClient>();
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new EnableAzureRmActivityLogAlertCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public GetAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper outp
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmActivityLogAlertCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public RemoveAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper o
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
monitorClientMock = new Mock<MonitorManagementClient>();
monitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new RemoveAzureRmActivityLogAlertCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public SetAzureRmActivityLogAlertTests(Xunit.Abstractions.ITestOutputHelper outp
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsOperationsMock = new Mock<IActivityLogAlertsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new SetAzureRmActivityLogAlertCommand
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public GetAzureRmLogTests(Xunit.Abstractions.ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmLogCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public AddAzureRmMetricAlertRuleTests(ITestOutputHelper output)
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new AddAzureRmMetricAlertRuleCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public AddAzureRmWebtestAlertRuleTests(ITestOutputHelper output)
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new AddAzureRmWebtestAlertRuleCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public GetAzureRmAlertHistoryTests(ITestOutputHelper output)
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmAlertHistoryCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public GetAzureRmAlertRuleTests(ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmAlertRuleCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public RemoveAzureRmAlertRuleTests(Xunit.Abstractions.ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsAlertRuleOperationsMock = new Mock<IAlertRulesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new RemoveAzureRmAlertRuleCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public AddAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper outp
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new AddAzureRmAutoscaleSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public GetAzureRmAutoscaleHistoryTests(Xunit.Abstractions.ITestOutputHelper outp
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsEventOperationsMock = new Mock<IActivityLogsOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmAutoscaleHistoryCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public GetAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper outp
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmAutoscaleSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public RemoveAzureRmAutoscaleSettingTests(Xunit.Abstractions.ITestOutputHelper o
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsAutoscaleOperationsMock = new Mock<IAutoscaleSettingsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new RemoveAzureRmAutoscaleSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public GetDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper out
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmDiagnosticSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public RemoveDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
this.insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
this.insightsManagementClientMock = new Mock<MonitorManagementClient>();
this.insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
this.commandRuntimeMock = new Mock<ICommandRuntime>();
this.cmdlet = new RemoveAzureRmDiagnosticSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public SetDiagnosticSettingCommandTests(Xunit.Abstractions.ITestOutputHelper out
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
this.insightsDiagnosticsOperationsMock = new Mock<IDiagnosticSettingsOperations>();
this.insightsManagementClientMock = new Mock<MonitorManagementClient>();
this.insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
this.commandRuntimeMock = new Mock<ICommandRuntime>();
this.cmdlet = new SetAzureRmDiagnosticSettingCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public AddAzureRmLogProfileTests(ITestOutputHelper output)
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
TestExecutionHelpers.SetUpSessionAndProfile();
insightsLogProfileOperationsMock = new Mock<ILogProfilesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new AddAzureRmLogProfileCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public GetAzureRmLogProfileTests(ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsLogProfileOperationsMock = new Mock<ILogProfilesOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmLogProfileCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public RemoveAzureRmLogProfileTest(Xunit.Abstractions.ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsLogProfilesOperationsMock = new Mock<ILogProfilesOperations>();
insightsManagementClientMock = new Mock<MonitorManagementClient>();
insightsManagementClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new RemoveAzureRmLogProfileCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public GetAzureRmMetricDefinitionTests(Xunit.Abstractions.ITestOutputHelper outp
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsMetricDefinitionOperationsMock = new Mock<IMetricDefinitionsOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmMetricDefinitionCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public GetAzureRmMetricTests(Xunit.Abstractions.ITestOutputHelper output)
{
ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
insightsMetricOperationsMock = new Mock<IMetricsOperations>();
MonitorClientMock = new Mock<MonitorManagementClient>();
MonitorClientMock = new Mock<MonitorManagementClient>() { CallBase = true };
commandRuntimeMock = new Mock<ICommandRuntime>();
cmdlet = new GetAzureRmMetricCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public SubscriptionClient GetSubscriptionClient()
}
return Task.FromResult(result);
});
var client = new Mock<SubscriptionClient>();
var client = new Mock<SubscriptionClient>() { CallBase = true };
client.SetupGet(c => c.Subscriptions).Returns(subscriptionMock.Object);
client.SetupGet(c => c.Tenants).Returns(tenantMock.Object);
return client.Object;
Expand Down
Loading