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

📄 personmanagertest.java

📁 这是一个jbpm的高级应用,是一个oa工作流的系统,里面用到了spring,hibernate技术等.实为学习jbpm的好资料!
💻 JAVA
字号:
package com.bjsxt.oa.managers;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.bjsxt.oa.model.Person;

import junit.framework.TestCase;

public class PersonManagerTest extends TestCase {
	private static BeanFactory factory = new ClassPathXmlApplicationContext("applicationContext-*.xml");
	public void testSearchPersons() {
		fail("Not yet implemented");
	}

	public void testFindPerson() {
		fail("Not yet implemented");
	}

	public void testAddPerson() {
		PersonManager pm = (PersonManager)factory.getBean("personManager");
		Person person = new Person();
		person.setName("张三");
		pm.addPerson(person, 1);
	}

	public void testDelPerson() {
		fail("Not yet implemented");
	}

}

⌨️ 快捷键说明

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