예제 #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"));
 }