7d94dbbd99
* Add Compute UseBundledNETCoreAppPackageVersionAsDefaultNetCorePatchVersion * Add tests to catch DefaultNetCorePatchVersion moving * Update LatestPatchVersionForNetCore2_0 to 2.0.9, it is in the process of shipping * Update LatestPatchVersionForNetCore1_0 and LatestPatchVersionForNetCore1_1
26 lines
684 B
C#
26 lines
684 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using Xunit;
|
|
|
|
namespace EndToEnd
|
|
{
|
|
public class SupportedNetCoreAppVersions : IEnumerable<object[]>
|
|
{
|
|
public IEnumerator<object[]> GetEnumerator() => Versions.GetEnumerator();
|
|
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
|
public static IEnumerable<object[]> Versions
|
|
{
|
|
get
|
|
{
|
|
return new[]
|
|
{
|
|
"1.0",
|
|
"1.1",
|
|
"2.0",
|
|
"2.1"
|
|
}.Select(version => new object[] { version });
|
|
}
|
|
}
|
|
}
|
|
}
|