Setup waku plugin and test

This commit is contained in:
benbierens 2023-09-25 10:16:34 +02:00
parent 9dbd33a906
commit ab4f4695cb
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA
5 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,13 @@
using NUnit.Framework;
namespace WakuTests
{
public class BasicTests : WakuDistTest
{
[Test]
public void Hi()
{
Assert.Fail();
}
}
}

View File

@ -0,0 +1,16 @@
using Core;
using DistTestCore;
namespace WakuTests
{
public class WakuDistTest : DistTest
{
public WakuDistTest()
{
//ProjectPlugin.Load<CodexPlugin.CodexPlugin>();
//ProjectPlugin.Load<CodexContractsPlugin.CodexContractsPlugin>();
//ProjectPlugin.Load<GethPlugin.GethPlugin>();
//ProjectPlugin.Load<MetricsPlugin.MetricsPlugin>();
}
}
}

View File

@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="nunit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.4.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Tests\DistTestCore\DistTestCore.csproj" />
</ItemGroup>
</Project>

View File

@ -43,6 +43,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DistTestCore", "Tests\DistT
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CodexNetDeployer", "Tools\CodexNetDeployer\CodexNetDeployer.csproj", "{3417D508-E2F4-4974-8988-BB124046D9E2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WakuTests", "Tests\WakuTests\WakuTests.csproj", "{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WakuPlugin", "ProjectPlugins\WakuPlugin\WakuPlugin.csproj", "{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -113,6 +117,14 @@ Global
{3417D508-E2F4-4974-8988-BB124046D9E2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3417D508-E2F4-4974-8988-BB124046D9E2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3417D508-E2F4-4974-8988-BB124046D9E2}.Release|Any CPU.Build.0 = Release|Any CPU
{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30}.Release|Any CPU.Build.0 = Release|Any CPU
{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -134,6 +146,8 @@ Global
{562EC700-6984-4C9A-83BF-3BF4E3EB1A64} = {88C2A621-8A98-4D07-8625-7900FC8EF89E}
{E849B7BA-FDCC-4CFF-998F-845ED2F1BF40} = {88C2A621-8A98-4D07-8625-7900FC8EF89E}
{3417D508-E2F4-4974-8988-BB124046D9E2} = {7591C5B3-D86E-4AE4-8ED2-B272D17FE7E3}
{3D3BE9B7-ECFD-4F1C-A7DD-F037032C7A30} = {88C2A621-8A98-4D07-8625-7900FC8EF89E}
{1E09E16D-AFC0-4E42-BFF0-E62A97465BD3} = {8F1F1C2A-E313-4E0C-BE40-58FB0BA91124}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {237BF0AA-9EC4-4659-AD9A-65DEB974250C}