public class DataManager{public void GetData() { //如果在测试调试中进来, HttpContext.Current是空的, HttpContext.Current.Response.Output.Write("addasdfdsfsfdsf"); }}[TestMethod()]public void GetDataTest(){DataManager data = new DataManager(); data.GetData();}求详细解决办法。谢谢
- 2 回答
- 0 关注
- 445 浏览
添加回答
举报
0/150
提交
取消