From 95b9b091df0ff516917d5413548454ac0614f80c Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 11:29:39 +0100 Subject: [PATCH 1/6] Fix FromBase64 - Improve efficiency by using string instead of char. - Rework native call to use string. - Bump native version to 100.5.0.11. - Add unit tests. --- .../UnitTestConvertTests.cs | 67 +++++++++++++++++++ .../System/AssemblyInfo.cs | 2 +- nanoFramework.CoreLibrary/System/Convert.cs | 22 ++---- 3 files changed, 73 insertions(+), 18 deletions(-) diff --git a/Tests/NFUnitTestConversions/UnitTestConvertTests.cs b/Tests/NFUnitTestConversions/UnitTestConvertTests.cs index b9573542..c81bee20 100644 --- a/Tests/NFUnitTestConversions/UnitTestConvertTests.cs +++ b/Tests/NFUnitTestConversions/UnitTestConvertTests.cs @@ -510,5 +510,72 @@ public static string FloatToHex(float f) #endregion + #region Base64 conversions + + [TestMethod] + public void Convert_FromToBase64() + { + string sharedAccessKeyPlainText = "IAmALongAndNiceKeyInPlainText"; + string sharedAccessKey = "SUFtQUxvbmdBbmROaWNlS2V5SW5QbGFpblRleHQ="; + + byte[] sharedAccessKeyAsByte = Convert.FromBase64String(sharedAccessKey); + + char[] charArray = new char[sharedAccessKeyAsByte.Length]; + + for (int i = 0; i < sharedAccessKeyAsByte.Length; i++) + { + charArray[i] = (char)sharedAccessKeyAsByte[i]; + } + + string sharedAccessKeyAsString = new(charArray); + + Assert.Equal(sharedAccessKeyAsString, sharedAccessKeyPlainText, "Converted string as byte array is not correct."); + + string convertedFromBase64 = Convert.ToBase64String(sharedAccessKeyAsByte); + + Debug.WriteLine($">>{convertedFromBase64}"); + Debug.WriteLine($">>{sharedAccessKey}"); + + Assert.Equal(convertedFromBase64, sharedAccessKey, "Converted string from byte array is not correct."); + } + + [TestMethod] + public void Convert_ToFromBase64() + { + byte[] inArray = new byte[256]; + byte[] outArray; + int x; + + for (x = 0; x < inArray.Length; x++) + { + inArray[x] = (byte)x; + } + + string base64EncodedString_WithLineBreaks = @"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4 +OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3Bx +cnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmq +q6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj +5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/w=="; + + string base64EncodedString_WithoutLineBreaks = "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/w=="; + + string base64string1 = Convert.ToBase64String( + inArray, + 0, + inArray.Length, + Base64FormattingOptions.InsertLineBreaks); + + Assert.Equal(base64string1, base64EncodedString_WithLineBreaks, "Converted Base64 string with line breaks is not correct."); + + string base64string2 = Convert.ToBase64String(inArray); + + Assert.Equal(base64string2, base64EncodedString_WithoutLineBreaks, "Converted Base64 string without line breaks is not correct."); + + outArray = Convert.FromBase64String(base64string1); + + Assert.Equal(inArray, outArray, "Convert back from Base64 encoded array is not equal"); + } + + #endregion } } diff --git a/nanoFramework.CoreLibrary/System/AssemblyInfo.cs b/nanoFramework.CoreLibrary/System/AssemblyInfo.cs index 007a083a..09ae9607 100644 --- a/nanoFramework.CoreLibrary/System/AssemblyInfo.cs +++ b/nanoFramework.CoreLibrary/System/AssemblyInfo.cs @@ -13,4 +13,4 @@ [assembly: AssemblyProduct(".NET nanoFramework mscorlib")] [assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")] -[assembly: AssemblyNativeVersion("100.5.0.10")] +[assembly: AssemblyNativeVersion("100.5.0.11")] diff --git a/nanoFramework.CoreLibrary/System/Convert.cs b/nanoFramework.CoreLibrary/System/Convert.cs index ff3aa539..dc1934a1 100644 --- a/nanoFramework.CoreLibrary/System/Convert.cs +++ b/nanoFramework.CoreLibrary/System/Convert.cs @@ -308,16 +308,8 @@ public static string ToBase64String(byte[] inArray, int offset, int length, Base /// The white-space characters, and their Unicode names and hexadecimal code points, are tab(CHARACTER TABULATION, U+0009), newline(LINE FEED, U+000A), carriage return (CARRIAGE RETURN, U+000D), and blank(SPACE, U+0020). An arbitrary number of white-space characters can appear in s because all white-space characters are ignored. /// The valueless character, "=", is used for trailing padding. The end of s can consist of zero, one, or two padding characters. /// - public static byte[] FromBase64String(string inString) - { -#pragma warning disable S3928 // Parameter names used into ArgumentException constructors should match an existing one - if (inString == null) throw new ArgumentNullException(); -#pragma warning restore S3928 // Parameter names used into ArgumentException constructors should match an existing one - - var chArray = inString.ToCharArray(); - - return FromBase64CharArray(chArray, 0, chArray.Length); - } + [MethodImpl(MethodImplOptions.InternalCall)] + public extern static byte[] FromBase64String(string inString); /// /// Converts a subset of a Unicode character array, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array. Parameters specify the subset in the input array and the number of elements to convert. @@ -341,14 +333,10 @@ public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) if (offset > inArray.Length - length) throw new ArgumentOutOfRangeException(); #pragma warning restore S3928 // Parameter names used into ArgumentException constructors should match an existing one - // copy to new array - var destinationArray = new char[length]; - Array.Copy(inArray, offset, destinationArray, 0, length); + // copy to new string + string base64String = new(inArray, offset, length); - return FromBase64CharArray(destinationArray, length); + return FromBase64String(base64String); } - - [MethodImpl(MethodImplOptions.InternalCall)] - private static extern byte[] FromBase64CharArray(char[] inArray, int length); } } From b3525261456c42965ebaa77d500d6b91f777f31a Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 16:19:46 +0100 Subject: [PATCH 2/6] Update mscorlib nuget --- Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj | 4 ++-- Tests/NFUnitTest_DummyAdapter/packages.config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj b/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj index 995fe222..03a5253a 100644 --- a/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj +++ b/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj @@ -36,8 +36,8 @@ - - ..\..\packages\nanoFramework.CoreLibrary.1.10.4-preview.11\lib\mscorlib.dll + + ..\..\packages\nanoFramework.CoreLibrary.1.10.5-preview.10\lib\mscorlib.dll True True diff --git a/Tests/NFUnitTest_DummyAdapter/packages.config b/Tests/NFUnitTest_DummyAdapter/packages.config index b80ad90b..af86a8a0 100644 --- a/Tests/NFUnitTest_DummyAdapter/packages.config +++ b/Tests/NFUnitTest_DummyAdapter/packages.config @@ -1,5 +1,5 @@  - + \ No newline at end of file From 2ed971bd515d0705eb59c4a7049ca0dfde580e64 Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 17:12:00 +0100 Subject: [PATCH 3/6] Remove app.config from dummy adapter --- .../NFUnitTest_DummyAdapter.nfproj | 1 - Tests/NFUnitTest_DummyAdapter/app.config | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 Tests/NFUnitTest_DummyAdapter/app.config diff --git a/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj b/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj index 03a5253a..ad02e6e5 100644 --- a/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj +++ b/Tests/NFUnitTest_DummyAdapter/NFUnitTest_DummyAdapter.nfproj @@ -31,7 +31,6 @@ - diff --git a/Tests/NFUnitTest_DummyAdapter/app.config b/Tests/NFUnitTest_DummyAdapter/app.config deleted file mode 100644 index fc68357f..00000000 --- a/Tests/NFUnitTest_DummyAdapter/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file From 6753a52180675667daba37827b6919b048deb009 Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 17:30:17 +0100 Subject: [PATCH 4/6] Work CI-CD - Add build steps for Test Framework. - Update test framework sub-module @ 8971e8e. --- azure-pipelines.yml | 6 ++---- nanoFramework.TestFramework | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a7f995db..9bd65839 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -34,8 +34,6 @@ jobs: steps: - # step from template @ nf-tools repo - # build steps only - template: azure-pipelines-templates/class-lib-build-only.yml@templates parameters: @@ -43,7 +41,7 @@ jobs: runUnitTests: true unitTestRunsettings: '$(System.DefaultWorkingDirectory)\Tests\NFUnitTest_DummyAdapter\nano.runsettings' - # rebuild CoreLibrary project to get the assembky checksum + # rebuild CoreLibrary project to get the assembly checksum - task: MSBuild@1 condition: and( succeeded(), eq( variables['StartReleaseCandidate'], false ) ) displayName: Rebuild CoreLibrary @@ -59,7 +57,7 @@ jobs: parameters: nugetPackageName: 'nanoFramework.CoreLibrary' - # rebuild CoreLibrary.NoReflection project to get the assembky checksum + # rebuild CoreLibrary.NoReflection project to get the assembly checksum - task: MSBuild@1 condition: and( succeeded(), eq( variables['StartReleaseCandidate'], false ) ) displayName: Rebuild CoreLibrary.NoReflection diff --git a/nanoFramework.TestFramework b/nanoFramework.TestFramework index 840c15cb..8971e8ea 160000 --- a/nanoFramework.TestFramework +++ b/nanoFramework.TestFramework @@ -1 +1 @@ -Subproject commit 840c15cb599373e386324b678c9d5c9fed480744 +Subproject commit 8971e8eabf03d7d27afd7789608472b2b8ca11d2 From aed1dd67fbb3b453d22130c378166a1a244b8559 Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 17:30:17 +0100 Subject: [PATCH 5/6] Work CI-CD - Add build steps for Test Framework. - Update test framework sub-module @ 8971e8e. - Fix deployment projects for mscorlib. --- nanoFramework.CoreLibrary.sln | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nanoFramework.CoreLibrary.sln b/nanoFramework.CoreLibrary.sln index ff188880..93515151 100644 --- a/nanoFramework.CoreLibrary.sln +++ b/nanoFramework.CoreLibrary.sln @@ -78,10 +78,13 @@ Global {BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Release|Any CPU.ActiveCfg = Release|Any CPU {BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Release|Any CPU.Build.0 = Release|Any CPU + {BE7B95D5-087C-45F8-8197-4B438BEDFE11}.Release|Any CPU.Deploy.0 = Release|Any CPU {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Release|Any CPU.ActiveCfg = Release|Any CPU {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Release|Any CPU.Build.0 = Release|Any CPU + {D1DAD305-BC77-4BDC-BCDA-ADAEF1D93455}.Release|Any CPU.Deploy.0 = Release|Any CPU {8D47514F-552C-4862-961F-0CAA315A231F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8D47514F-552C-4862-961F-0CAA315A231F}.Debug|Any CPU.Build.0 = Debug|Any CPU {8D47514F-552C-4862-961F-0CAA315A231F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU From a08622914806126c1ef8ddaaa26d546b532642fa Mon Sep 17 00:00:00 2001 From: josesimoes Date: Mon, 7 Jun 2021 18:59:03 +0100 Subject: [PATCH 6/6] Add import project to all unit test projects --- .../NFUnitTestArithmetic.nfproj | 8 ++++ Tests/NFUnitTestArray/NFUnitTestArray.nfproj | 40 +++++++++++++++++++ .../NFUnitTestAttributes.nfproj | 8 ++++ .../NFUnitTestBasicConcepts.nfproj | 8 ++++ .../NFUnitTestBitConverter.nfproj | 8 ++++ .../NFUnitTestClasses.nfproj | 8 ++++ .../NFUnitTestConversions.nfproj | 8 ++++ .../NFUnitTestDelegates.nfproj | 8 ++++ Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj | 8 ++++ .../NFUnitTestException.nfproj | 8 ++++ .../NFUnitTestInterface.nfproj | 8 ++++ .../NFUnitTestLexical.nfproj | 8 ++++ .../NFUnitTestNamespace.nfproj | 8 ++++ .../NFUnitTestStatements.nfproj | 8 ++++ .../NFUnitTestStruct/NFUnitTestStruct.nfproj | 8 ++++ .../NFUnitTestSystemLib.nfproj | 8 ++++ .../NFUnitTestThread/NFUnitTestThread.nfproj | 8 ++++ Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj | 8 ++++ .../NFUnitTestVariables.nfproj | 8 ++++ 19 files changed, 184 insertions(+) diff --git a/Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj b/Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj index 4e296971..edabe6d3 100644 --- a/Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj +++ b/Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj @@ -42,9 +42,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestArray/NFUnitTestArray.nfproj b/Tests/NFUnitTestArray/NFUnitTestArray.nfproj index 5345557c..f9ff914e 100644 --- a/Tests/NFUnitTestArray/NFUnitTestArray.nfproj +++ b/Tests/NFUnitTestArray/NFUnitTestArray.nfproj @@ -40,9 +40,49 @@ + + + + + + + + + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj b/Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj index 27667739..34345d7f 100644 --- a/Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj +++ b/Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj @@ -39,9 +39,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestBasicConcepts/NFUnitTestBasicConcepts.nfproj b/Tests/NFUnitTestBasicConcepts/NFUnitTestBasicConcepts.nfproj index 8b866d71..9d8ef09f 100644 --- a/Tests/NFUnitTestBasicConcepts/NFUnitTestBasicConcepts.nfproj +++ b/Tests/NFUnitTestBasicConcepts/NFUnitTestBasicConcepts.nfproj @@ -39,9 +39,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestBitConverter/NFUnitTestBitConverter.nfproj b/Tests/NFUnitTestBitConverter/NFUnitTestBitConverter.nfproj index f1827d3f..78dfa437 100644 --- a/Tests/NFUnitTestBitConverter/NFUnitTestBitConverter.nfproj +++ b/Tests/NFUnitTestBitConverter/NFUnitTestBitConverter.nfproj @@ -40,9 +40,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestClasses/NFUnitTestClasses.nfproj b/Tests/NFUnitTestClasses/NFUnitTestClasses.nfproj index 909059ee..6b0e2503 100644 --- a/Tests/NFUnitTestClasses/NFUnitTestClasses.nfproj +++ b/Tests/NFUnitTestClasses/NFUnitTestClasses.nfproj @@ -50,9 +50,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestConversions/NFUnitTestConversions.nfproj b/Tests/NFUnitTestConversions/NFUnitTestConversions.nfproj index f9a85c5e..71075e67 100644 --- a/Tests/NFUnitTestConversions/NFUnitTestConversions.nfproj +++ b/Tests/NFUnitTestConversions/NFUnitTestConversions.nfproj @@ -38,9 +38,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestDelegates/NFUnitTestDelegates.nfproj b/Tests/NFUnitTestDelegates/NFUnitTestDelegates.nfproj index 06085aba..904d0f0b 100644 --- a/Tests/NFUnitTestDelegates/NFUnitTestDelegates.nfproj +++ b/Tests/NFUnitTestDelegates/NFUnitTestDelegates.nfproj @@ -36,9 +36,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj b/Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj index 63fcb0e8..045b660f 100644 --- a/Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj +++ b/Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj @@ -36,9 +36,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestException/NFUnitTestException.nfproj b/Tests/NFUnitTestException/NFUnitTestException.nfproj index 4c77b827..f1463d2d 100644 --- a/Tests/NFUnitTestException/NFUnitTestException.nfproj +++ b/Tests/NFUnitTestException/NFUnitTestException.nfproj @@ -39,9 +39,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestInterface/NFUnitTestInterface.nfproj b/Tests/NFUnitTestInterface/NFUnitTestInterface.nfproj index 518252bf..01fa2a41 100644 --- a/Tests/NFUnitTestInterface/NFUnitTestInterface.nfproj +++ b/Tests/NFUnitTestInterface/NFUnitTestInterface.nfproj @@ -36,9 +36,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestLexical/NFUnitTestLexical.nfproj b/Tests/NFUnitTestLexical/NFUnitTestLexical.nfproj index 82f17cd1..f7e008d7 100644 --- a/Tests/NFUnitTestLexical/NFUnitTestLexical.nfproj +++ b/Tests/NFUnitTestLexical/NFUnitTestLexical.nfproj @@ -37,9 +37,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestNamespace/NFUnitTestNamespace.nfproj b/Tests/NFUnitTestNamespace/NFUnitTestNamespace.nfproj index be93a638..0dcab34f 100644 --- a/Tests/NFUnitTestNamespace/NFUnitTestNamespace.nfproj +++ b/Tests/NFUnitTestNamespace/NFUnitTestNamespace.nfproj @@ -46,9 +46,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestStatementsTests/NFUnitTestStatements.nfproj b/Tests/NFUnitTestStatementsTests/NFUnitTestStatements.nfproj index 89a641fa..2d24943d 100644 --- a/Tests/NFUnitTestStatementsTests/NFUnitTestStatements.nfproj +++ b/Tests/NFUnitTestStatementsTests/NFUnitTestStatements.nfproj @@ -36,9 +36,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestStruct/NFUnitTestStruct.nfproj b/Tests/NFUnitTestStruct/NFUnitTestStruct.nfproj index 7914448d..466f60a4 100644 --- a/Tests/NFUnitTestStruct/NFUnitTestStruct.nfproj +++ b/Tests/NFUnitTestStruct/NFUnitTestStruct.nfproj @@ -36,9 +36,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestSystemLib/NFUnitTestSystemLib.nfproj b/Tests/NFUnitTestSystemLib/NFUnitTestSystemLib.nfproj index dc6b9127..08529f1e 100644 --- a/Tests/NFUnitTestSystemLib/NFUnitTestSystemLib.nfproj +++ b/Tests/NFUnitTestSystemLib/NFUnitTestSystemLib.nfproj @@ -47,9 +47,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestThread/NFUnitTestThread.nfproj b/Tests/NFUnitTestThread/NFUnitTestThread.nfproj index f63d985e..ed4932de 100644 --- a/Tests/NFUnitTestThread/NFUnitTestThread.nfproj +++ b/Tests/NFUnitTestThread/NFUnitTestThread.nfproj @@ -45,9 +45,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj b/Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj index bd25c3e0..22f87d25 100644 --- a/Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj +++ b/Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj @@ -42,9 +42,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file diff --git a/Tests/NFUnitTestVariables/NFUnitTestVariables.nfproj b/Tests/NFUnitTestVariables/NFUnitTestVariables.nfproj index 8b0cb7a6..261bf435 100644 --- a/Tests/NFUnitTestVariables/NFUnitTestVariables.nfproj +++ b/Tests/NFUnitTestVariables/NFUnitTestVariables.nfproj @@ -37,9 +37,17 @@ + + + + + Update the Import path in nfproj to the correct nanoFramework.TestFramework NuGet package folder. + + + \ No newline at end of file