public void GenericImplicitImplementationClosurePostPositive() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); string[] x = new string[] { "abcd", "defg" }; j.WithStaticClosure(x, true); }
public void GenericImplicitImplementationClosure2PostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); string[] x = new string[] { "abcd", "defg" }; j.WithClosureObject(x, false); }
public void GenericImplicitImplementationClosure2PostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); string[] x = new string[] { "abcd", "defg" }; Assert.Throws <TestRewriterMethods.PostconditionException>(() => j.WithClosureObject(x, false)); }
public void GenericImplicitImplementationPostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); j.M("abcd", false); }
public void GenericImplicitImplementationPreNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); j.M(null, true); }
public void GenericImplicitImplementationPostNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); Assert.Throws <TestRewriterMethods.PostconditionException>(() => j.M("abcd", false)); }
public void GenericImplicitImplementationPreNegative() { IGenericInterface <string> j = new GenericImplicitImpl <string>(); Assert.Throws <TestRewriterMethods.PreconditionException>(() => j.M(null, true)); }