2018-06-21 10:40:44 -07:00
|
|
|
|
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",
|
2018-08-03 20:02:55 -07:00
|
|
|
|
"2.1",
|
2018-09-09 21:56:57 -07:00
|
|
|
|
"3.0"
|
2018-06-21 10:40:44 -07:00
|
|
|
|
}.Select(version => new object[] { version });
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|