Skip to content

Commit

Permalink
#61: add test project to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Sep 24, 2016
1 parent a6149e5 commit 3a0feb0
Show file tree
Hide file tree
Showing 7 changed files with 150 additions and 7 deletions.
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"projects": [
"src",
"tests"
]
}
2 changes: 1 addition & 1 deletion src/JabberNet.Netlib.Dns/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"debugType": "portable"
},
"frameworks": {
"net45": {}
"net40": {}
}
}
4 changes: 2 additions & 2 deletions src/JabberNet.Netlib.Dns/project.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"locked": false,
"version": 2,
"targets": {
".NETFramework,Version=v4.5": {}
".NETFramework,Version=v4.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"": [],
".NETFramework,Version=v4.5": []
".NETFramework,Version=v4.0": []
},
"tools": {},
"projectFileToolGroups": {}
Expand Down
3 changes: 2 additions & 1 deletion src/JabberNet/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
},
"dependencies": {
"zlib.net": "1.0.4",

"JabberNet.Netlib.Dns": "*"
},
"frameworks": {
"net45": {
"net40": {
"frameworkAssemblies": {
"System.Drawing": "4.0.0.0",
"System.Security": "4.0.0.0",
Expand Down
6 changes: 3 additions & 3 deletions src/JabberNet/project.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"locked": false,
"version": 2,
"targets": {
".NETFramework,Version=v4.5": {
".NETFramework,Version=v4.0": {
"zlib.net/1.0.4": {
"type": "package",
"compile": {
Expand All @@ -14,7 +14,7 @@
},
"JabberNet.Netlib.Dns/2.1.2": {
"type": "project",
"framework": ".NETFramework,Version=v4.5"
"framework": ".NETFramework,Version=v4.0"
}
}
},
Expand All @@ -39,7 +39,7 @@
"JabberNet.Netlib.Dns",
"zlib.net >= 1.0.4"
],
".NETFramework,Version=v4.5": [
".NETFramework,Version=v4.0": [
"System.Drawing >= 4.0.0",
"System.Security >= 4.0.0",
"System.Xml >= 4.0.0"
Expand Down
18 changes: 18 additions & 0 deletions tests/JabberNet.Test/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": "2.1.2-*",
"buildOptions": {
"debugType": "portable"
},
"dependencies": {
"NUnit": "3.4.1",
"RhinoMocks": "3.6.1",

"JabberNet": "*"
},
"frameworks": {
"net40": {
"frameworkAssemblies": {
}
}
}
}
118 changes: 118 additions & 0 deletions tests/JabberNet.Test/project.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"locked": false,
"version": 2,
"targets": {
".NETFramework,Version=v4.0": {
"NUnit/3.4.1": {
"type": "package",
"compile": {
"lib/net40/nunit.framework.dll": {}
},
"runtime": {
"lib/net40/nunit.framework.dll": {}
}
},
"RhinoMocks/3.6.1": {
"type": "package",
"compile": {
"lib/net/Rhino.Mocks.dll": {}
},
"runtime": {
"lib/net/Rhino.Mocks.dll": {}
}
},
"zlib.net/1.0.4": {
"type": "package",
"compile": {
"lib/zlib.net.dll": {}
},
"runtime": {
"lib/zlib.net.dll": {}
}
},
"JabberNet/2.1.2": {
"type": "project",
"framework": ".NETFramework,Version=v4.0",
"dependencies": {
"JabberNet.Netlib.Dns": "1.0.0",
"zlib.net": "1.0.4"
},
"frameworkAssemblies": [
"System.Drawing",
"System.Security",
"System.Xml"
]
},
"JabberNet.Netlib.Dns/2.1.2": {
"type": "project",
"framework": ".NETFramework,Version=v4.0"
}
}
},
"libraries": {
"NUnit/3.4.1": {
"sha512": "G/9h/ENn8+GvT5DvBqVNrUhIWuxtAr0/oVGN2ljKVUw50EAZYBzeWSy9s6nqMswaQACpQzljql1sWQ/peE2eJg==",
"type": "package",
"path": "NUnit/3.4.1",
"files": [
"CHANGES.txt",
"LICENSE.txt",
"NOTICES.txt",
"NUnit.3.4.1.nupkg.sha512",
"NUnit.nuspec",
"lib/dotnet/nunit.framework.dll",
"lib/dotnet/nunit.framework.xml",
"lib/net20/NUnit.System.Linq.dll",
"lib/net20/nunit.framework.dll",
"lib/net20/nunit.framework.xml",
"lib/net35/nunit.framework.dll",
"lib/net35/nunit.framework.xml",
"lib/net40/nunit.framework.dll",
"lib/net40/nunit.framework.xml",
"lib/net45/nunit.framework.dll",
"lib/net45/nunit.framework.xml",
"lib/portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10/nunit.framework.dll",
"lib/portable-net45+win8+wp8+wpa81+Xamarin.Mac+MonoAndroid10+MonoTouch10+Xamarin.iOS10/nunit.framework.xml"
]
},
"RhinoMocks/3.6.1": {
"sha512": "0HjdR7PVVUDz9Db5cLzU0Dquay8MhoCoZ8PJRZOo10Iysq4m+mjl2aaxc4eWztvZ6S1v/NYW5xv1qul0ToN21w==",
"type": "package",
"path": "RhinoMocks/3.6.1",
"files": [
"RhinoMocks.3.6.1.nupkg.sha512",
"RhinoMocks.nuspec",
"lib/net/Rhino.Mocks.dll",
"lib/net/Rhino.Mocks.xml"
]
},
"zlib.net/1.0.4": {
"sha512": "ywKkVY1y20tGQsUnYgKupYm91L8GVrVgoEOFTjfR1Bb5Xiy5tBJu5SV9liIiW2h8/KQUBefE45vSythtNMmahQ==",
"type": "package",
"path": "zlib.net/1.0.4",
"files": [
"lib/zlib.net.dll",
"zlib.net.1.0.4.nupkg.sha512",
"zlib.net.nuspec"
]
},
"JabberNet/2.1.2": {
"type": "project",
"path": "../../src/JabberNet/project.json"
},
"JabberNet.Netlib.Dns/2.1.2": {
"type": "project",
"path": "../../src/JabberNet.Netlib.Dns/project.json"
}
},
"projectFileDependencyGroups": {
"": [
"JabberNet",
"NUnit >= 3.4.1",
"RhinoMocks >= 3.6.1"
],
".NETFramework,Version=v4.0": []
},
"tools": {},
"projectFileToolGroups": {}
}

0 comments on commit 3a0feb0

Please sign in to comment.