|
| 1 | +namespace NetEvolve.Extensions.TUnit |
| 2 | +{ |
| 3 | + public sealed class AcceptanceTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 4 | + { |
| 5 | + public AcceptanceTestAttribute() { } |
| 6 | + } |
| 7 | + public sealed class ArchitectureTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 8 | + { |
| 9 | + public ArchitectureTestAttribute() { } |
| 10 | + } |
| 11 | + public sealed class BugAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 12 | + { |
| 13 | + public BugAttribute() { } |
| 14 | + public BugAttribute(long id) { } |
| 15 | + public BugAttribute(string? id) { } |
| 16 | + } |
| 17 | + public sealed class CodedUITestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 18 | + { |
| 19 | + public CodedUITestAttribute() { } |
| 20 | + } |
| 21 | + public sealed class EndToEndTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 22 | + { |
| 23 | + public EndToEndTestAttribute() { } |
| 24 | + } |
| 25 | + public sealed class EpicAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 26 | + { |
| 27 | + public EpicAttribute() { } |
| 28 | + public EpicAttribute(long id) { } |
| 29 | + public EpicAttribute(string? id) { } |
| 30 | + } |
| 31 | + public sealed class FeatureAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 32 | + { |
| 33 | + public FeatureAttribute() { } |
| 34 | + public FeatureAttribute(long id) { } |
| 35 | + public FeatureAttribute(string? id) { } |
| 36 | + } |
| 37 | + public sealed class FunctionalTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 38 | + { |
| 39 | + public FunctionalTestAttribute() { } |
| 40 | + } |
| 41 | + public sealed class IntegrationTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 42 | + { |
| 43 | + public IntegrationTestAttribute() { } |
| 44 | + } |
| 45 | + public sealed class IssueAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 46 | + { |
| 47 | + public IssueAttribute() { } |
| 48 | + public IssueAttribute(long id) { } |
| 49 | + public IssueAttribute(string? id) { } |
| 50 | + } |
| 51 | + public sealed class PerformanceTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 52 | + { |
| 53 | + public PerformanceTestAttribute() { } |
| 54 | + } |
| 55 | + public sealed class PostDeploymentAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 56 | + { |
| 57 | + public PostDeploymentAttribute() { } |
| 58 | + } |
| 59 | + public sealed class PreDeploymentAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 60 | + { |
| 61 | + public PreDeploymentAttribute() { } |
| 62 | + } |
| 63 | + public sealed class TestGroupAttribute : NetEvolve.Extensions.TUnit.Internal.NamedCategoryTraitBaseAttribute |
| 64 | + { |
| 65 | + public TestGroupAttribute(string id) { } |
| 66 | + } |
| 67 | + public sealed class UnitTestAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryTraitBaseAttribute |
| 68 | + { |
| 69 | + public UnitTestAttribute() { } |
| 70 | + } |
| 71 | + public sealed class UserStoryAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 72 | + { |
| 73 | + public UserStoryAttribute() { } |
| 74 | + public UserStoryAttribute(long id) { } |
| 75 | + public UserStoryAttribute(string? id) { } |
| 76 | + } |
| 77 | + public sealed class WorkItemAttribute : NetEvolve.Extensions.TUnit.Internal.CategoryWithIdTraitBaseAttribute |
| 78 | + { |
| 79 | + public WorkItemAttribute() { } |
| 80 | + public WorkItemAttribute(long id) { } |
| 81 | + public WorkItemAttribute(string? id) { } |
| 82 | + } |
| 83 | +} |
| 84 | +namespace NetEvolve.Extensions.TUnit.Internal |
| 85 | +{ |
| 86 | + public abstract class CategoryTraitBaseAttribute : System.Attribute, TUnit.Core.Interfaces.IEventReceiver, TUnit.Core.Interfaces.ITestDiscoveryEventReceiver |
| 87 | + { |
| 88 | + protected CategoryTraitBaseAttribute(string category) { } |
| 89 | + public string Category { get; } |
| 90 | + public int Order { get; } |
| 91 | + public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { } |
| 92 | + } |
| 93 | + public abstract class CategoryWithIdTraitBaseAttribute : System.Attribute, TUnit.Core.Interfaces.IEventReceiver, TUnit.Core.Interfaces.ITestDiscoveryEventReceiver |
| 94 | + { |
| 95 | + protected CategoryWithIdTraitBaseAttribute(string category, long id) { } |
| 96 | + protected CategoryWithIdTraitBaseAttribute(string category, string? id) { } |
| 97 | + public string Category { get; } |
| 98 | + public string? Id { get; } |
| 99 | + public int Order { get; } |
| 100 | + public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { } |
| 101 | + } |
| 102 | + public abstract class NamedCategoryTraitBaseAttribute : System.Attribute, TUnit.Core.Interfaces.IEventReceiver, TUnit.Core.Interfaces.ITestDiscoveryEventReceiver |
| 103 | + { |
| 104 | + protected NamedCategoryTraitBaseAttribute(string category, string id) { } |
| 105 | + public string Category { get; } |
| 106 | + public string Id { get; } |
| 107 | + public int Order { get; } |
| 108 | + public System.Threading.Tasks.ValueTask OnTestDiscovered(TUnit.Core.DiscoveredTestContext context) { } |
| 109 | + } |
| 110 | +} |
| 111 | +namespace TUnit.Core.Helpers |
| 112 | +{ |
| 113 | + public static class ReflectionReplacements |
| 114 | + { |
| 115 | + public static bool IsAotMode { get; } |
| 116 | + public static object?[]? ConvertTupleToArray(object tuple) { } |
| 117 | + public static System.Threading.Tasks.Task<object?> InvokeMethodAsync(string methodKey, object? instance, params object?[]? parameters) { } |
| 118 | + public static bool IsTupleType(System.Type type) { } |
| 119 | + public static System.Type? MakeGenericType(System.Type genericDefinition, params System.Type[] typeArguments) { } |
| 120 | + public static void RegisterGenericTypeFactory(TUnit.Core.Helpers.ReflectionReplacements.GenericTypeFactoryDelegate genericTypeFactory) { } |
| 121 | + public static void RegisterMethodInvoker(TUnit.Core.Helpers.ReflectionReplacements.MethodInvokerDelegate methodInvoker) { } |
| 122 | + public static void RegisterPropertyInjector<T>(TUnit.Core.Helpers.ReflectionReplacements.PropertyInjectorDelegate<T> propertyInjector) |
| 123 | + where T : notnull { } |
| 124 | + public static void RegisterTupleConverter(TUnit.Core.Helpers.ReflectionReplacements.TupleConverterDelegate tupleConverter) { } |
| 125 | + public static void RegisterTupleTypeChecker(TUnit.Core.Helpers.ReflectionReplacements.TupleTypeCheckerDelegate tupleTypeChecker) { } |
| 126 | + public static void RegisterTypeResolver(TUnit.Core.Helpers.ReflectionReplacements.TypeResolverDelegate typeResolver) { } |
| 127 | + public static System.Type? ResolveType(string assemblyQualifiedName) { } |
| 128 | + public delegate System.Type? GenericTypeFactoryDelegate(System.Type genericDefinition, System.Type[] typeArguments); |
| 129 | + public delegate System.Threading.Tasks.Task<object?> MethodInvokerDelegate(string methodKey, object? instance, object?[]? parameters); |
| 130 | + public delegate System.Threading.Tasks.Task PropertyInjectorDelegate<T>(T instance, System.Collections.Generic.Dictionary<string, object?> propertyValues, TUnit.Core.TestContext testContext); |
| 131 | + public delegate object?[]? TupleConverterDelegate(object tuple); |
| 132 | + public delegate bool TupleTypeCheckerDelegate(System.Type type); |
| 133 | + public delegate System.Type? TypeResolverDelegate(string assemblyQualifiedName); |
| 134 | + } |
| 135 | +} |
| 136 | +namespace TUnit.Generated |
| 137 | +{ |
| 138 | + public static class AotReplacementRegistry |
| 139 | + { |
| 140 | + [System.Runtime.CompilerServices.ModuleInitializer] |
| 141 | + public static void Initialize() { } |
| 142 | + } |
| 143 | + public static class AotTypeResolver |
| 144 | + { |
| 145 | + public static System.Type? MakeGenericType(System.Type genericTypeDefinition, params System.Type[] typeArguments) { } |
| 146 | + public static System.Type? ResolveType(string assemblyQualifiedName) { } |
| 147 | + } |
| 148 | +} |
0 commit comments