private void NewTestWithUrl(string name, TestTypeInfo[] types, UrlControllersTest[] urlTests, IErrorDescriptor[] errors, params BindingTest[] nodes) { tests.Add(new TestDescriptor(name, types, errors, urlTests, nodes)); }
public TestDescriptor(string name, TestTypeInfo[] controllers, IErrorDescriptor[] errors, UrlControllersTest[] urlTests, params BindingTest[] bindingTree) { Name = name; Controllers = controllers; Errors = errors ?? new IErrorDescriptor[0]; UrlTests = urlTests ?? new UrlControllersTest[0]; BindingTree = bindingTree; }