public void ResidentRunThrowsWhenAssemblyPathIsNull() { GallioResidentTestRunner tr = new GallioResidentTestRunner(); tr.TestRunner = new StubbedLocalTestRunner(); Assert.Throws <ArgumentNullException>(() => tr.Run(MockRepository.GenerateStub <ITestListener>(), null, "T:Foo")); }
public void ResidentRunThrowsWhenTestListenerIsNull() { GallioResidentTestRunner tr = new GallioResidentTestRunner(); tr.TestRunner = new StubbedLocalTestRunner(); Assert.Throws <ArgumentNullException>(() => tr.Run(null, "Assembly.dll", "T:Foo")); }
public void ResidentRunThrowsWhenAssemblyPathIsNull() { GallioResidentTestRunner tr = new GallioResidentTestRunner(); tr.TestRunner = new StubbedLocalTestRunner(); Assert.Throws<ArgumentNullException>(() => tr.Run(MockRepository.GenerateStub<ITestListener>(), null, "T:Foo")); }
public void ResidentRunThrowsWhenTestListenerIsNull() { GallioResidentTestRunner tr = new GallioResidentTestRunner(); tr.TestRunner = new StubbedLocalTestRunner(); Assert.Throws<ArgumentNullException>(() => tr.Run(null, "Assembly.dll", "T:Foo")); }