From 64042937cf4c0fc26de7e4212f6ba107589dbf41 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Tue, 31 Jan 2017 13:09:35 -0800 Subject: [PATCH] Creating the half migrated test asset. --- .../backup/src/ProjectA/project.json | 19 +++++++++++++++ .../PJHalfMigrated/global.json | 3 +++ .../PJHalfMigrated/src/ProjectA/Program.cs | 12 ++++++++++ .../src/ProjectA/ProjectA.csproj | 13 +++++++++++ .../PJHalfMigrated/test/ProjectB/Program.cs | 12 ++++++++++ .../PJHalfMigrated/test/ProjectB/project.json | 23 +++++++++++++++++++ 6 files changed, 82 insertions(+) create mode 100755 TestAssets/NonRestoredTestProjects/PJHalfMigrated/backup/src/ProjectA/project.json create mode 100644 TestAssets/NonRestoredTestProjects/PJHalfMigrated/global.json create mode 100755 TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs create mode 100755 TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/ProjectA.csproj create mode 100755 TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/Program.cs create mode 100755 TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/project.json diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/backup/src/ProjectA/project.json b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/backup/src/ProjectA/project.json new file mode 100755 index 000000000..ce67b3a46 --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/backup/src/ProjectA/project.json @@ -0,0 +1,19 @@ +{ + "version": "1.0.0-*", + "buildOptions": { + "debugType": "portable", + "emitEntryPoint": true + }, + "dependencies": {}, + "frameworks": { + "netcoreapp1.0": { + "dependencies": { + "Microsoft.NETCore.App": { + "type": "platform", + "version": "1.0.0" + } + }, + "imports": "dnxcore50" + } + } +} diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/global.json b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/global.json new file mode 100644 index 000000000..d93eeb709 --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/global.json @@ -0,0 +1,3 @@ +{ + "projects": [ "src", "test" ] +} \ No newline at end of file diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs new file mode 100755 index 000000000..51233cffa --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace ConsoleApplication +{ + public class Program + { + public static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/ProjectA.csproj b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/ProjectA.csproj new file mode 100755 index 000000000..e8474ecd4 --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/src/ProjectA/ProjectA.csproj @@ -0,0 +1,13 @@ + + + + netcoreapp1.0 + portable + ProjectA + Exe + ProjectA + $(PackageTargetFallback);dnxcore50 + 1.0.3 + + + diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/Program.cs b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/Program.cs new file mode 100755 index 000000000..51233cffa --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace ConsoleApplication +{ + public class Program + { + public static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/project.json b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/project.json new file mode 100755 index 000000000..a93ee629a --- /dev/null +++ b/TestAssets/NonRestoredTestProjects/PJHalfMigrated/test/ProjectB/project.json @@ -0,0 +1,23 @@ +{ + "version": "1.0.0-*", + "buildOptions": { + "debugType": "portable", + "emitEntryPoint": true + }, + "dependencies": { + "ProjectA": { + "target": "project" + } + }, + "frameworks": { + "netcoreapp1.0": { + "dependencies": { + "Microsoft.NETCore.App": { + "type": "platform", + "version": "1.0.0" + } + }, + "imports": "dnxcore50" + } + } +}