Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/NuGet.BuildTasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Microsoft.NuGet.Build.Tasks.Tests/Json')
-rw-r--r--src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.Designer.cs20
-rw-r--r--src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.resx6
-rw-r--r--src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithTargets.assets.json51
-rw-r--r--src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithoutTargets.assets.json39
4 files changed, 116 insertions, 0 deletions
diff --git a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.Designer.cs b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.Designer.cs
index e75ea94..9137dec 100644
--- a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.Designer.cs
+++ b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.Designer.cs
@@ -358,5 +358,25 @@ namespace Microsoft.NuGet.Build.Tasks.Tests.Json {
return ResourceManager.GetString("Win10_xunit", resourceCulture);
}
}
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Byte[].
+ /// </summary>
+ internal static byte[] WithoutTargets_assets {
+ get {
+ object obj = ResourceManager.GetObject("WithoutTargets_assets", resourceCulture);
+ return ((byte[])(obj));
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized resource of type System.Byte[].
+ /// </summary>
+ internal static byte[] WithTargets_assets {
+ get {
+ object obj = ResourceManager.GetObject("WithTargets_assets", resourceCulture);
+ return ((byte[])(obj));
+ }
+ }
}
}
diff --git a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.resx b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.resx
index 993a1fe..0286e1b 100644
--- a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.resx
+++ b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/Json.resx
@@ -151,4 +151,10 @@
<data name="MultipleProjectFileDependencyGroups_CaseMismatch" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>multipleprojectfiledependencygroups_casemismatch.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
+ <data name="WithoutTargets_assets" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>WithoutTargets.assets.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
+ <data name="WithTargets_assets" type="System.Resources.ResXFileRef, System.Windows.Forms">
+ <value>WithTargets.assets.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </data>
</root> \ No newline at end of file
diff --git a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithTargets.assets.json b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithTargets.assets.json
new file mode 100644
index 0000000..bef673f
--- /dev/null
+++ b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithTargets.assets.json
@@ -0,0 +1,51 @@
+{
+ "version": 2,
+ "targets": {
+ ".NETFramework,Version=v4.5": {
+ "System.Text/4.5.0": {
+ "type": "package",
+ "dependencies": {
+ "System": "4.5.0"
+ },
+ "compile": {
+ "ref/net45/System.Text.dll": {}
+ }
+ }
+ }
+ },
+ "libraries": {
+ "System.Text/4.5.0": {
+ "type": "package",
+ "path": "system.text/4.5.0"
+ }
+ },
+ "projectFileDependencyGroups": {},
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "X:\\ProjectPath\\ProjectPath.csproj",
+ "projectName": "ProjectPath",
+ "projectPath": "X:\\ProjectPath\\ProjectPath.csproj",
+ "outputPath": "X:\\ProjectPath\\obj\\",
+ "projectStyle": "PackageReference",
+ "originalTargetFrameworks": [
+ "net45"
+ ],
+ "frameworks": {
+ "net45": {
+ "projectReferences": {}
+ }
+ }
+ },
+ "frameworks": {
+ "net45": {
+ "dependencies": {
+ "System.Text": {
+ "target": "Package",
+ "version": "[4.5.0, )"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithoutTargets.assets.json b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithoutTargets.assets.json
new file mode 100644
index 0000000..4eae5df
--- /dev/null
+++ b/src/Microsoft.NuGet.Build.Tasks.Tests/Json/WithoutTargets.assets.json
@@ -0,0 +1,39 @@
+{
+ "version": 2,
+ "targets": {},
+ "libraries": {
+ "System.Text/4.5.0": {
+ "type": "package",
+ "path": "system.text/4.5.0"
+ }
+ },
+ "projectFileDependencyGroups": {},
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "X:\\ProjectPath\\ProjectPath.csproj",
+ "projectName": "ProjectPath",
+ "projectPath": "X:\\ProjectPath\\ProjectPath.csproj",
+ "outputPath": "X:\\ProjectPath\\obj\\",
+ "projectStyle": "PackageReference",
+ "originalTargetFrameworks": [
+ "net45"
+ ],
+ "frameworks": {
+ "net45": {
+ "projectReferences": {}
+ }
+ }
+ },
+ "frameworks": {
+ "net45": {
+ "dependencies": {
+ "System.Text": {
+ "target": "Package",
+ "version": "[4.5.0, )"
+ }
+ }
+ }
+ }
+ }
+} \ No newline at end of file