Пример #1
0
 private void NewTestWithUrl(string name, TestTypeInfo[] types, UrlControllersTest[] urlTests, IErrorDescriptor[] errors, params BindingTest[] nodes)
 {
     tests.Add(new TestDescriptor(name, types, errors, urlTests, nodes));
 }
Пример #2
0
 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;
 }