From faa00f7ae3f23529f0242311d425e7bb923689ea Mon Sep 17 00:00:00 2001 From: Srini Vasudevan Date: Fri, 13 Sep 2019 20:07:37 +1000 Subject: [PATCH 1/4] added snk --- Fitbit.NetCore/Fitbit.NetCore.csproj | 4 +++- Fitbit.NetCore/FitbitNetCore.snk | Bin 0 -> 596 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Fitbit.NetCore/FitbitNetCore.snk diff --git a/Fitbit.NetCore/Fitbit.NetCore.csproj b/Fitbit.NetCore/Fitbit.NetCore.csproj index 125143c4..6b8ef6cd 100644 --- a/Fitbit.NetCore/Fitbit.NetCore.csproj +++ b/Fitbit.NetCore/Fitbit.NetCore.csproj @@ -1,4 +1,4 @@ - + netstandard1.3;net45 @@ -17,6 +17,8 @@ http://static3.fitbit.com/simple.b-dis-png.h76d53d8e6a0653b38326a825b2b9cf57.pack?items=%2Fimages%2Fcommon%2Fbg_branding_b.png Fitbit OAuth2 API .NET IoT Wearables ..\NuGet + true + FitbitNetCore.snk diff --git a/Fitbit.NetCore/FitbitNetCore.snk b/Fitbit.NetCore/FitbitNetCore.snk new file mode 100644 index 0000000000000000000000000000000000000000..48358b5272b5bd639a80f6d77c735c01fc3f30f6 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098Sd04f?B)#QJ5iu&pnIj{t{e9)wVM3Bw z!NZ`6TFgO~Q*sWCXR)!y^FbRR6zFGoeBK&1}e;0B!V;v^S1)xWAU@a~7{*HiYF~0f=8K{)ln8kl5 z0k>w6Mn~qva`?*M!cFj1Yo!b>R^xjvEOTQ>i~F%dJqvJi+hV#aG(1bfw!4k>{}wKf zC{2}ht@hwSEYZ>=XIL+EOEgNJfCSzf*V(9Y>d+650zF2tT9kXduE#^IDj{k}yiSHk z!pnNsg&w8o!$XdFFlDZ^N;&1*^U~@y8>`~Lj}!6V6WB6I23z&}NNT$z0&TIp(4ON8 zlUpw$*Ac|WNS|6gyug(h5PzRZt}%bm5npw-SeJmxCh75o`S!sgDqVK4PSLm*tsL!y zCz=(>5iN^Y&%2RvEbPWV^jAk|0+-h;W)Nj4I=;<`s6jzRHjhtrt1--mEiNVNb4)l5 z2iHlZ5-Pe?7DI2406Sn0xr9L2H6Uk(wSE1pf^nlhwKY?nJ^2=Hm6swZtcw!W#*c}y z_ewOXQ@#cfG-9a@ss-x0)4`_5O)=cY^1c|qPvn-98j3mcY^!>k35cSd<57vl8?M|h i9}$ez_E-il5fiV?Zxwy4roq+x95aT)>Ga*3d(D9o^%+M1 literal 0 HcmV?d00001 From 9743730662de010764e474e33f08e8455d950175 Mon Sep 17 00:00:00 2001 From: Srini Vasudevan Date: Mon, 16 Sep 2019 19:35:45 +1000 Subject: [PATCH 2/4] added fitbit snk --- FitbitNetCore.snk | Bin 0 -> 596 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 FitbitNetCore.snk diff --git a/FitbitNetCore.snk b/FitbitNetCore.snk new file mode 100644 index 0000000000000000000000000000000000000000..f2c4275bf18b9173a4917678af36d8eceb70b617 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50097Hv%7b)r7CCTvX?C9;6ayHfzZ*qu?R`B zua|L5fK(Ah4?e3gF=iY$7>3%FR?BrrVR%^Ub1LH=)ly`%E9rn}6?fH#ZY4-?kYU`Z zqji0?1lgH{d6P{!vicT>GdWyUu*K$bIa+qm8gH#=&`K0vX5#f-B%=>kXrfJ(zE--I zES~7a7L~!2ZW}kTpKTHF%_~3TE3|oP<%0gaC@or-$r%pU>Gj`16_DCdqJRSoJ=p5-Hp@b$<>1f99w+1r?OrTyjV%Z2 zL+v2NaUp^aWB%wE(#@lt-TbRwzJ&BD3~_Z<{IeJn79maD2!r4oyAT9Kw@DFS9FzEE zIipK^p8UG>^LBx|kaL+&!rTM$g4@)t)3!AmDhV#vWl| zH*u*&c}9>1O7M?(TIP6~I iTtbbQQN)7zUwr^nA-zE56-gwdj;51m6T Date: Mon, 16 Sep 2019 19:45:51 +1000 Subject: [PATCH 3/4] added signature to test project --- .../Fitbit.NetCore.Tests.csproj | 249 +++++++++--------- Fitbit.NetCore.Tests/FitbitNetCore.snk | Bin 0 -> 596 bytes 2 files changed, 126 insertions(+), 123 deletions(-) create mode 100644 Fitbit.NetCore.Tests/FitbitNetCore.snk diff --git a/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj b/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj index 526904a2..0bc422f7 100644 --- a/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj +++ b/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj @@ -1,124 +1,127 @@ - - - - - Debug - AnyCPU - {DE9D7F3C-6F6C-43E2-AEE6-32E7DF894F3E} - Library - Properties - Fitbit.NetCore.Tests - Fitbit.NetCore.Tests - v4.6 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 15.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\Fitbit\packages\Castle.Core.4.1.1\lib\net45\Castle.Core.dll - - - ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.dll - - - ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.Core.dll - - - ..\Fitbit\packages\Moq.4.7.99\lib\net45\Moq.dll - - - ..\Fitbit\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll - - - ..\Fitbit\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll - - - ..\Fitbit\packages\AutoFixture.3.50.3\lib\net40\Ploeh.AutoFixture.dll - - - - - ..\Fitbit\packages\System.Net.Http.4.3.2\lib\net46\System.Net.Http.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll - - - ..\Fitbit\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net46\System.Security.Cryptography.X509Certificates.dll - - - - - - - - %(RecursiveDir)%(Filename)%(Extension) - - - - - %(RecursiveDir)%(Filename)%(Extension) - PreserveNewest - - - - %(RecursiveDir)%(Filename)%(Extension) - PreserveNewest - - - - - - netstandard1.3 - - - - - - - - - {81f4f528-0e81-49e0-a2b2-ed77495a9c15} - Fitbit.NetCore - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + + + Debug + AnyCPU + {DE9D7F3C-6F6C-43E2-AEE6-32E7DF894F3E} + Library + Properties + Fitbit.NetCore.Tests + Fitbit.NetCore.Tests + v4.6 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 15.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\Fitbit\packages\Castle.Core.4.1.1\lib\net45\Castle.Core.dll + + + ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.dll + + + ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.Core.dll + + + ..\Fitbit\packages\Moq.4.7.99\lib\net45\Moq.dll + + + ..\Fitbit\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll + + + ..\Fitbit\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll + + + ..\Fitbit\packages\AutoFixture.3.50.3\lib\net40\Ploeh.AutoFixture.dll + + + + + ..\Fitbit\packages\System.Net.Http.4.3.2\lib\net46\System.Net.Http.dll + + + ..\Fitbit\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll + + + ..\Fitbit\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll + + + ..\Fitbit\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + + + ..\Fitbit\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net46\System.Security.Cryptography.X509Certificates.dll + + + + + + + + %(RecursiveDir)%(Filename)%(Extension) + + + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + + + + + netstandard1.3 + + + true + + + FitbitNetCore.snk + + + + + + + + + {81f4f528-0e81-49e0-a2b2-ed77495a9c15} + Fitbit.NetCore + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + \ No newline at end of file diff --git a/Fitbit.NetCore.Tests/FitbitNetCore.snk b/Fitbit.NetCore.Tests/FitbitNetCore.snk new file mode 100644 index 0000000000000000000000000000000000000000..48358b5272b5bd639a80f6d77c735c01fc3f30f6 GIT binary patch literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098Sd04f?B)#QJ5iu&pnIj{t{e9)wVM3Bw z!NZ`6TFgO~Q*sWCXR)!y^FbRR6zFGoeBK&1}e;0B!V;v^S1)xWAU@a~7{*HiYF~0f=8K{)ln8kl5 z0k>w6Mn~qva`?*M!cFj1Yo!b>R^xjvEOTQ>i~F%dJqvJi+hV#aG(1bfw!4k>{}wKf zC{2}ht@hwSEYZ>=XIL+EOEgNJfCSzf*V(9Y>d+650zF2tT9kXduE#^IDj{k}yiSHk z!pnNsg&w8o!$XdFFlDZ^N;&1*^U~@y8>`~Lj}!6V6WB6I23z&}NNT$z0&TIp(4ON8 zlUpw$*Ac|WNS|6gyug(h5PzRZt}%bm5npw-SeJmxCh75o`S!sgDqVK4PSLm*tsL!y zCz=(>5iN^Y&%2RvEbPWV^jAk|0+-h;W)Nj4I=;<`s6jzRHjhtrt1--mEiNVNb4)l5 z2iHlZ5-Pe?7DI2406Sn0xr9L2H6Uk(wSE1pf^nlhwKY?nJ^2=Hm6swZtcw!W#*c}y z_ewOXQ@#cfG-9a@ss-x0)4`_5O)=cY^1c|qPvn-98j3mcY^!>k35cSd<57vl8?M|h i9}$ez_E-il5fiV?Zxwy4roq+x95aT)>Ga*3d(D9o^%+M1 literal 0 HcmV?d00001 From a01f1c9e7e8bbc92994a855d4500dbc5ce71c7d4 Mon Sep 17 00:00:00 2001 From: Srini Vasudevan Date: Mon, 16 Sep 2019 20:25:35 +1000 Subject: [PATCH 4/4] migrate the package references --- .../Fitbit.NetCore.Tests.csproj | 76 +++++++------------ Fitbit.NetCore.Tests/packages.config | 22 ------ Fitbit.NetCore/AssemblyInfo.cs | 3 +- Fitbit.Portable.Tests/FatTests.cs | 2 +- Fitbit.Portable.Tests/WeightTests.cs | 2 +- 5 files changed, 33 insertions(+), 72 deletions(-) delete mode 100644 Fitbit.NetCore.Tests/packages.config diff --git a/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj b/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj index 0bc422f7..b4954985 100644 --- a/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj +++ b/Fitbit.NetCore.Tests/Fitbit.NetCore.Tests.csproj @@ -1,6 +1,5 @@  - Debug AnyCPU @@ -39,46 +38,7 @@ 4 - - ..\Fitbit\packages\Castle.Core.4.1.1\lib\net45\Castle.Core.dll - - - ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.dll - - - ..\Fitbit\packages\FluentAssertions.4.19.3\lib\net45\FluentAssertions.Core.dll - - - ..\Fitbit\packages\Moq.4.7.99\lib\net45\Moq.dll - - - ..\Fitbit\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll - - - ..\Fitbit\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll - - - ..\Fitbit\packages\AutoFixture.3.50.3\lib\net40\Ploeh.AutoFixture.dll - - - - ..\Fitbit\packages\System.Net.Http.4.3.2\lib\net46\System.Net.Http.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net46\System.Security.Cryptography.Algorithms.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll - - - ..\Fitbit\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll - - - ..\Fitbit\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net46\System.Security.Cryptography.X509Certificates.dll - - - @@ -108,7 +68,6 @@ - @@ -116,12 +75,35 @@ Fitbit.NetCore + + + 3.50.3 + + + 4.19.3 + + + 14.0.0 + + + 4.7.99 + + + 10.0.3 + + + 3.12.0 + + + 3.7.0 + + + 3.8.0 + + + 4.3.2 + + - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - \ No newline at end of file diff --git a/Fitbit.NetCore.Tests/packages.config b/Fitbit.NetCore.Tests/packages.config deleted file mode 100644 index 02550478..00000000 --- a/Fitbit.NetCore.Tests/packages.config +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Fitbit.NetCore/AssemblyInfo.cs b/Fitbit.NetCore/AssemblyInfo.cs index b3701f58..ab2ab4bd 100644 --- a/Fitbit.NetCore/AssemblyInfo.cs +++ b/Fitbit.NetCore/AssemblyInfo.cs @@ -1,6 +1,7 @@ using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; +using System.Security.Cryptography.X509Certificates; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -28,4 +29,4 @@ [assembly: AssemblyVersion("2.0.1.0")] [assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: InternalsVisibleTo("Fitbit.NetCore.Tests")] \ No newline at end of file +[assembly: InternalsVisibleTo("Fitbit.NetCore.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c57958b5c424bde54b11312ac6992323acfd7de5d861429259c1c3a08a5acc419653720e8d67b1b1c6f3411b2014e867787cde1a36e3bf0cccc85492020e4a12fe95a049eb426b75d8e64f2d82b593587d08cd9ae0fc0653b40b427fc0bee6a7824509838aa98f8b7260c52c3ba4f8d53f675d84c554eb1670f85344620507b0")] \ No newline at end of file diff --git a/Fitbit.Portable.Tests/FatTests.cs b/Fitbit.Portable.Tests/FatTests.cs index 1aead3b9..6a85dd9a 100644 --- a/Fitbit.Portable.Tests/FatTests.cs +++ b/Fitbit.Portable.Tests/FatTests.cs @@ -16,7 +16,7 @@ public class FatTests { public Fixture fixture { get; set; } - [TestFixtureSetUp] + [SetUp] public void Init() { fixture = new Fixture(); diff --git a/Fitbit.Portable.Tests/WeightTests.cs b/Fitbit.Portable.Tests/WeightTests.cs index 4692e212..c7cf820a 100644 --- a/Fitbit.Portable.Tests/WeightTests.cs +++ b/Fitbit.Portable.Tests/WeightTests.cs @@ -16,7 +16,7 @@ public class WeightTests { public Fixture fixture { get; set; } - [TestFixtureSetUp] + [SetUp] public void Init() { fixture = new Fixture();