Rename from AspNetCoreSdkTests to Cli.FunctionalTests (#17)
This commit is contained in:
parent
ddff4f06e5
commit
941d94c907
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27428.2037
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreSdkTests", "AspNetCoreSdkTests\AspNetCoreSdkTests.csproj", "{982F3170-BE98-4B2F-B36F-4C036BCDB2E6}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{52403704-43FE-41BE-A7F2-C3A5ED51F969}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
test.sh = test.sh
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{982F3170-BE98-4B2F-B36F-4C036BCDB2E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{982F3170-BE98-4B2F-B36F-4C036BCDB2E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{982F3170-BE98-4B2F-B36F-4C036BCDB2E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{982F3170-BE98-4B2F-B36F-4C036BCDB2E6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3B64DDE7-BAD8-4DB3-A294-669059DA3334}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
namespace AspNetCoreSdkTests.Templates
|
||||
{
|
||||
public class ReactReduxTemplate : ReactTemplate
|
||||
{
|
||||
public ReactReduxTemplate() { }
|
||||
|
||||
public override string Name => "reactredux";
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
namespace AspNetCoreSdkTests.Templates
|
||||
{
|
||||
public enum TemplateType
|
||||
{
|
||||
ClassLibrary,
|
||||
ConsoleApplication,
|
||||
WebApplication,
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,7 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using Cli.FunctionalTests.Util;
|
||||
using NUnit.Framework;
|
||||
|
||||
// Run all test cases in parallel
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28016.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cli.FunctionalTests", "Cli.FunctionalTests.csproj", "{D44EA496-EF83-4D47-8C45-4DAF5A1B0070}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{D44EA496-EF83-4D47-8C45-4DAF5A1B0070}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D44EA496-EF83-4D47-8C45-4DAF5A1B0070}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D44EA496-EF83-4D47-8C45-4DAF5A1B0070}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D44EA496-EF83-4D47-8C45-4DAF5A1B0070}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {70432DA7-DCE4-4F73-A00C-E1AB180DDD6A}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
using System;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests
|
||||
namespace Cli.FunctionalTests
|
||||
{
|
||||
public class NuGetPackageSource
|
||||
{
|
||||
|
|
@ -1,8 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace AspNetCoreSdkTests
|
||||
namespace Cli.FunctionalTests
|
||||
{
|
||||
// https://docs.microsoft.com/en-us/dotnet/core/rid-catalog
|
||||
public class RuntimeIdentifier
|
||||
|
|
@ -1,14 +1,17 @@
|
|||
using AspNetCoreSdkTests.Templates;
|
||||
using AspNetCoreSdkTests.Util;
|
||||
using NuGet.Versioning;
|
||||
using NUnit.Framework;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cli.FunctionalTests.Templates;
|
||||
using Cli.FunctionalTests.Util;
|
||||
using NuGet.Versioning;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace AspNetCoreSdkTests
|
||||
namespace Cli.FunctionalTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TemplateTests
|
||||
|
|
@ -1,11 +1,14 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class AngularTemplate : SpaBaseTemplate
|
||||
{
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class ClassLibraryTemplate : Template
|
||||
{
|
||||
|
|
@ -1,11 +1,14 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class ConsoleApplicationTemplate : ClassLibraryTemplate
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class MvcTemplate : RazorBootstrapJQueryTemplate
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public abstract class RazorApplicationBaseTemplate : WebTemplate
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public abstract class RazorBootstrapJQueryTemplate : RazorApplicationBaseTemplate
|
||||
{
|
||||
|
|
@ -1,9 +1,12 @@
|
|||
using System;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class RazorClassLibraryTemplate : ClassLibraryTemplate
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class RazorTemplate : RazorBootstrapJQueryTemplate
|
||||
{
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public static class RazorUtil
|
||||
{
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class ReactReduxTemplate : ReactTemplate
|
||||
{
|
||||
public ReactReduxTemplate() { }
|
||||
|
||||
public override string Name => "reactredux";
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +1,14 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class ReactTemplate : SpaBaseTemplate
|
||||
{
|
||||
|
|
@ -1,8 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public abstract class SpaBaseTemplate : RazorApplicationBaseTemplate
|
||||
{
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -7,8 +9,9 @@ using System.IO;
|
|||
using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public abstract class Template
|
||||
{
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public enum TemplateType
|
||||
{
|
||||
ClassLibrary,
|
||||
ConsoleApplication,
|
||||
WebApplication,
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class WebApiTemplate : WebTemplate
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using AspNetCoreSdkTests.Util;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Cli.FunctionalTests.Util;
|
||||
|
||||
namespace AspNetCoreSdkTests.Templates
|
||||
namespace Cli.FunctionalTests.Templates
|
||||
{
|
||||
public class WebTemplate : ConsoleApplicationTemplate
|
||||
{
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
using System;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System.Text;
|
||||
|
||||
namespace AspNetCoreSdkTests.Util
|
||||
namespace Cli.FunctionalTests.Util
|
||||
{
|
||||
public class ConcurrentStringBuilder
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Microsoft.Extensions.Internal;
|
||||
using Newtonsoft.Json;
|
||||
using NuGet.Versioning;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
|
@ -9,8 +9,11 @@ using System.Linq;
|
|||
using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using Microsoft.Extensions.Internal;
|
||||
using Newtonsoft.Json;
|
||||
using NuGet.Versioning;
|
||||
|
||||
namespace AspNetCoreSdkTests.Util
|
||||
namespace Cli.FunctionalTests.Util
|
||||
{
|
||||
internal static class DotNetUtil
|
||||
{
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
using System;
|
||||
// Copyright (c) .NET Foundation. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace AspNetCoreSdkTests.Util
|
||||
namespace Cli.FunctionalTests.Util
|
||||
{
|
||||
internal static class IOUtil
|
||||
{
|
||||
Loading…
Reference in New Issue