Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nanoframework/CoreLibrary
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.1-preview.11
Choose a base ref
...
head repository: nanoframework/CoreLibrary
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.67
Choose a head ref
Loading
Showing with 85,591 additions and 2 deletions.
  1. +3 −0 .gitmodules
  2. +9 −1 CHANGELOG.md
  3. +1 −0 NuGet.Config
  4. +18 −1 README.md
  5. +60 −0 Tests/NFUnitTestAdpater/NFUnitTestAdpater.nfproj
  6. +33 −0 Tests/NFUnitTestAdpater/Properties/AssemblyInfo.cs
  7. +22 −0 Tests/NFUnitTestAdpater/UnitTest1.cs
  8. +14 −0 Tests/NFUnitTestAdpater/nano.runsettings
  9. +5 −0 Tests/NFUnitTestAdpater/packages.config
  10. +50 −0 Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj
  11. +33 −0 Tests/NFUnitTestArithmetic/Properties/AssemblyInfo.cs
  12. +1,408 −0 Tests/NFUnitTestArithmetic/UnitTestArithmeticTest1.cs
  13. +2,943 −0 Tests/NFUnitTestArithmetic/UnitTestArithmeticTest2.cs
  14. +3,893 −0 Tests/NFUnitTestArithmetic/UnitTestExpressionTests.cs
  15. +8,026 −0 Tests/NFUnitTestArithmetic/UnitTestOtherArithmeticTests.cs
  16. +14 −0 Tests/NFUnitTestArithmetic/nano.runsettings
  17. +48 −0 Tests/NFUnitTestArray/NFUnitTestArray.nfproj
  18. +33 −0 Tests/NFUnitTestArray/Properties/AssemblyInfo.cs
  19. +571 −0 Tests/NFUnitTestArray/UnitTestOtherTests.cs
  20. +3,481 −0 Tests/NFUnitTestArray/UnitTestSimpleTests.cs
  21. +14 −0 Tests/NFUnitTestArray/nano.runsettings
  22. +48 −0 Tests/NFUnitTestAttributes/NFUnitTestAttributes.nfproj
  23. +33 −0 Tests/NFUnitTestAttributes/Properties/AssemblyInfo.cs
  24. +873 −0 Tests/NFUnitTestAttributes/UnitTestAttributesTest1.cs
  25. +107 −0 Tests/NFUnitTestAttributes/UnitTestAttributesTest2.cs
  26. +14 −0 Tests/NFUnitTestAttributes/nano.runsettings
  27. +47 −0 Tests/NFUnitTestBasicConcepts/NFUnitTestBasicConcepts.nfproj
  28. +33 −0 Tests/NFUnitTestBasicConcepts/Properties/AssemblyInfo.cs
  29. +6,068 −0 Tests/NFUnitTestBasicConcepts/UnitTestBasicConceptsTests.cs
  30. +14 −0 Tests/NFUnitTestBasicConcepts/nano.runsettings
  31. +66 −0 Tests/NFUnitTestClasses/NFUnitTestClasses.nfproj
  32. +33 −0 Tests/NFUnitTestClasses/Properties/AssemblyInfo.cs
  33. +1,571 −0 Tests/NFUnitTestClasses/UnitTestConstructorTest.cs
  34. +1,098 −0 Tests/NFUnitTestClasses/UnitTestConstsTests.cs
  35. +834 −0 Tests/NFUnitTestClasses/UnitTestDeclarationTests.cs
  36. +174 −0 Tests/NFUnitTestClasses/UnitTestDestructorTests.cs
  37. +71 −0 Tests/NFUnitTestClasses/UnitTestEventTests.cs
  38. +1,332 −0 Tests/NFUnitTestClasses/UnitTestFieldTests.cs
  39. +1,461 −0 Tests/NFUnitTestClasses/UnitTestIndexerTests.cs
  40. +2,260 −0 Tests/NFUnitTestClasses/UnitTestMembersTests.cs
  41. +4,401 −0 Tests/NFUnitTestClasses/UnitTestMethodsTests.cs
  42. +1,537 −0 Tests/NFUnitTestClasses/UnitTestOperatorTests.cs
  43. +1,965 −0 Tests/NFUnitTestClasses/UnitTestPropertiesTests.cs
  44. +328 −0 Tests/NFUnitTestClasses/UnitTestStaticTests.cs
  45. +14 −0 Tests/NFUnitTestClasses/nano.runsettings
  46. +5 −0 Tests/NFUnitTestClasses/packages.config
  47. +46 −0 Tests/NFUnitTestConversions/NFUnitTestConversions.nfproj
  48. +33 −0 Tests/NFUnitTestConversions/Properties/AssemblyInfo.cs
  49. +314 −0 Tests/NFUnitTestConversions/UnitTestBoxingTests.cs
  50. +361 −0 Tests/NFUnitTestConversions/UnitTestConvertTests.cs
  51. +926 −0 Tests/NFUnitTestConversions/UnitTestExprefTests.cs
  52. +629 −0 Tests/NFUnitTestCoreLibrary/BitConverter.cs
  53. +646 −0 Tests/NFUnitTestCoreLibrary/Helpers.cs
  54. +48 −0 Tests/NFUnitTestCoreLibrary/NFUnitTestBitConverter.nfproj
  55. +33 −0 Tests/NFUnitTestCoreLibrary/Properties/AssemblyInfo.cs
  56. +14 −0 Tests/NFUnitTestCoreLibrary/nano.runsettings
  57. +44 −0 Tests/NFUnitTestDelegates/NFUnitTestDelegates.nfproj
  58. +33 −0 Tests/NFUnitTestDelegates/Properties/AssemblyInfo.cs
  59. +2,595 −0 Tests/NFUnitTestDelegates/UnitTestDelegatesTests.cs
  60. +14 −0 Tests/NFUnitTestDelegates/nano.runsettings
  61. +44 −0 Tests/NFUnitTestEnum/NFUnitTestEnum.nfproj
  62. +33 −0 Tests/NFUnitTestEnum/Properties/AssemblyInfo.cs
  63. +2,654 −0 Tests/NFUnitTestEnum/UnitTestEnumTests.cs
  64. +14 −0 Tests/NFUnitTestEnum/nano.runsettings
  65. +44 −0 Tests/NFUnitTestException/NFUnitTestException.nfproj
  66. +33 −0 Tests/NFUnitTestException/Properties/AssemblyInfo.cs
  67. +2,297 −0 Tests/NFUnitTestException/UnitTestExceptionTests.cs
  68. +14 −0 Tests/NFUnitTestException/nano.runsettings
  69. +44 −0 Tests/NFUnitTestInterface/NFUnitTestInterface.nfproj
  70. +33 −0 Tests/NFUnitTestInterface/Properties/AssemblyInfo.cs
  71. +3,460 −0 Tests/NFUnitTestInterface/UnitTestInterfaceTests.cs
  72. +14 −0 Tests/NFUnitTestInterface/nano.runsettings
  73. +45 −0 Tests/NFUnitTestLexical/NFUnitTestLexical.nfproj
  74. +33 −0 Tests/NFUnitTestLexical/Properties/AssemblyInfo.cs
  75. +2,349 −0 Tests/NFUnitTestLexical/UnitTestLExicalTest1.cs
  76. +676 −0 Tests/NFUnitTestLexical/UnitTestLexicalTest2.cs
  77. +14 −0 Tests/NFUnitTestLexical/nano.runsettings
  78. +54 −0 Tests/NFUnitTestNamespace/NFUnitTestNamespace.nfproj
  79. +26 −0 Tests/NFUnitTestNamespace/NS_attribute_01.cs
  80. +26 −0 Tests/NFUnitTestNamespace/NS_attribute_02.cs
  81. +15 −0 Tests/NFUnitTestNamespace/NS_compunit_01A.cs
  82. +15 −0 Tests/NFUnitTestNamespace/NS_compunit_01B.cs
  83. +21 −0 Tests/NFUnitTestNamespace/NS_compunit_03A.cs
  84. +20 −0 Tests/NFUnitTestNamespace/NS_compunit_03B.cs
  85. +21 −0 Tests/NFUnitTestNamespace/NS_compunit_04A.cs
  86. +20 −0 Tests/NFUnitTestNamespace/NS_compunit_04B.cs
  87. +13 −0 Tests/NFUnitTestNamespace/NS_decl_14.cs
  88. +13 −0 Tests/NFUnitTestNamespace/NS_decl_15.cs
  89. +33 −0 Tests/NFUnitTestNamespace/Properties/AssemblyInfo.cs
  90. +1,643 −0 Tests/NFUnitTestNamespace/UnitTestNamespaceTests.cs
  91. +14 −0 Tests/NFUnitTestNamespace/nano.runsettings
  92. +44 −0 Tests/NFUnitTestStatementsTests/NFUnitTestStatements.nfproj
  93. +33 −0 Tests/NFUnitTestStatementsTests/Properties/AssemblyInfo.cs
  94. +5,062 −0 Tests/NFUnitTestStatementsTests/UnitTestStatementTests.cs
  95. +14 −0 Tests/NFUnitTestStatementsTests/nano.runsettings
  96. +44 −0 Tests/NFUnitTestStruct/NFUnitTestStruct.nfproj
  97. +33 −0 Tests/NFUnitTestStruct/Properties/AssemblyInfo.cs
  98. +1,036 −0 Tests/NFUnitTestStruct/UnitTestStructs.cs
  99. +14 −0 Tests/NFUnitTestStruct/nano.runsettings
  100. +70 −0 Tests/NFUnitTestSystemLib/NFUnitTestSystemLib.nfproj
  101. +33 −0 Tests/NFUnitTestSystemLib/Properties/AssemblyInfo.cs
  102. +1,177 −0 Tests/NFUnitTestSystemLib/UnitTestDateTime.cs
  103. +175 −0 Tests/NFUnitTestSystemLib/UnitTestGCTest.cs
  104. +324 −0 Tests/NFUnitTestSystemLib/UnitTestGuid.cs
  105. +218 −0 Tests/NFUnitTestSystemLib/UnitTestInitLocalTests.cs
  106. +879 −0 Tests/NFUnitTestSystemLib/UnitTestParseTests.cs
  107. +92 −0 Tests/NFUnitTestSystemLib/UnitTestReflectionAssemblyTest.cs
  108. +292 −0 Tests/NFUnitTestSystemLib/UnitTestReflectionMemberTest.cs
  109. +213 −0 Tests/NFUnitTestSystemLib/UnitTestReflectionTypeTest.cs
  110. +332 −0 Tests/NFUnitTestSystemLib/UnitTestStringTests.cs
  111. +1,146 −0 Tests/NFUnitTestSystemLib/UnitTestTimeSpan.cs
  112. +431 −0 Tests/NFUnitTestSystemLib/UnitTestTypeTests.cs
  113. +100 −0 Tests/NFUnitTestSystemLib/UnitTestWeakReferenceTests.cs
  114. +14 −0 Tests/NFUnitTestSystemLib/nano.runsettings
  115. +5 −0 Tests/NFUnitTestSystemLib/packages.config
  116. +53 −0 Tests/NFUnitTestThread/NFUnitTestThread.nfproj
  117. +33 −0 Tests/NFUnitTestThread/Properties/AssemblyInfo.cs
  118. +290 −0 Tests/NFUnitTestThread/UnitTestAutoResetEvents.cs
  119. +288 −0 Tests/NFUnitTestThread/UnitTestInterlocTests.cs
  120. +237 −0 Tests/NFUnitTestThread/UnitTestMonitorTests.cs
  121. +1,206 −0 Tests/NFUnitTestThread/UnitTestThreadTest.cs
  122. +573 −0 Tests/NFUnitTestThread/UnitTestTimeTests.cs
  123. +81 −0 Tests/NFUnitTestThread/UnitTestTimeoutTests.cs
  124. +160 −0 Tests/NFUnitTestThread/UnitTestWaitHandleTests.cs
  125. +14 −0 Tests/NFUnitTestThread/nano.runsettings
  126. +49 −0 Tests/NFUnitTestTypes/NFUnitTestTypes.nfproj
  127. +33 −0 Tests/NFUnitTestTypes/Properties/AssemblyInfo.cs
  128. +211 −0 Tests/NFUnitTestTypes/UnitTestValueArrayTypess.cs
  129. +257 −0 Tests/NFUnitTestTypes/UnitTestValueDefultConstTests.cs
  130. +849 −0 Tests/NFUnitTestTypes/UnitTestValueFloatTests.cs
  131. +1,734 −0 Tests/NFUnitTestTypes/UnitTestValueIntegralTests.cs
  132. +226 −0 Tests/NFUnitTestTypes/UnitTestValueSimpleTests.cs
  133. +84 −0 Tests/NFUnitTestTypes/UnitTestValueTests.cs
  134. +14 −0 Tests/NFUnitTestTypes/nano.runsettings
  135. +1,876 −0 Tests/NFUnitTestVariables/CategoryTests.cs
  136. +45 −0 Tests/NFUnitTestVariables/NFUnitTestVariables.nfproj
  137. +33 −0 Tests/NFUnitTestVariables/Properties/AssemblyInfo.cs
  138. +564 −0 Tests/NFUnitTestVariables/VariableTests.cs
  139. +14 −0 Tests/NFUnitTestVariables/nano.runsettings
  140. +39 −0 Tests/TestFramework/Properties/AssemblyInfo.cs
  141. +37 −0 Tests/TestFramework/TestFramework.nfproj
  142. +33 −0 Tests/UnitTestLauncher/Properties/AssemblyInfo.cs
  143. +34 −0 Tests/UnitTestLauncher/UnitTestLauncher.nfproj
  144. +1 −0 azure-pipelines.yml
  145. +204 −0 nanoFramework.CoreLibrary.sln
  146. +1 −0 nanoFramework.TestFramework
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "nanoFramework.TestFramework"]
path = nanoFramework.TestFramework
url = https://github.com/nanoframework/nanoFramework.TestFramework
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,15 @@

