Skip to content

Commit

Permalink
Merge pull request #3 from dpvreony/constructortests
Browse files Browse the repository at this point in the history
constructor method interfaces
  • Loading branch information
dpvreony authored Apr 8, 2020
2 parents d9f2c16 + 34fb968 commit 58c6e3d
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@ Task ThrowsArgumentNullExceptionAsync(
TArg16 arg16,
string expectedParameterNameForException);
}
}
}
90 changes: 90 additions & 0 deletions src/NetTestRegimentation/ITestConstructorMethod.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
namespace NetTestRegimentation
{
public interface ITestConstructorMethod
{
/// <summary>
/// Test to ensure an instance is returned.
/// </summary>
void ReturnsInstance();
}

public interface ITestConstructorMethodWithNullableParameters<in T1>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, in T15>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
{
}

public interface ITestConstructorMethodWithNullableParameters<in T1, in T2, in T3, in T4, in T5, in T6, in T7, in T8, in T9, in T10, in T11, in T12, in T13, in T14, in T15, in T16>
: ITestConstructorMethod, NetTestRegimentation.ITestMethodWithNullableParameters<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
{
}
}

0 comments on commit 58c6e3d

Please sign in to comment.