⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addbooktest.java

📁 struts+hibernate+spring 三框架整合
💻 JAVA
字号:
package test.com.sterning.book.web;


import org.junit.After;
import org.junit.Before;

import test.com.sterning.book.BaseTest;

public class AddBookTest extends BaseTest {
  /*
	private bookAction action;
	@Before
	public void setUp() throws Exception {
	 super.onSetUp();
	 action = (bookAction) this.applicationContext.getBean("bookAction");		
	}

	@After
	public void tearDown() throws Exception {
		super.onTearDown();
		action = null;		
	}

	public void testsave() throws Exception {
		Book book = new Book();
		book.setPassword("password");
		book.setUsername("admin");
		action.setUser(book);
		assertEquals(action.execute(), action.SUCCESS);
	}
*/	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -