public Task Abioc(MethodData method) { // Work around the problem with generic parameters if (method.MethodUnderTest.IsGenericMethod && method.MethodUnderTest.ContainsGenericParameters) { _output.WriteLine("Skipping the test '{0}' as the method is generic.", method.MethodUnderTest); return(Task.CompletedTask); } return(method.Execute()); }
public async Task ExplicitEquals(MethodData method) { await method.Execute().ConfigureAwait(false); if (method.NullParameter == "stringValue1") { Assert.True(Issues.Issue015.ExplicitEquals.TestedStringValue1); } if (method.NullParameter == "stringValue2") { Assert.True(Issues.Issue015.ExplicitEquals.TestedStringValue2); } if (method.NullParameter == "stringValue3") { Assert.True(Issues.Issue015.ExplicitEquals.TestedStringValue3); } }
public Task TestAllNullArguments(MethodData method) { return(method.Execute()); }
public Task CloudFlareYaml(MethodData method) { return(method.Execute()); }
public Task TeslaNet(MethodData method) { return(method.Execute()); }
public async Task ImplicitEquals(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(Issues.Issue015.ImplicitEquals.Tested); }
public async Task TestNullArguments(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(SpecialCharacters.Tested); }
public async Task TestStringInput(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(SomeNullableValueTypeParameters.StringInputTested); }
public async Task OnlyTestPublic(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(Mixture.Tested); }
public async Task TestNullArguments(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(YieldExample.Tested); }
public async Task ComplexClassValue(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(ComplexGenericMethods.ClassValueTested); }
public async Task InterfaceStringValue(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(InterfaceGenericMethods.StringValueTested); }
public async Task SimpleException(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(SimpleGenericMethods.GenericExceptionMethodTested); }
public async Task ComplexGenericExceptionMethodStringValue(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(ComplexGenericMethods.GenericExceptionMethodStringValueTested); }
public async Task TestGenericClass(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(GenericClassBase.Tested); }
public Task WebJobs(MethodData method) { return(method.Execute()); }
public async Task TestStringRef(MethodData method) { await method.Execute().ConfigureAwait(false); Assert.True(SomeOutParameters.StringRefTested); }