public void TestCreateInstanceWithWrongDllName()
 {
     Assert.Throws <ArgumentException>(
         () => {
         TestREngine.CreateTestEngine("R.NET", "NotExist.dll");
     });
 }
Esempio n. 2
0
 public void TestCreateInstanceWithWrongDllName()
 {
     Assert.That(TestREngine.CreateTestEngine("R.NET", "NotExist.dll"), Throws.TypeOf <Exception>());
 }
Esempio n. 3
0
 public void TestCreateInstanceWithEmpty()
 {
     Assert.That(TestREngine.CreateTestEngine(""), Throws.TypeOf <ArgumentException>());
 }
Esempio n. 4
0
 public void TestCreateInstanceWithNull()
 {
     Assert.That(TestREngine.CreateTestEngine(null), Throws.TypeOf <ArgumentNullException>());
 }