예제 #1
0
 void ThrowOnBadProcessNameWorks()
 {
     VisualStudioUtil.ThrowOnBadProcessName("DEVenv");
     Assert.Throws <ArgumentException>(() => VisualStudioUtil.ThrowOnBadProcessName("devenv2"));
     Assert.Throws <NotSupportedException>(() => VisualStudioUtil.ThrowOnBadProcessName("wdexpress"));
 }