Skip to content

Commit

Permalink
feat: update dependency and add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Oct 16, 2022
1 parent ddb923a commit f8b96d3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 35 deletions.
10 changes: 5 additions & 5 deletions GamingAPIPlugins.sln
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ VisualStudioVersion = 16.0.31005.135
MinimumVisualStudioVersion = 15.0
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GamingAPIPlugins", "GamingAPIPlugins\GamingAPIPlugins.csproj", "{E3B20E54-ACFF-4CB1-A5EC-97EB6AB462EF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GamingAPIPluginsTest", "GamingAPIPluginsTest\GamingAPIPluginsTest.csproj", "{55C4CE6A-72BA-4EB0-B5FC-64FE1EC58547}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GamingAPIPluginsTest", "TestProject3\GamingAPIPluginsTest.csproj", "{17A7063D-50C2-48B0-B0BD-886109DA412D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -16,10 +16,10 @@ Global
{E3B20E54-ACFF-4CB1-A5EC-97EB6AB462EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E3B20E54-ACFF-4CB1-A5EC-97EB6AB462EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E3B20E54-ACFF-4CB1-A5EC-97EB6AB462EF}.Release|Any CPU.Build.0 = Release|Any CPU
{55C4CE6A-72BA-4EB0-B5FC-64FE1EC58547}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55C4CE6A-72BA-4EB0-B5FC-64FE1EC58547}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55C4CE6A-72BA-4EB0-B5FC-64FE1EC58547}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55C4CE6A-72BA-4EB0-B5FC-64FE1EC58547}.Release|Any CPU.Build.0 = Release|Any CPU
{17A7063D-50C2-48B0-B0BD-886109DA412D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{17A7063D-50C2-48B0-B0BD-886109DA412D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{17A7063D-50C2-48B0-B0BD-886109DA412D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{17A7063D-50C2-48B0-B0BD-886109DA412D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
58 changes: 29 additions & 29 deletions GamingAPIPlugins/GamingAPIPlugins.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461</TargetFrameworks>
Expand All @@ -11,13 +11,13 @@
</PropertyGroup>

<ItemGroup>
<None Remove="Managed\System.Configuration.Install.dll"/>
<None Remove="Managed\System.Configuration.Install.dll" />
</ItemGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>Managed\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Accessibility"/>
<Reference Include="Accessibility" />
<Reference Include="ApexAI">
<HintPath>Managed\ApexAI.dll</HintPath>
</Reference>
Expand Down Expand Up @@ -206,38 +206,38 @@
<Reference Include="Rust.World">
<HintPath>Managed\Rust.World.dll</HintPath>
</Reference>
<Reference Include="System"/>
<Reference Include="System" />
<Reference Include="System.Buffers">
<HintPath>Managed\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Composition"/>
<Reference Include="System.ComponentModel.DataAnnotations"/>
<Reference Include="System.Configuration"/>
<Reference Include="System.Configuration.Install"/>
<Reference Include="System.Data"/>
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Configuration" />
<Reference Include="System.Configuration.Install" />
<Reference Include="System.Data" />
<Reference Include="System.Data.SQLite">
<HintPath>Managed\System.Data.SQLite.dll</HintPath>
</Reference>
<Reference Include="System.Design"/>
<Reference Include="System.Design" />
<Reference Include="System.Diagnostics.StackTrace, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Managed\System.Diagnostics.StackTrace.dll</HintPath>
</Reference>
<Reference Include="System.DirectoryServices"/>
<Reference Include="System.Drawing"/>
<Reference Include="System.Drawing.Design"/>
<Reference Include="System.EnterpriseServices"/>
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Drawing" />
<Reference Include="System.Drawing.Design" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Globalization.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Managed\System.Globalization.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.IO.Compression"/>
<Reference Include="System.IO.Compression.FileSystem"/>
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Memory">
<HintPath>Managed\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http"/>
<Reference Include="System.Numerics"/>
<Reference Include="System.Net.Http" />
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors">
<HintPath>Managed\System.Numerics.Vectors.dll</HintPath>
</Reference>
Expand All @@ -247,23 +247,23 @@
<Reference Include="System.Runtime.CompilerServices.Unsafe">
<HintPath>Managed\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.Serialization"/>
<Reference Include="System.Runtime.Serialization.Formatters.Soap"/>
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
<Reference Include="System.Runtime.Serialization.Xml">
<HintPath>Managed\System.Runtime.Serialization.Xml.dll</HintPath>
</Reference>
<Reference Include="System.Security"/>
<Reference Include="System.Security" />
<Reference Include="System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Managed\System.ServiceModel.Internals.dll</HintPath>
</Reference>
<Reference Include="System.Transactions"/>
<Reference Include="System.Web"/>
<Reference Include="System.Web.ApplicationServices"/>
<Reference Include="System.Web.Services"/>
<Reference Include="System.Windows.Forms"/>
<Reference Include="System.Xml"/>
<Reference Include="System.Xml.Linq"/>
<Reference Include="System.Transactions" />
<Reference Include="System.Web" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml.XPath.XDocument, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Managed\System.Xml.XPath.XDocument.dll</HintPath>
Expand Down Expand Up @@ -453,7 +453,7 @@
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Oxide.Ext.GamingApi" Version="0.16.0"/>
<PackageReference Include="Oxide.Ext.GamingApi" Version="0.18.0" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
Expand Down
2 changes: 1 addition & 1 deletion GamingAPIPluginsTest/GamingAPIPluginsTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="UnitTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServerStartedTest.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MSTest.TestAdapter">
Expand Down
15 changes: 15 additions & 0 deletions GamingAPIPluginsTest/ServerStartedTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

using System.Text.Json;
using Asyncapi.Nats.Client.Models;
using Xunit;

namespace Asyncapi.Nats.Client.Tests
{
public class ServerStartedTest
{
[Fact]
public void ShouldSerializeAndDeserializeAccurately()
{
}
}
}

0 comments on commit f8b96d3

Please sign in to comment.