Skip to content

Commit c3f13f1

Browse files
author
Avijit Gupta
committed
Fixing CR comments on PR#577
1 parent 76ef2e3 commit c3f13f1

File tree

12 files changed

+311
-290
lines changed

12 files changed

+311
-290
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@
111111
</Reference>
112112
<Reference Include="Microsoft.WindowsAzure.Management.Network">
113113
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Network.7.0.3\lib\net40\Microsoft.WindowsAzure.Management.Network.dll</HintPath>
114-
<Private>True</Private>
115114
</Reference>
116115
<Reference Include="Microsoft.WindowsAzure.Management.Storage">
117116
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Storage.5.1.1\lib\net40\Microsoft.WindowsAzure.Management.Storage.dll</HintPath>

src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/RemoveAzureVirtualIP.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ namespace Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS
2323
[Cmdlet(VerbsCommon.Remove, "AzureVirtualIP"), OutputType(typeof(ManagementOperationContext))]
2424
public class RemoveAzureVirtualIP : ServiceManagementBaseCmdlet
2525
{
26+
public RemoveAzureVirtualIP()
27+
{
28+
}
29+
30+
public RemoveAzureVirtualIP(IClientProvider provider)
31+
: base(provider)
32+
{
33+
}
34+
2635
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = false)]
2736
[ValidateNotNullOrEmpty]
2837
public string ServiceName { get; set; }

src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
</Reference>
101101
<Reference Include="Microsoft.WindowsAzure.Management.Network">
102102
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Network.7.0.3\lib\net40\Microsoft.WindowsAzure.Management.Network.dll</HintPath>
103-
<Private>True</Private>
104103
</Reference>
105104
<Reference Include="Microsoft.WindowsAzure.Management.Storage, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
106105
<SpecificVersion>False</SpecificVersion>
@@ -299,7 +298,6 @@
299298
<ItemGroup>
300299
<Content Include="Readme.txt" />
301300
</ItemGroup>
302-
<ItemGroup />
303301
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
304302
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
305303
<Import Project="..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />

src/ServiceManagement/Network/Commands.Network.Test/Multivip/MultivipTests.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using System.Threading;
16-
using System.Threading.Tasks;
17-
using Microsoft.Azure;
18-
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
19-
using Microsoft.WindowsAzure.Commands.ScenarioTest;
20-
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS;
21-
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network;
22-
using Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.TestInterfaces;
23-
using Microsoft.WindowsAzure.Commands.Utilities.Common;
24-
using Microsoft.WindowsAzure.Management.Compute;
25-
using Microsoft.WindowsAzure.Management.Network;
26-
using Moq;
27-
using Microsoft.WindowsAzure.Management.Compute.Models;
28-
using Microsoft.WindowsAzure.Management;
29-
using Microsoft.WindowsAzure.Management.Storage;
30-
using Xunit;
31-
using Assert = Xunit.Assert;
32-
3315
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.Multivip
3416
{
17+
using Microsoft.Azure;
18+
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
19+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
20+
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS;
21+
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.Network;
22+
using Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.TestInterfaces;
23+
using Microsoft.WindowsAzure.Commands.Utilities.Common;
24+
using Microsoft.WindowsAzure.Management;
25+
using Microsoft.WindowsAzure.Management.Compute;
26+
using Microsoft.WindowsAzure.Management.Compute.Models;
27+
using Microsoft.WindowsAzure.Management.Network;
28+
using Microsoft.WindowsAzure.Management.Storage;
29+
using Moq;
30+
using System.Threading;
31+
using System.Threading.Tasks;
32+
using Xunit;
33+
using Assert = Xunit.Assert;
34+
3535
public class MultivipTests
3636
{
3737
private Mock<NetworkManagementClient> networkingClientMock;

src/ServiceManagement/Network/Commands.Network.Test/ReservedIP/ReservedIPTest.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using System.Threading;
16-
using System.Threading.Tasks;
17-
using Microsoft.Azure;
18-
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
19-
using Microsoft.WindowsAzure.Commands.ScenarioTest;
20-
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS;
21-
using Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.TestInterfaces;
22-
using Microsoft.WindowsAzure.Commands.Utilities.Common;
23-
using Microsoft.WindowsAzure.Management.Compute;
24-
using Microsoft.WindowsAzure.Management.Network;
25-
using Moq;
26-
using Microsoft.WindowsAzure.Management.Compute.Models;
27-
using Microsoft.WindowsAzure.Management.Network.Models;
28-
using Microsoft.WindowsAzure.Management;
29-
using Microsoft.WindowsAzure.Management.Storage;
30-
using Xunit;
31-
using Assert = Xunit.Assert;
32-
3315
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.ReservedIP
3416
{
17+
using Microsoft.Azure;
18+
using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
19+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
20+
using Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS;
21+
using Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.TestInterfaces;
22+
using Microsoft.WindowsAzure.Commands.Utilities.Common;
23+
using Microsoft.WindowsAzure.Management;
24+
using Microsoft.WindowsAzure.Management.Compute;
25+
using Microsoft.WindowsAzure.Management.Compute.Models;
26+
using Microsoft.WindowsAzure.Management.Network;
27+
using Microsoft.WindowsAzure.Management.Network.Models;
28+
using Microsoft.WindowsAzure.Management.Storage;
29+
using Moq;
30+
using System.Threading;
31+
using System.Threading.Tasks;
32+
using Xunit;
33+
using Assert = Xunit.Assert;
34+
3535
public class ReservedIPTest
3636
{
3737
private MockCommandRuntime mockCommandRuntime;

src/ServiceManagement/Network/Commands.Network.Test/ScenarioTests/MultiVip/MultiVipScenarioTests.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.ScenarioTests.MultiVip
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
namespace Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.ScenarioTests.MultiVip
216
{
317
using Microsoft.Azure.Common.Authentication;
418
using Microsoft.Azure.Test;

0 commit comments

Comments
 (0)