コード例 #1
0
        public void BookServiceDeleteBoundaryTest()                    //BookService边界测试
        {
            BookService service = BookService.getInstance();


            BookListItem book = new BookListItem();     //边界测试需要的数据

            bool ret2 = service.delete(book, "");       //边界测试3,删除,username为空

            Assert.IsTrue(ret2 == false);
        }
コード例 #2
0
 private void DeleteBookListItem(BookListItem book)
 {
     bookService.delete(book, phoneAppServeice.State["username"].ToString());
 }