Skip to content
Merged
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
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<PackageVersion Include="NUnit3TestAdapter" Version="5.2.0" />
<PackageVersion Include="NUnit.Analyzers" Version="4.10.0" />
<PackageVersion Include="PublicApiGenerator" Version="11.4.6" />
<PackageVersion Include="TUnit" Version="0.63.3" />
<PackageVersion Include="TUnit.Core" Version="0.63.3" />
<PackageVersion Include="TUnit" Version="0.70.4" />
<PackageVersion Include="TUnit.Core" Version="0.70.4" />
<PackageVersion Include="Verify.MSTest" Version="30.20.1" />
<PackageVersion Include="Verify.NUnit" Version="30.20.1" />
<PackageVersion Include="Verify.TUnit" Version="30.20.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using Xunit;

[TestGroup("MSTest")]
[TestGroup("PublicApi")]
public class PublicApiTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

[IntegrationTest]
[TestGroup("NUnit")]
[TestGroup("PublicApi")]
public class PublicApiTests
{
[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public class PublicApiTests
{
[Test]
[TestGroup("PublicApi")]
public Task PublicApi_HasNotChanged_Expected()
{
var assembly = typeof(AcceptanceTestAttribute).Assembly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,42 +107,4 @@ namespace NetEvolve.Extensions.TUnit.Internal
public int Order { get; }
public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { }
}
}
namespace TUnit.Core.Helpers
{
public static class ReflectionReplacements
{
public static bool IsAotMode { get; }
public static object?[]? ConvertTupleToArray(object tuple) { }
public static System.Threading.Tasks.Task<object?> InvokeMethodAsync(string methodKey, object? instance, params object?[]? parameters) { }
public static bool IsTupleType(System.Type type) { }
public static System.Type? MakeGenericType(System.Type genericDefinition, params System.Type[] typeArguments) { }
public static void RegisterGenericTypeFactory(TUnit.Core.Helpers.ReflectionReplacements.GenericTypeFactoryDelegate genericTypeFactory) { }
public static void RegisterMethodInvoker(TUnit.Core.Helpers.ReflectionReplacements.MethodInvokerDelegate methodInvoker) { }
public static void RegisterPropertyInjector<T>(TUnit.Core.Helpers.ReflectionReplacements.PropertyInjectorDelegate<T> propertyInjector)
where T : notnull { }
public static void RegisterTupleConverter(TUnit.Core.Helpers.ReflectionReplacements.TupleConverterDelegate tupleConverter) { }
public static void RegisterTupleTypeChecker(TUnit.Core.Helpers.ReflectionReplacements.TupleTypeCheckerDelegate tupleTypeChecker) { }
public static void RegisterTypeResolver(TUnit.Core.Helpers.ReflectionReplacements.TypeResolverDelegate typeResolver) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
public delegate System.Type? GenericTypeFactoryDelegate(System.Type genericDefinition, System.Type[] typeArguments);
public delegate System.Threading.Tasks.Task<object?> MethodInvokerDelegate(string methodKey, object? instance, object?[]? parameters);
public delegate System.Threading.Tasks.Task PropertyInjectorDelegate<T>(T instance, System.Collections.Generic.Dictionary<string, object?> propertyValues, TUnit.Core.TestContext testContext);
public delegate object?[]? TupleConverterDelegate(object tuple);
public delegate bool TupleTypeCheckerDelegate(System.Type type);
public delegate System.Type? TypeResolverDelegate(string assemblyQualifiedName);
}
}
namespace TUnit.Generated
{
public static class AotReplacementRegistry
{
[System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize() { }
}
public static class AotTypeResolver
{
public static System.Type? MakeGenericType(System.Type genericTypeDefinition, params System.Type[] typeArguments) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,42 +107,4 @@ namespace NetEvolve.Extensions.TUnit.Internal
public int Order { get; }
public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { }
}
}
namespace TUnit.Core.Helpers
{
public static class ReflectionReplacements
{
public static bool IsAotMode { get; }
public static object?[]? ConvertTupleToArray(object tuple) { }
public static System.Threading.Tasks.Task<object?> InvokeMethodAsync(string methodKey, object? instance, params object?[]? parameters) { }
public static bool IsTupleType(System.Type type) { }
public static System.Type? MakeGenericType(System.Type genericDefinition, params System.Type[] typeArguments) { }
public static void RegisterGenericTypeFactory(TUnit.Core.Helpers.ReflectionReplacements.GenericTypeFactoryDelegate genericTypeFactory) { }
public static void RegisterMethodInvoker(TUnit.Core.Helpers.ReflectionReplacements.MethodInvokerDelegate methodInvoker) { }
public static void RegisterPropertyInjector<T>(TUnit.Core.Helpers.ReflectionReplacements.PropertyInjectorDelegate<T> propertyInjector)
where T : notnull { }
public static void RegisterTupleConverter(TUnit.Core.Helpers.ReflectionReplacements.TupleConverterDelegate tupleConverter) { }
public static void RegisterTupleTypeChecker(TUnit.Core.Helpers.ReflectionReplacements.TupleTypeCheckerDelegate tupleTypeChecker) { }
public static void RegisterTypeResolver(TUnit.Core.Helpers.ReflectionReplacements.TypeResolverDelegate typeResolver) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
public delegate System.Type? GenericTypeFactoryDelegate(System.Type genericDefinition, System.Type[] typeArguments);
public delegate System.Threading.Tasks.Task<object?> MethodInvokerDelegate(string methodKey, object? instance, object?[]? parameters);
public delegate System.Threading.Tasks.Task PropertyInjectorDelegate<T>(T instance, System.Collections.Generic.Dictionary<string, object?> propertyValues, TUnit.Core.TestContext testContext);
public delegate object?[]? TupleConverterDelegate(object tuple);
public delegate bool TupleTypeCheckerDelegate(System.Type type);
public delegate System.Type? TypeResolverDelegate(string assemblyQualifiedName);
}
}
namespace TUnit.Generated
{
public static class AotReplacementRegistry
{
[System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize() { }
}
public static class AotTypeResolver
{
public static System.Type? MakeGenericType(System.Type genericTypeDefinition, params System.Type[] typeArguments) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,42 +107,4 @@ namespace NetEvolve.Extensions.TUnit.Internal
public int Order { get; }
public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { }
}
}
namespace TUnit.Core.Helpers
{
public static class ReflectionReplacements
{
public static bool IsAotMode { get; }
public static object?[]? ConvertTupleToArray(object tuple) { }
public static System.Threading.Tasks.Task<object?> InvokeMethodAsync(string methodKey, object? instance, params object?[]? parameters) { }
public static bool IsTupleType(System.Type type) { }
public static System.Type? MakeGenericType(System.Type genericDefinition, params System.Type[] typeArguments) { }
public static void RegisterGenericTypeFactory(TUnit.Core.Helpers.ReflectionReplacements.GenericTypeFactoryDelegate genericTypeFactory) { }
public static void RegisterMethodInvoker(TUnit.Core.Helpers.ReflectionReplacements.MethodInvokerDelegate methodInvoker) { }
public static void RegisterPropertyInjector<T>(TUnit.Core.Helpers.ReflectionReplacements.PropertyInjectorDelegate<T> propertyInjector)
where T : notnull { }
public static void RegisterTupleConverter(TUnit.Core.Helpers.ReflectionReplacements.TupleConverterDelegate tupleConverter) { }
public static void RegisterTupleTypeChecker(TUnit.Core.Helpers.ReflectionReplacements.TupleTypeCheckerDelegate tupleTypeChecker) { }
public static void RegisterTypeResolver(TUnit.Core.Helpers.ReflectionReplacements.TypeResolverDelegate typeResolver) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
public delegate System.Type? GenericTypeFactoryDelegate(System.Type genericDefinition, System.Type[] typeArguments);
public delegate System.Threading.Tasks.Task<object?> MethodInvokerDelegate(string methodKey, object? instance, object?[]? parameters);
public delegate System.Threading.Tasks.Task PropertyInjectorDelegate<T>(T instance, System.Collections.Generic.Dictionary<string, object?> propertyValues, TUnit.Core.TestContext testContext);
public delegate object?[]? TupleConverterDelegate(object tuple);
public delegate bool TupleTypeCheckerDelegate(System.Type type);
public delegate System.Type? TypeResolverDelegate(string assemblyQualifiedName);
}
}
namespace TUnit.Generated
{
public static class AotReplacementRegistry
{
[System.Runtime.CompilerServices.ModuleInitializer]
public static void Initialize() { }
}
public static class AotTypeResolver
{
public static System.Type? MakeGenericType(System.Type genericTypeDefinition, params System.Type[] typeArguments) { }
public static System.Type? ResolveType(string assemblyQualifiedName) { }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public class PublicApiTests
{
[Fact]
[TestGroup("PublicApi")]
public Task PublicApi_HasNotChanged_Expected()
{
var assembly = typeof(AcceptanceTestAttribute).Assembly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public class PublicApiTests
{
[Fact]
[TestGroup("PublicApi")]
public Task PublicApi_HasNotChanged_Expected()
{
var assembly = typeof(AcceptanceTestAttribute).Assembly;
Expand Down