-
-
Notifications
You must be signed in to change notification settings - Fork 8
Adding TestAdapter hardware support #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f354561
Start work on test adapter for hardware
josesimoes 73b0911
Merge branch 'develop' of https://github.com/nanoframework/nanoFramew…
Ellerbach 20aa086
adding minimal hardare loading
Ellerbach 208379a
Adding hardware support
Ellerbach 3a44143
adding error message in case of initializaion error
Ellerbach 33d8220
Fixing nuget creation
Ellerbach b0989fe
Ading entry for hardware support in runsettings
Ellerbach 61bc9ac
removing backup csproj
Ellerbach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| // | ||
| // Copyright (c) .NET Foundation and Contributors | ||
| // See LICENSE file in the project root for full license information. | ||
| // | ||
|
|
||
| using System.Collections.Generic; | ||
|
|
||
| namespace nanoFramework.TestPlatform.TestAdapter | ||
| { | ||
| public class DeploymentAssembly | ||
| { | ||
| /// <summary> | ||
| /// Path to the EXE or DLL file. | ||
| /// </summary> | ||
| public string Path { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Assembly version of the EXE or DLL. | ||
| /// </summary> | ||
| public string Version { get; set; } | ||
|
|
||
| /// <summary> | ||
| /// Required version of the native implementation of the class library. | ||
| /// Only used in class libraries. Can be empty on the core library and user EXE and DLLs. | ||
| /// </summary> | ||
| public string NativeVersion { get; set; } | ||
|
|
||
| public DeploymentAssembly(string path, string version, string nativeVersion) | ||
| { | ||
| Path = path; | ||
| Version = version; | ||
| NativeVersion = nativeVersion; | ||
| } | ||
| } | ||
| } |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
source/TestAdapter/nanoFramework - Backup.TestAdapter.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>net4.8</TargetFramework> | ||
| <SignAssembly>true</SignAssembly> | ||
| <AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="16.9.1" /> | ||
| <PackageReference Include="nanoFramework.nanoCLR.Win32" GeneratePathProperty="true"> | ||
| <Version>1.6.1-preview.223</Version> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| </PackageReference> | ||
| <PackageReference Include="Nerdbank.GitVersioning"> | ||
| <Version>3.3.37</Version> | ||
| <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
| <PrivateAssets>all</PrivateAssets> | ||
| </PackageReference> | ||
| </ItemGroup> | ||
| <Target Name="SetNanoCLRLocation" AfterTargets="Build"> | ||
| <Copy SourceFiles="$(PkgnanoFramework_nanoCLR_Win32)\tools\nanoFramework.nanoCLR.exe" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="false"> | ||
| </Copy> | ||
| </Target> | ||
| <Import Project="..\TestFrameworkShared\TestFrameworkShared.projitems" Label="Shared" /> | ||
| </Project> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ellerbach you need to remove this BACKUP file... 😁