asp.net????????????
???????????? ???????[ 2012/7/30 13:37:23 ] ????????
????3?????vs2010????????“????”——"????"——“???????”????2??????????????????????????????“????”???????????
?????????????????????????????access????????????????????????????????????????????????????′???
[DataSource("System.Data.OleDb"?? "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\crrGov\crrGovernment\TestProject\TopicBLL\XZBLL\XZNewsObject.accdb"?? "UpdateNewsObject"?? DataAccessMethod.Sequential)?? TestMethod()]???????????????и????
/// <summary>
///UpdateNews ?????
///</summary>
[DataSource("System.Data.OleDb"?? "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\crrGov\crrGovernment\TestProject\TopicBLL\XZBLL\XZNewsObject.accdb"?? "UpdateNewsObject"?? DataAccessMethod.Sequential)?? TestMethod()]
public void UpdateNewsTest()
{
XZNewsObject target = new XZNewsObject();
target.News_ID = Convert.ToInt32(TestContext.DataRow["News_ID"]);// TODO: ????????????
target.News_Author = Convert.ToString(TestContext.DataRow["Author"]);
target.News_Content = Convert.ToString(TestContext.DataRow["Content"]);
target.News_Img = Convert.ToString(TestContext.DataRow["Img"]);
target.News_Source = Convert.ToString(TestContext.DataRow["Source"]);
target.News_Time = Convert.ToDateTime(TestContext.DataRow["Time"]);
target.News_Title = Convert.ToString(TestContext.DataRow["Title"]);
target.News_File = Convert.ToString(TestContext.DataRow["File"]);
bool expected = Convert.ToBoolean(TestContext.DataRow["EX"]); // TODO: ????????????
bool actual;
actual = target.UpdateNews();
Assert.AreEqual(expected?? actual);
Assert.Inconclusive("???????????????????");
}
????4??
????5????????????д????????????д??????????????????????д??????????????????д??????bug
???????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11