File tree Expand file tree Collapse file tree 8 files changed +15
-107
lines changed Expand file tree Collapse file tree 8 files changed +15
-107
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- using CppSharp . Utils ;
2
1
using NUnit . Framework ;
3
2
using CLI ;
4
3
using System . Text ;
5
4
using System ;
6
5
7
- public class CLITests : GeneratorTestFixture
6
+ [ TestFixture ]
7
+ public class CLITests
8
8
{
9
9
[ Test ]
10
10
public void TestTypes ( )
Original file line number Diff line number Diff line change 3
3
using System . Linq ;
4
4
using System . Reflection ;
5
5
using System . Runtime . InteropServices ;
6
- using System . Security ;
7
- using System . Text ;
8
- using CppSharp . Utils ;
9
6
using CSharp ;
10
7
using NUnit . Framework ;
11
8
12
- public unsafe class CSharpTests : GeneratorTestFixture
9
+ [ TestFixture ]
10
+ public unsafe class CSharpTests
13
11
{
14
12
public class ExtendsWrapper : TestOverrideFromSecondaryBase
15
13
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Reflection ;
3
- using System . Runtime . InteropServices ;
4
3
using CommonTest ;
5
- using CppSharp . Utils ;
6
4
using NUnit . Framework ;
7
5
using Enum = CommonTest . Enum ;
8
6
9
7
[ TestFixture ]
10
- public class CommonTests : GeneratorTestFixture
8
+ public class CommonTests
11
9
{
12
10
[ Test ]
13
11
public unsafe void TestCodeGeneration ( )
Original file line number Diff line number Diff line change 1
- using CppSharp . Utils ;
2
- using NUnit . Framework ;
1
+ using NUnit . Framework ;
3
2
using Foo = Encodings . Foo ;
4
3
5
- public class EncodingsTests : GeneratorTestFixture
4
+ [ TestFixture ]
5
+ public class EncodingsTests
6
6
{
7
7
[ Test ]
8
8
public void TestFoo ( )
Original file line number Diff line number Diff line change 1
- using CppSharp . Utils ;
2
- using NUnit . Framework ;
1
+ using NUnit . Framework ;
3
2
using System . Collections . Generic ;
4
3
using System . IO ;
5
4
using System . Linq ;
6
5
using System . Runtime . InteropServices ;
7
6
using StandardLib ;
8
7
9
- public class StandardLibTests : GeneratorTestFixture
8
+ [ TestFixture ]
9
+ public class StandardLibTests
10
10
{
11
11
[ Test ]
12
12
public void TestVectors ( )
Original file line number Diff line number Diff line change 8
8
</ItemGroup >
9
9
10
10
<ItemGroup >
11
- <ProjectReference Include =" $(SrcDir)Generator.Tests\CppSharp.Generator.Tests.csproj" />
12
11
<ProjectReference Include =" $(TestName).CSharp.csproj" Condition =" $(MSBuildProjectName.EndsWith('CSharp'))" />
13
12
<ProjectReference Include =" $(NativeProjectsDir)$(TestName).Native.vcxproj" Condition =" $(IsWindows)" ReferenceOutputAssembly =" false" />
14
13
<ProjectReference Include =" $(NativeProjectsDir)$(TestName).CLI.vcxproj" Condition =" $(MSBuildProjectName.EndsWith('CLI')) AND $(IsWindows)" />
15
14
</ItemGroup >
16
15
17
16
<ItemGroup >
18
17
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.8.0" />
18
+ <PackageReference Include =" NUnit" Version =" 3.11.0" />
19
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.17.0" />
19
20
</ItemGroup >
20
21
</Project >
Original file line number Diff line number Diff line change 1
1
using System ;
2
- using CppSharp . Utils ;
3
2
using NUnit . Framework ;
4
3
using VTables ;
5
4
@@ -31,7 +30,8 @@ public override unsafe int RetInt()
31
30
}
32
31
}
33
32
34
- public class VTablesTests : GeneratorTestFixture
33
+ [ TestFixture ]
34
+ public class VTablesTests
35
35
{
36
36
[ Test ]
37
37
public void TestFoo ( )
You can’t perform that action at this time.
0 commit comments