摘要:
1 用注释 @ContextConfiguration("classpath:beans.xml")public class UserDAOTest extends AbstractJUnit4SpringContextTests{@Resource(name="userDAO")private UserDAO userDAO;@Testpublic void testSave() {this.u... 阅读全文
摘要:
1 用注释 @ContextConfiguration("classpath:beans.xml")public class UserDAOTest extends AbstractJUnit4SpringContextTests{@Resource(name="userDAO")private UserDAO userDAO;@Testpublic void testSave() {this.u... 阅读全文
摘要:
1 用一个VIEW做为消息提示 btn3.setOnClickListener(new Button.OnClickListener() {public void onClick(View v) {View view = inflateView(R.layout.view);TextView txtMsg = (TextView) view.findViewById(R.id.txtMsg);tx... 阅读全文
|