public void ResolveWithNullSubbranch() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews"); // Execute var view = catalog.Resolve(a_sub: null, a_typeName: "TestView1"); }
public void ResolveWithNullName() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews"); // Assert var view = catalog.Resolve(a_catalogName:null); }
public void Resolve() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews"); // Execute var view = catalog.Resolve("TestView1"); // Assert Assert.IsTrue(view is TestView1); }
public void ResolveWithSubbranchWithNullName() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews"); // Execute var view = catalog.Resolve(a_sub: "TestController", a_typeName: null); }