appfuse一套结合STRUTS+SPRING+HIBERNATE的框架

源代码在线查看: userlisttest.java

软件大小: 31310 K
上传用户: sun67512945
关键词: HIBERNATE appfuse STRUTS SPRING
下载地址: 免注册下载 普通下载 VIP

相关代码

				package org.appfuse.webapp.action;
				
				public class UserListTest extends BasePageTestCase {
				    private UserList bean;
				
				    protected void setUp() throws Exception {    
				        super.setUp();
				        bean = (UserList) getManagedBean("userList");
				    }
				    
				    public void testSearch() throws Exception {
				        assertTrue(bean.getUsers().size() >= 1);
				        assertFalse(bean.hasErrors());
				    }
				
				}
							

相关资源