mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-03 00:03:19 +02:00
Update Test project to MSTest v2
This commit is contained in:
parent
576c8c499b
commit
dbfab05f17
7 changed files with 6 additions and 38 deletions
|
@ -4,12 +4,12 @@
|
|||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later version.
|
||||
*/
|
||||
using System;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Tests
|
||||
{
|
||||
[TestClass]
|
||||
public class AesCcmTests
|
||||
{
|
||||
[TestMethod]
|
||||
|
|
Binary file not shown.
|
@ -5,7 +5,6 @@
|
|||
* either version 3 of the License, or (at your option) any later version.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using SMBLibrary.NetBios;
|
||||
using Utilities;
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace SMBLibrary.Tests
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
new NTLMAuthenticationTests().TestAll();
|
||||
new NTLMSigningTests().TestAll();
|
||||
new AesCcmTests().TestAll();
|
||||
new SMB2EncryptionTests().TestAll();
|
||||
new RC4Tests().TestAll();
|
||||
|
||||
new NetBiosTests().TestAll();
|
||||
new RPCTests().TestAll();
|
||||
new SMB2SigningTests().TestAll();
|
||||
|
||||
new NTDirectoryFileSystemTests().TestAll();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,12 +4,8 @@
|
|||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later version.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using SMBLibrary.RPC;
|
||||
using SMBLibrary.Services;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Tests
|
||||
{
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later version.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Security.Cryptography;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using SMBLibrary.SMB2;
|
||||
using Utilities;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net40</TargetFrameworks>
|
||||
<TargetFrameworks>net472;net6.0</TargetFrameworks>
|
||||
<AssemblyName>SMBLibrary.Tests</AssemblyName>
|
||||
<RootNamespace>SMBLibrary.Tests</RootNamespace>
|
||||
<OutputType>Exe</OutputType>
|
||||
<OutputType>Library</OutputType>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -17,9 +17,9 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework">
|
||||
<HintPath>Components\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||
<PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />
|
||||
<PackageReference Include="MSTest.TestFramework" Version="2.2.10" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue