public HarvestPackageTests(ITestOutputHelper output)
        {
            _log    = new Log(output);
            _engine = new TestBuildEngine(_log);

            _frameworks = new[]
            {
                CreateFrameworkItem("netcoreapp1.0", "win7-x86;win7-x64;osx.10.11-x64;centos.7-x64;debian.8-x64;linuxmint.17-x64;opensuse.13.2-x64;rhel.7.2-x64;ubuntu.14.04-x64;ubuntu.16.04-x64"),
                CreateFrameworkItem("netcoreapp1.1", "win7-x86;win7-x64;osx.10.11-x64;centos.7-x64;debian.8-x64;linuxmint.17-x64;opensuse.13.2-x64;rhel.7.2-x64;ubuntu.14.04-x64;ubuntu.16.04-x64"),

                CreateFrameworkItem("netcore50", "win10-x86;win10-x86-aot;win10-x64;win10-x64-aot;win10-arm;win10-arm-aot"),
                CreateFrameworkItem("netcore45", ""),
                CreateFrameworkItem("netcore451", ""),

                CreateFrameworkItem("net45", ";win-x86;win-x64"),
                CreateFrameworkItem("net451", ";win-x86;win-x64"),
                CreateFrameworkItem("net46", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net461", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net462", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net463", ";win-x86;win-x64;win7-x86;win7-x64"),

                CreateFrameworkItem("wpa81", ""),
                CreateFrameworkItem("wp8", ""),
                CreateFrameworkItem("MonoAndroid10", ""),
                CreateFrameworkItem("MonoTouch10", ""),
                CreateFrameworkItem("xamarinios10", ""),
                CreateFrameworkItem("xamarinmac20", ""),
                CreateFrameworkItem("xamarintvos10", ""),
                CreateFrameworkItem("xamarinwatchos10", "")
            };
        }
        public HarvestPackageTests(ITestOutputHelper output)
        {
            _log = new Log(output);
            _engine = new TestBuildEngine(_log);

            _frameworks = new[]
            {
                CreateFrameworkItem("netcoreapp1.0", "win7-x86;win7-x64;osx.10.11-x64;centos.7-x64;debian.8-x64;linuxmint.17-x64;opensuse.13.2-x64;rhel.7.2-x64;ubuntu.14.04-x64;ubuntu.16.04-x64"),
                CreateFrameworkItem("netcoreapp1.1", "win7-x86;win7-x64;osx.10.11-x64;centos.7-x64;debian.8-x64;linuxmint.17-x64;opensuse.13.2-x64;rhel.7.2-x64;ubuntu.14.04-x64;ubuntu.16.04-x64"),

                CreateFrameworkItem("netcore50", "win10-x86;win10-x86-aot;win10-x64;win10-x64-aot;win10-arm;win10-arm-aot"),
                CreateFrameworkItem("netcore45", ""),
                CreateFrameworkItem("netcore451", ""),

                CreateFrameworkItem("net45", ";win-x86;win-x64"),
                CreateFrameworkItem("net451", ";win-x86;win-x64"),
                CreateFrameworkItem("net46", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net461", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net462", ";win-x86;win-x64;win7-x86;win7-x64"),
                CreateFrameworkItem("net463", ";win-x86;win-x64;win7-x86;win7-x64"),

                CreateFrameworkItem("wpa81", ""),
                CreateFrameworkItem("wp8", ""),
                CreateFrameworkItem("MonoAndroid10", ""),
                CreateFrameworkItem("MonoTouch10", ""),
                CreateFrameworkItem("xamarinios10", ""),
                CreateFrameworkItem("xamarinmac20", ""),
                CreateFrameworkItem("xamarintvos10", ""),
                CreateFrameworkItem("xamarinwatchos10", "")
            };
        }
Example #3
0
        public CreateTrimDependencyGroupsTests(ITestOutputHelper output)
        {
            _log    = new Log(output);
            _engine = new TestBuildEngine(_log);


            var          packageIndexPath = $"packageIndex.{Guid.NewGuid()}.json";
            PackageIndex index            = new PackageIndex();

            index.MergeFrameworkLists(FrameworkListsPath);
            index.Save(packageIndexPath);
            packageIndexes = new[] { new TaskItem(packageIndexPath) };
        }
 public GenerateNuSpecAndPackTests(ITestOutputHelper output)
 {
     _log    = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
Example #5
0
 public GetLastStablePackageTests(ITestOutputHelper output)
 {
     _log            = new Log(output);
     _engine         = new TestBuildEngine(_log);
     _packageIndexes = new[] { new TaskItem("packageIndex.json") };
 }
 public ValidateHarvestVersionIsLatestForEraTests(ITestOutputHelper output)
 {
     _log    = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
 public CreateTrimDependencyGroupsTests(ITestOutputHelper output)
 {
     _log = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
Example #8
0
 public ApplyBaseLineTests(ITestOutputHelper output)
 {
     _log    = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
 public EnsureOOBFrameworkTests(ITestOutputHelper output)
 {
     _log = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
Example #10
0
 public EnsureOOBFrameworkTests(ITestOutputHelper output)
 {
     _log    = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
Example #11
0
 public ApplyBaseLineTests(ITestOutputHelper output)
 {
     _log            = new Log(output);
     _engine         = new TestBuildEngine(_log);
     _packageIndexes = new[] { new TaskItem("packageIndex.json") };
 }
Example #12
0
 public ApplyBaseLineTests(ITestOutputHelper output)
 {
     _log = new Log(output);
     _engine = new TestBuildEngine(_log);
     _packageIndexes = new[] { new TaskItem("packageIndex.json") };
 }
Example #13
0
 public CreateTrimDependencyGroupsTests(ITestOutputHelper output)
 {
     _log    = new Log(output);
     _engine = new TestBuildEngine(_log);
 }
Example #14
0
 public ApplyBaseLineTests(ITestOutputHelper output)
 {
     _log = new Log(output);
     _engine = new TestBuildEngine(_log);
 }