示例#1
0
        public void ResidentRunThrowsWhenAssemblyPathIsNull()
        {
            GallioResidentTestRunner tr = new GallioResidentTestRunner();

            tr.TestRunner = new StubbedLocalTestRunner();
            Assert.Throws <ArgumentNullException>(() => tr.Run(MockRepository.GenerateStub <ITestListener>(), null, "T:Foo"));
        }
示例#2
0
        public void ResidentRunThrowsWhenTestListenerIsNull()
        {
            GallioResidentTestRunner tr = new GallioResidentTestRunner();

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