## [**Changes available only in 'Preview' NuGet packages:**](https://github.com/nanoframework/lib-CoreLibrary/tree/HEAD)

[Full Changelog](https://github.com/nanoframework/lib-CoreLibrary/compare/v1.10.1-preview.7...HEAD)
[Full Changelog](https://github.com/nanoframework/lib-CoreLibrary/compare/v1.10.1-preview.9...HEAD)

**Implemented enhancements:**

- ToString\(\) reimplementation [\#118](https://github.com/nanoframework/lib-CoreLibrary/pull/118)

## [v1.10.1-preview.9](https://github.com/nanoframework/lib-CoreLibrary/tree/v1.10.1-preview.9) (2021-01-06)

[Full Changelog](https://github.com/nanoframework/lib-CoreLibrary/compare/v1.10.1-preview.7...v1.10.1-preview.9)

**Implemented enhancements:**

1 change: 1 addition & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@
<configuration>
<packageSources>
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

-----

### Welcome to the **nanoFramework** Base Class Library repository!
# Welcome to the **nanoFramework** Base Class Library repository!

## Build status

@@ -20,6 +20,23 @@

The **nanoFramework** Base Class Library is provided in two flavours: with or without support for System.Reflection namespace. The reason for this is that the reflection API adds up a significant size to the DLL and image size. For targets with smaller flash this can be prohibitive.

## Unit Test

nanoFramework has a dedicated [Unit Test framework](https://github.com/nanoframework/nanoFramework.TestFramework). This repository has Unit Test and you will find all of them under the `Tests`folder. The main solution embed all all the tests as well. You can run them directly from Visual Studio and create new tests. For more information on the [Unit Test Framework](https://docs.nanoframework.net/content/unit-test/index.html).

lib-CoreLibrary has specific needs that differ from what you'll find in the documentation:

- You need to have th nanoFramework.TestFramework as a nuget package as it will bring the nanoCLR Win32 emulator
- You need to remove the reference to mscorlib, nanoFramework.TestFramework and nanoFramework.UnitTestLauncher
- Use project reference instead for all those 3 elements

You can then run the test either on a real device, either in the emulator as described in the documentation. You may have to manually flash your device for the mscorlib version to match the one you are building on.

**Important**: Any new code checked in this repository will have to:

- have a proper test covering for all the methods, properties, events and the possible exceptions,
- do not break more of the the existing tests meaning, in other words, it should not create more issues than already existing.

## Feedback and documentation

For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).
60 changes: 60 additions & 0 deletions Tests/NFUnitTestAdpater/NFUnitTestAdpater.nfproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>396a2b21-8a5f-4274-9fdd-3b35dc8eae47</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<FileAlignment>512</FileAlignment>
<RootNamespace>NFUnitTestAdpater</RootNamespace>
<AssemblyName>NFUnitTest</AssemblyName>
<IsCodedUITest>False</IsCodedUITest>
<IsTestProject>true</IsTestProject>
<TestProjectType>UnitTest</TestProjectType>
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
<PropertyGroup>
<RunSettingsFilePath>$(MSBuildProjectDirectory)\nano.runsettings</RunSettingsFilePath>
</PropertyGroup>
<ItemGroup>
<Compile Include="UnitTest1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="mscorlib, Version=1.10.1.0, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\..\packages\nanoFramework.CoreLibrary.1.10.1-preview.9\lib\mscorlib.dll</HintPath>
<Private>True</Private>
<SpecificVersion>True</SpecificVersion>
</Reference>
<Reference Include="nanoFramework.TestFramework, Version=1.0.25.0, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\..\packages\nanoFramework.TestFramework.1.0.25\lib\nanoFramework.TestFramework.dll</HintPath>
<Private>True</Private>
<SpecificVersion>True</SpecificVersion>
</Reference>
<Reference Include="nanoFramework.UnitTestLauncher, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c07d481e9758c731">
<HintPath>..\..\packages\nanoFramework.TestFramework.1.0.25\lib\nanoFramework.UnitTestLauncher.exe</HintPath>
<Private>True</Private>
<SpecificVersion>True</SpecificVersion>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="nano.runsettings" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
<ProjectExtensions>
<ProjectCapabilities>
<ProjectConfigurationsDeclaredAsItems />
</ProjectCapabilities>
</ProjectExtensions>
</Project>
33 changes: 33 additions & 0 deletions Tests/NFUnitTestAdpater/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CSharp.TestApplication")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CSharp.TestApplication")]
[assembly: AssemblyCopyright("Copyright © ")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
22 changes: 22 additions & 0 deletions Tests/NFUnitTestAdpater/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// Copyright (c) .NET Foundation and Contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//

using nanoFramework.TestFramework;
using System;
using System.Diagnostics;

namespace NFUnitTestAdpater
{
[TestClass]
public class Test1
{
[TestMethod]
public void TestMethod()
{
Debug.WriteLine("This is just to get the TestAdapter. Don not remove this project!");
}
}
}
14 changes: 14 additions & 0 deletions Tests/NFUnitTestAdpater/nano.runsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<!-- Configurations that affect the Test Framework -->
<RunConfiguration>
<MaxCpuCount>1</MaxCpuCount>
<ResultsDirectory>.\TestResults</ResultsDirectory><!-- Path relative to solution directory -->
<TestSessionTimeout>120000</TestSessionTimeout><!-- Milliseconds -->
<TargetFrameworkVersion>Framework40</TargetFrameworkVersion>
</RunConfiguration>
<nanoFrameworkAdapter>
<Logging>None</Logging>
<IsRealHardware>False</IsRealHardware>
</nanoFrameworkAdapter>
</RunSettings>
5 changes: 5 additions & 0 deletions Tests/NFUnitTestAdpater/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="nanoFramework.CoreLibrary" version="1.10.1-preview.9" targetFramework="netnanoframework10" />
<package id="nanoFramework.TestFramework" version="1.0.25" targetFramework="netnanoframework10" developmentDependency="true" />
</packages>
50 changes: 50 additions & 0 deletions Tests/NFUnitTestArithmetic/NFUnitTestArithmetic.nfproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ProjectCapability Include="TestContainer" />
</ItemGroup>
<PropertyGroup Label="Globals">
<NanoFrameworkProjectSystemPath>$(MSBuildToolsPath)..\..\..\nanoFramework\v1.0\</NanoFrameworkProjectSystemPath>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.Default.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectTypeGuids>{11A8DD76-328B-46DF-9F39-F559912D0360};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>6b598666-54c8-4705-a7fb-b2bc75ca00bc</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<FileAlignment>512</FileAlignment>
<RootNamespace>NFUnitTestArithmetic</RootNamespace>
<AssemblyName>NFUnitTest</AssemblyName>
<IsCodedUITest>False</IsCodedUITest>
<IsTestProject>true</IsTestProject>
<TestProjectType>UnitTest</TestProjectType>
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
</PropertyGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.props" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.props')" />
<PropertyGroup>
<RunSettingsFilePath>$(MSBuildProjectDirectory)\nano.runsettings</RunSettingsFilePath>
</PropertyGroup>
<ItemGroup>
<Compile Include="UnitTestArithmeticTest1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UnitTestArithmeticTest2.cs" />
<Compile Include="UnitTestExpressionTests.cs" />
<Compile Include="UnitTestOtherArithmeticTests.cs" />
</ItemGroup>
<ItemGroup>
<None Include="nano.runsettings" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\nanoFramework.CoreLibrary\CoreLibrary.nfproj" />
<ProjectReference Include="..\TestFramework\TestFramework.nfproj" />
<ProjectReference Include="..\UnitTestLauncher\UnitTestLauncher.nfproj" />
</ItemGroup>
<Import Project="$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets" Condition="Exists('$(NanoFrameworkProjectSystemPath)NFProjectSystem.CSharp.targets')" />
<ProjectExtensions>
<ProjectCapabilities>
<ProjectConfigurationsDeclaredAsItems />
</ProjectCapabilities>
</ProjectExtensions>
</Project>
33 changes: 33 additions & 0 deletions Tests/NFUnitTestArithmetic/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CSharp.TestApplication")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CSharp.TestApplication")]
[assembly: AssemblyCopyright("Copyright © ")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Loading