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

📄 roleactiontest.java

📁 OBPM是一个开源
💻 JAVA
字号:
package cn.myapps.core.role.action;

import junit.framework.TestCase;
import cn.myapps.core.role.ejb.RoleVO;

public class RoleActionTest extends TestCase {
	
	private RoleAction action;

	public static void main(String[] args) {
		junit.textui.TestRunner.run(RoleActionTest.class);
		
	}

	protected void setUp() throws Exception {
		super.setUp();
		action = new RoleAction();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}
	
	public void testDoSave() {
		try {
			RoleVO vo = new RoleVO();
			vo.setName("Jarod Role");
			action.setContent(vo);
			String rslt = action.doSave();
			System.out.println(rslt);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}

⌨️ 快捷键说明

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