Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class AsyncStateMachineLayoutTests : Tests.AsyncStateMachineLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/ClassLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class ClassLayoutTests : Tests.ClassLayoutTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class ClassWithExplicitLayoutTests : Tests.ClassWithExplicitLayoutTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class ClassWithNestedStructPrinterTests : Tests.ClassWithNestedStructPrinterTests
{
}
}
12 changes: 12 additions & 0 deletions ObjectLayoutInspector.Tests.X64/ComplexUnsafeLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class ComplexUnsafeLayoutTests : Tests.ComplexUnsafeLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/CorefxTypesTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class CorefxTypesTests : Tests.CorefxTypesTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/ExcessivePaddings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class ExcessivePaddings : Tests.ExcessivePaddings
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/FixedTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class FixedTests : Tests.FixedTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/GenericStructsTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class GenericStructsTests : Tests.GenericStructsTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/InstanceSizeTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class InstanceSizeTests : Tests.InstanceSizeTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/NullableTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class NullableTests : Tests.NullableTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net6;net9;net8;net481</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\src\ObjectLayoutInspector.Tests\ObjectLayoutInspector.Tests.csproj" />
</ItemGroup>
</Project>
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/PaddingTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class PaddingTests : Tests.PaddingTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/RawLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class RawLayoutTests : Tests.RawLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/StructLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class StructLayoutTests : Tests.StructLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X64/StructSizeTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class StructSizeTests : Tests.StructSizeTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class StructWithExplicitLayoutTests : Tests.StructWithExplicitLayoutTests
{
}
}
10 changes: 10 additions & 0 deletions ObjectLayoutInspector.Tests.X64/UnsafeLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using NUnit.Framework;
using NUnit.Framework.Internal;

namespace ObjectLayoutInspector.Tests.X64
{
[TestFixture]
public class UnsafeLayoutTests : Tests.UnsafeLayoutTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class AsyncStateMachineLayoutTests : Tests.AsyncStateMachineLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/ClassLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class ClassLayoutTests : Tests.ClassLayoutTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class ClassWithExplicitLayoutTests : Tests.ClassWithExplicitLayoutTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class ClassWithNestedStructPrinterTests : Tests.ClassWithNestedStructPrinterTests
{
}
}
12 changes: 12 additions & 0 deletions ObjectLayoutInspector.Tests.X86/ComplexUnsafeLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Linq;
using System.Collections.Generic;
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class ComplexUnsafeLayoutTests : Tests.ComplexUnsafeLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/CorefxTypesTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class CorefxTypesTests : Tests.CorefxTypesTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/ExcessivePaddings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class ExcessivePaddings : Tests.ExcessivePaddings
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/FixedTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class FixedTests : Tests.FixedTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/GenericStructsTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class GenericStructsTests : Tests.GenericStructsTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/InstanceSizeTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class InstanceSizeTests : Tests.InstanceSizeTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/NullableTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class NullableTests : Tests.NullableTests
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net9;net8;net481</TargetFrameworks>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\src\ObjectLayoutInspector.Tests\ObjectLayoutInspector.Tests.csproj" />
</ItemGroup>

</Project>
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/PaddingTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class PaddingTests : Tests.PaddingTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/RawLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class RawLayoutTests : Tests.RawLayoutTests
{
}
}
9 changes: 9 additions & 0 deletions ObjectLayoutInspector.Tests.X86/StructLayoutTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using NUnit.Framework;

namespace ObjectLayoutInspector.Tests.X86
{
[TestFixture]
public class StructLayoutTests : Tests.StructLayoutTests
{
}
}
Loading