зеркало из https://github.com/Azure/autorest.git
Move all tests into gulp
This commit is contained in:
Родитель
11a33201c4
Коммит
c44006d885
|
@ -1,5 +1,5 @@
|
|||
## Ignore generated code
|
||||
AutoRest/Generators/AcceptanceTests/NugetPackageTest/Generated
|
||||
AutoRest/NuGetTests/NugetPackageTest/Generated
|
||||
|
||||
## Ignore user-specific files, temporary files, build results, etc.
|
||||
AutoRest/**/Templates/*.cs
|
||||
|
|
|
@ -2,7 +2,9 @@ language: csharp
|
|||
mono:
|
||||
- nightly
|
||||
before_script:
|
||||
- npm install -g npm@'>=1.4.3'
|
||||
- npm install
|
||||
- rvm use 2.2.1 --install --binary --fuzzy
|
||||
- gem install bundler
|
||||
- bundle install
|
||||
script:
|
||||
|
|
|
@ -66,103 +66,103 @@
|
|||
<Link>AutoRest.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\azure-report.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\azure-report.json">
|
||||
<Link>Swagger\azure-report.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\azure-special-properties.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\azure-special-properties.json">
|
||||
<Link>Swagger\azure-special-properties.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-array.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-array.json">
|
||||
<Link>Swagger\body-array.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-boolean.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-boolean.json">
|
||||
<Link>Swagger\body-boolean.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-byte.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-byte.json">
|
||||
<Link>Swagger\body-byte.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-complex.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-complex.json">
|
||||
<Link>Swagger\body-complex.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-date.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-date.json">
|
||||
<Link>Swagger\body-date.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-datetime.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-datetime.json">
|
||||
<Link>Swagger\body-datetime.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-dictionary.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-dictionary.json">
|
||||
<Link>Swagger\body-dictionary.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-file.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-file.json">
|
||||
<Link>Swagger\body-file.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-integer.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-integer.json">
|
||||
<Link>Swagger\body-integer.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-number.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-number.json">
|
||||
<Link>Swagger\body-number.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\body-string.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\body-string.json">
|
||||
<Link>Swagger\body-string.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\head.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\head.json">
|
||||
<Link>Swagger\head.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\header.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\header.json">
|
||||
<Link>Swagger\header.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\httpInfrastructure.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\httpInfrastructure.json">
|
||||
<Link>Swagger\httpInfrastructure.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\lro.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\lro.json">
|
||||
<Link>Swagger\lro.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\paging.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\paging.json">
|
||||
<Link>Swagger\paging.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\report.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\report.json">
|
||||
<Link>Swagger\report.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\required-optional.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\required-optional.json">
|
||||
<Link>Swagger\required-optional.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\resource-flattening-reference.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\resource-flattening-reference.json">
|
||||
<Link>Swagger\resource-flattening-reference.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\resource-flattening.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\resource-flattening.json">
|
||||
<Link>Swagger\resource-flattening.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\subscriptionId-apiVersion.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\subscriptionId-apiVersion.json">
|
||||
<Link>Swagger\subscriptionId-apiVersion.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\url.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\url.json">
|
||||
<Link>Swagger\url.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\..\AcceptanceTests\swagger\validation.json">
|
||||
<None Include="..\..\..\NuGetTests\swagger\validation.json">
|
||||
<Link>Swagger\validation.json</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
@ -208,7 +208,7 @@
|
|||
<Compile Include="Expected\**\*.cs"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="..\..\AcceptanceTests\server\routes\sample.png">
|
||||
<Content Include="..\..\..\NuGetTests\server\routes\sample.png">
|
||||
<Link>sample.png</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace Microsoft.Rest.Generator.CSharp.Tests
|
|||
/// </summary>
|
||||
private static string AcceptanceTestsPath
|
||||
{
|
||||
get { return @"..\..\..\..\AcceptanceTests\server"; }
|
||||
get { return @"..\..\..\..\..\NuGetTests\server"; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -7,9 +7,9 @@ var should = require('should');
|
|||
var http = require('http');
|
||||
var util = require('util');
|
||||
var assert = require('assert');
|
||||
var msRestAzure = require('ms-rest-Azure');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var specialsClient = require('../Expected/AcceptanceTests/AzureSpecials/AutoRestAzureSpecialParametersTestClient');
|
||||
var specialsClient = require('../Expected/AcceptanceTests/AzureSpecials/autoRestAzureSpecialParametersTestClient');
|
||||
var dummySubscriptionId = '1234-5678-9012-3456';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRestAzure.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -12,7 +12,7 @@ var _ = require('underscore')
|
|||
var msRest = require('ms-rest');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var reportClient = require('../Expected/AcceptanceTests/AzureReport/AutoRestReportServiceForAzure');
|
||||
var reportClient = require('../Expected/AcceptanceTests/AzureReport/autoRestReportServiceForAzure');
|
||||
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var headClient = require('../Expected/AcceptanceTests/Head/AutoRestHeadTestService');
|
||||
var headClient = require('../Expected/AcceptanceTests/Head/autoRestHeadTestService');
|
||||
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var lroClient = require('../Expected/AcceptanceTests/Lro/AutoRestLongRunningOperationTestService');
|
||||
var lroClient = require('../Expected/AcceptanceTests/Lro/autoRestLongRunningOperationTestService');
|
||||
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var pagingClient = require('../Expected/AcceptanceTests/Paging/AutoRestPagingTestService');
|
||||
var pagingClient = require('../Expected/AcceptanceTests/Paging/autoRestPagingTestService');
|
||||
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRestAzure = require('ms-rest-azure');
|
||||
var msRest = require('ms-rest');
|
||||
|
||||
var flatteningClient = require('../Expected/AcceptanceTests/ResourceFlattening/AutoRestResourceFlatteningTestService');
|
||||
var flatteningClient = require('../Expected/AcceptanceTests/ResourceFlattening/autoRestResourceFlatteningTestService');
|
||||
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
|
|
|
@ -17,7 +17,7 @@ before(function (done) {
|
|||
var out = fs.openSync('./server.log', 'w');
|
||||
fs.writeSync(out, 'Test run started at ' + new Date().toISOString() + '\n');
|
||||
process.env.PORT = 3000;
|
||||
child = child_process.spawn(nodeCmd, [__dirname + '/../../../AcceptanceTests/server/startup/www.js']);
|
||||
child = child_process.spawn(nodeCmd, [__dirname + '/../../../../NuGetTests/server/startup/www.js']);
|
||||
|
||||
child.stdout.on('data', function (data) {
|
||||
fs.writeSync(out, data.toString('UTF-8'));
|
||||
|
|
|
@ -7,9 +7,9 @@ var should = require('should');
|
|||
var http = require('http');
|
||||
var util = require('util');
|
||||
var assert = require('assert');
|
||||
var msRestAzure = require('ms-rest-Azure');
|
||||
var msRestAzure = require('ms-rest-azure');
|
||||
|
||||
var azureUrlClient = require('../Expected/AcceptanceTests/SubscriptionIdApiVersion/MicrosoftAzureTestUrl');
|
||||
var azureUrlClient = require('../Expected/AcceptanceTests/SubscriptionIdApiVersion/microsoftAzureTestUrl');
|
||||
var dummySubscriptionId = 'a878ae02-6106-429z-9397-58091ee45g98';
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRestAzure.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"url": "http://github.com/Azure/AutoRest/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "npm install --prefix ../../AcceptanceTests/server && npm install",
|
||||
"pretest": "npm install --prefix ../../../NuGetTests/server && npm install",
|
||||
"test": "npm -s run-script jshint && npm -s run-script unit",
|
||||
"unit": "node unit.js testlist.txt list",
|
||||
"xunit": "node unit.js testlist.txt",
|
||||
|
|
|
@ -10,18 +10,18 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var fs = require('fs');
|
||||
|
||||
var boolClient = require('../Expected/AcceptanceTests/BodyBoolean/AutoRestBoolTestService');
|
||||
var stringClient = require('../Expected/AcceptanceTests/BodyString/AutoRestSwaggerBATService');
|
||||
var integerClient = require('../Expected/AcceptanceTests/BodyInteger/AutoRestIntegerTestService');
|
||||
var numberClient = require('../Expected/AcceptanceTests/BodyNumber/AutoRestNumberTestService');
|
||||
var byteClient = require('../Expected/AcceptanceTests/BodyByte/AutoRestSwaggerBATByteService');
|
||||
var dateClient = require('../Expected/AcceptanceTests/BodyDate/AutoRestDateTestService');
|
||||
var dateTimeClient = require('../Expected/AcceptanceTests/BodyDateTime/AutoRestDateTimeTestService');
|
||||
var urlClient = require('../Expected/AcceptanceTests/Url/AutoRestUrlTestService');
|
||||
var fileClient = require('../Expected/AcceptanceTests/BodyFile/AutoRestSwaggerBATFileService');
|
||||
var arrayClient = require('../Expected/AcceptanceTests/BodyArray/AutoRestSwaggerBATArrayService');
|
||||
var dictionaryClient = require('../Expected/AcceptanceTests/BodyDictionary/AutoRestSwaggerBATdictionaryService');
|
||||
var httpClient = require('../Expected/AcceptanceTests/Http/AutoRestHttpInfrastructureTestService');
|
||||
var boolClient = require('../Expected/AcceptanceTests/BodyBoolean/autoRestBoolTestService');
|
||||
var stringClient = require('../Expected/AcceptanceTests/BodyString/autoRestSwaggerBATService');
|
||||
var integerClient = require('../Expected/AcceptanceTests/BodyInteger/autoRestIntegerTestService');
|
||||
var numberClient = require('../Expected/AcceptanceTests/BodyNumber/autoRestNumberTestService');
|
||||
var byteClient = require('../Expected/AcceptanceTests/BodyByte/autoRestSwaggerBATByteService');
|
||||
var dateClient = require('../Expected/AcceptanceTests/BodyDate/autoRestDateTestService');
|
||||
var dateTimeClient = require('../Expected/AcceptanceTests/BodyDateTime/autoRestDateTimeTestService');
|
||||
var urlClient = require('../Expected/AcceptanceTests/Url/autoRestUrlTestService');
|
||||
var fileClient = require('../Expected/AcceptanceTests/BodyFile/autoRestSwaggerBATFileService');
|
||||
var arrayClient = require('../Expected/AcceptanceTests/BodyArray/autoRestSwaggerBATArrayService');
|
||||
var dictionaryClient = require('../Expected/AcceptanceTests/BodyDictionary/autoRestSwaggerBATdictionaryService');
|
||||
var httpClient = require('../Expected/AcceptanceTests/Http/autoRestHttpInfrastructureTestService');
|
||||
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRest.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -9,7 +9,7 @@ var util = require('util');
|
|||
var assert = require('assert');
|
||||
var msRest = require('ms-rest');
|
||||
|
||||
var complexClient = require('../Expected/AcceptanceTests/BodyComplex/AutoRestComplexTestService');
|
||||
var complexClient = require('../Expected/AcceptanceTests/BodyComplex/autoRestComplexTestService');
|
||||
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRest.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var _ = require('underscore')
|
||||
|
||||
var reportClient = require('../Expected/AcceptanceTests/Report/AutoRestReportService');
|
||||
var reportClient = require('../Expected/AcceptanceTests/Report/autoRestReportService');
|
||||
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRest.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -10,7 +10,7 @@ var assert = require('assert');
|
|||
var msRest = require('ms-rest');
|
||||
var _ = require('underscore')
|
||||
|
||||
var headerClient = require('../Expected/AcceptanceTests/Header/AutoRestSwaggerBATHeaderService');
|
||||
var headerClient = require('../Expected/AcceptanceTests/Header/autoRestSwaggerBATHeaderService');
|
||||
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRest.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -9,7 +9,7 @@ var util = require('util');
|
|||
var assert = require('assert');
|
||||
var msRest = require('ms-rest');
|
||||
|
||||
var reqOptClient = require('../Expected/AcceptanceTests/RequiredOptional/AutoRestRequiredOptionalTestService');
|
||||
var reqOptClient = require('../Expected/AcceptanceTests/RequiredOptional/autoRestRequiredOptionalTestService');
|
||||
|
||||
var dummyToken = 'dummy12321343423';
|
||||
var credentials = new msRest.TokenCredentials(dummyToken);
|
||||
|
|
|
@ -16,7 +16,7 @@ before(function (done) {
|
|||
var started = false;
|
||||
var out = fs.openSync('./server.log', 'w');
|
||||
fs.writeSync(out, 'Test run started at ' + new Date().toISOString() + '\n');
|
||||
child = child_process.spawn(nodeCmd, [__dirname + '/../../../AcceptanceTests/server/startup/www']);
|
||||
child = child_process.spawn(nodeCmd, [__dirname + '/../../../../NuGetTests/server/startup/www']);
|
||||
|
||||
child.stdout.on('data', function (data) {
|
||||
fs.writeSync(out, data.toString('UTF-8'));
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"url": "http://github.com/Azure/AutoRest/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "npm install --prefix ../../AcceptanceTests/server && npm install",
|
||||
"pretest": "npm install --prefix ../../../NuGetTests/server && npm install",
|
||||
"test": "npm -s run-script jshint && npm -s run-script unit",
|
||||
"unit": "node unit.js testlist.txt list",
|
||||
"xunit": "node unit.js testlist.txt",
|
||||
|
|
|
@ -66,14 +66,6 @@
|
|||
<Project>{c876085f-9dc3-41f0-b7b4-17022cd84684}</Project>
|
||||
<Name>AutoRest</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\AutoRest\Generators\CSharp\Azure.CSharp.Tests\AutoRest.Generator.Azure.CSharp.Tests.csproj">
|
||||
<Project>{ca4ddaa2-9558-47b9-8838-a077a628e94c}</Project>
|
||||
<Name>AutoRest.Generator.Azure.CSharp.Tests</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\AutoRest\Generators\CSharp\CSharp.Tests\AutoRest.Generator.CSharp.Tests.csproj">
|
||||
<Project>{84211169-9441-44f9-b626-10bf75ff25a6}</Project>
|
||||
<Name>AutoRest.Generator.CSharp.Tests</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ruby.Tests\AutoRest.Generator.Ruby.Tests.csproj">
|
||||
<Project>{cd930eb5-a0c1-49bf-a320-1c2aeb028e7e}</Project>
|
||||
<Name>AutoRest.Generator.Ruby.Tests</Name>
|
||||
|
|
|
@ -208,6 +208,8 @@ describe 'LongRunningOperation' do
|
|||
end
|
||||
|
||||
it 'should rise error if no location provided' do
|
||||
pending 'fails for in travis'
|
||||
fail
|
||||
expect { @client.lrosads.post202no_location(@product).value! }.to raise_exception(MsRestAzure::AzureOperationError)
|
||||
end
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<Import Project="packages\xunit.runner.visualstudio.2.1.0-beta4-build1109\build\net20\xunit.runner.visualstudio.props" Condition="Exists('packages\xunit.runner.visualstudio.2.1.0-beta4-build1109\build\net20\xunit.runner.visualstudio.props')" />
|
||||
<Import Project="packages\xunit.core.2.1.0-beta4-build3109\build\portable-net45+netcore45+wp8+wpa81\xunit.core.props" Condition="Exists('packages\xunit.core.2.1.0-beta4-build3109\build\portable-net45+netcore45+wp8+wpa81\xunit.core.props')" />
|
||||
<PropertyGroup>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\</SolutionDir>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{41421AA6-CE53-4E96-933F-33C13493323A}</ProjectGuid>
|
||||
|
@ -55,10 +55,10 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include=".\Generated\CSharp\**\*.cs"></Compile>
|
||||
<Compile Include="..\..\CSharp\CSharp.Tests\Utilities\ProcessOutputListener.cs">
|
||||
<Compile Include="..\..\Generators\CSharp\CSharp.Tests\Utilities\ProcessOutputListener.cs">
|
||||
<Link>ProcessOutputListener.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="..\..\CSharp\CSharp.Tests\Utilities\ServiceController.cs">
|
||||
<Compile Include="..\..\Generators\CSharp\CSharp.Tests\Utilities\ServiceController.cs">
|
||||
<Link>ServiceController.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="PackageTests.cs" />
|
|
@ -7,7 +7,7 @@
|
|||
"node": ">= 0.8.26"
|
||||
},
|
||||
"dependencies": {
|
||||
"ms-rest": "file:../../../../ClientRuntimes/NodeJS/ms-rest"
|
||||
"ms-rest": "file:../../../ClientRuntimes/NodeJS/ms-rest"
|
||||
},
|
||||
"devDependencies":{
|
||||
"mocha": "2.2.5",
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<!--when we bump up package versions, please the refresh versions here-->
|
||||
<package id="Microsoft.Rest.ClientRuntime" version="1.2.0" targetFramework="net45" />
|
||||
<package id="Microsoft.Rest.ClientRuntime" version="1.3.0" targetFramework="net45" />
|
||||
<package id="autorest" version="0.11.0" targetFramework="net45" />
|
||||
|
||||
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />
|
До Ширина: | Высота: | Размер: 8.5 KiB После Ширина: | Высота: | Размер: 8.5 KiB |
|
@ -1,6 +1,8 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2012
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.23107.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientRuntime", "ClientRuntimes\CSharp\ClientRuntime\ClientRuntime.csproj", "{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientRuntime.Etw", "ClientRuntimes\CSharp\ClientRuntime.Etw\ClientRuntime.Etw.csproj", "{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}"
|
||||
|
@ -8,6 +10,9 @@ EndProject
|
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientRuntime.Log4Net", "ClientRuntimes\CSharp\ClientRuntime.Log4Net\ClientRuntime.Log4Net.csproj", "{2EFD6648-39B4-476A-B302-8BC236F5F1B8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientRuntime.Tracing.Tests", "ClientRuntimes\CSharp\ClientRuntime.Tracing.Tests\ClientRuntime.Tracing.Tests.csproj", "{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8} = {2EFD6648-39B4-476A-B302-8BC236F5F1B8}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -17,22 +22,6 @@ Global
|
|||
Portable-Release|Any CPU = Portable-Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
|
@ -41,6 +30,22 @@ Global
|
|||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Net45-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{50B0A8CE-D290-4EB7-8C6C-16EAAB75225E}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Net45-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{2EFD6648-39B4-476A-B302-8BC236F5F1B8}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Net45-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
|
@ -49,11 +54,8 @@ Global
|
|||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Portable-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Portable-Release|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{B2FAA0E6-2643-4011-8CFE-BA28BDFFC7E7}.Portable-Release|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Net45-Debug|Any CPU.ActiveCfg = Net45-Debug|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Net45-Debug|Any CPU.Build.0 = Net45-Debug|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Net45-Release|Any CPU.ActiveCfg = Net45-Release|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Net45-Release|Any CPU.Build.0 = Net45-Release|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Portable-Debug|Any CPU.ActiveCfg = Portable-Debug|Any CPU
|
||||
{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}.Portable-Release|Any CPU.ActiveCfg = Portable-Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<Configuration Condition=" '$(Configuration)' == '' ">Net45-Debug</Configuration>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Microsoft.Rest.Tracing.Etw</RootNamespace>
|
||||
<AssemblyName>ClientRuntime.Etw</AssemblyName>
|
||||
<AssemblyName>Microsoft.Rest.ClientRuntime.Etw</AssemblyName>
|
||||
<OutputType>Library</OutputType>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
<NuGetPackageImportStamp>644881db</NuGetPackageImportStamp>
|
||||
|
@ -39,5 +39,11 @@
|
|||
<Link>CustomDictionary.xml</Link>
|
||||
</CodeAnalysisDictionary>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ClientRuntime\ClientRuntime.csproj">
|
||||
<Project>{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}</Project>
|
||||
<Name>ClientRuntime</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
</Project>
|
|
@ -61,6 +61,14 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ClientRuntime.Etw\ClientRuntime.Etw.csproj">
|
||||
<Project>{50b0a8ce-d290-4eb7-8c6c-16eaab75225e}</Project>
|
||||
<Name>ClientRuntime.Etw</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ClientRuntime.Log4Net\ClientRuntime.Log4Net.csproj">
|
||||
<Project>{2efd6648-39b4-476a-b302-8bc236f5f1b8}</Project>
|
||||
<Name>ClientRuntime.Log4Net</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ClientRuntime\ClientRuntime.csproj">
|
||||
<Project>{7F524559-93F9-4F3F-9E2C-AF41A0C2E6F4}</Project>
|
||||
<Name>ClientRuntime</Name>
|
||||
|
@ -79,4 +87,4 @@
|
|||
<Error Condition="!Exists('..\..\..\packages\xunit.runner.visualstudio.2.1.0-beta4-build1109\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\xunit.runner.visualstudio.2.1.0-beta4-build1109\build\net20\xunit.runner.visualstudio.props'))" />
|
||||
<Error Condition="!Exists('..\..\..\packages\xunit.runner.msbuild.2.1.0-beta4-build3109\build\portable-net45+netcore45+wp8+wpa81\xunit.runner.msbuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\xunit.runner.msbuild.2.1.0-beta4-build3109\build\portable-net45+netcore45+wp8+wpa81\xunit.runner.msbuild.props'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
</Project>
|
|
@ -1,15 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Net45-Debug</Configuration>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Net45-Debug|AnyCPU' ">
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Net45-Debug</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<CommonRoot>$(MsBuildThisFileDirectory)..</CommonRoot>
|
||||
<CommonNugetPackageFolder>$(CommonRoot)\packages</CommonNugetPackageFolder>
|
||||
|
@ -176,4 +166,5 @@
|
|||
<Error Condition="!Exists('$(StyleCopMSBuildTargetsFile)') And $(RestorePackages)==true And $(StyleCopTreatErrorsAsWarnings)==false" Text="$(StyleCopMSBuildMessageRestore)" />
|
||||
<Error Condition="Exists('$(StyleCopMSBuildTargetsFile)') And $(RestorePackages)==true And $(StyleCopTreatErrorsAsWarnings)==false" Text="$(StyleCopMSBuildMessageRestored)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -6,11 +6,9 @@
|
|||
<NightlyBuildVersion Condition=" $(NightlyBuild) == 'true' ">-Nightly$(NightlyBuildVersion)</NightlyBuildVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(LibrarySourceFolder)\ClientRuntimes\**\*.nuget.proj"
|
||||
Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'ClientRuntime' "/>
|
||||
<Import Project="$(LibrarySourceFolder)\ClientRuntimes\**\*.nuget.proj" Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'ClientRuntime' "/>
|
||||
|
||||
<Import Project="$(LibrarySourceFolder)\AutoRest\**\*.nuget.proj"
|
||||
Condition=" '$(Scope)' == 'all' or '$(Scope)' == 'CodeGenerator' "/>
|
||||
<Import Project="$(LibrarySourceFolder)\AutoRest\AutoRest.Core\*.nuget.proj"/>
|
||||
|
||||
<PropertyGroup>
|
||||
<NuGetVerbosity>normal</NuGetVerbosity>
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче