资源简介
Activiti官方唯一推荐中文书籍——《Activiti实战》示例源码
代码片段和文件信息
/* Licensed under the Apache License Version 2.0 (the “License“);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package me.kafeitu.activiti;
import org.activiti.engine.*;
import org.activiti.engine.test.ActivitiRule;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Rule;
/**
* 抽象测试基类
*
* @author henryyan
*/
public abstract class AbstractTest {
/**
* 专门用于测试套件
*/
@Rule
public ActivitiRule activitiRule = new ActivitiRule(“activiti.cfg.xml“);
protected ProcessEngine processEngine;
protected RepositoryService repositoryService;
protected RuntimeService runtimeService;
protected TaskService taskService;
protected HistoryService historyService;
protected IdentityService identityService;
protected ManagementService managementService;
protected FormService formService;
/**
* 开始测试
*/
@BeforeClass
public static void setUpForClass() throws Exception {
System.out.println(“++++++++ 开始测试 ++++++++“);
}
/**
* 结束测试
*/
@AfterClass
public static void testOverForClass() throws Exception {
System.out.println(“-------- 结束测试 --------“);
}
/**
* 初始化变量
*/
@Before
public void setUp() throws Exception {
processEngine = activitiRule.getProcessEngine();
repositoryService = activitiRule.getRepositoryService();
runtimeService = activitiRule.getRuntimeService();
taskService = activitiRule.getTaskService();
historyService = activitiRule.getHistoryService();
identityService = activitiRule.getIdentityService();
managementService = activitiRule.getManagementService();
formService = activitiRule.getFormService();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\
文件 41 2015-11-24 15:30 activiti-in-action-codes-master\.gitignore
文件 371 2015-11-24 15:30 activiti-in-action-codes-master\.project
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\.settings\
文件 55 2015-11-24 15:30 activiti-in-action-codes-master\.settings\org.eclipse.core.resources.prefs
文件 86 2015-11-24 15:30 activiti-in-action-codes-master\.settings\org.eclipse.m2e.core.prefs
文件 93 2015-11-24 15:30 activiti-in-action-codes-master\.settings\org.jboss.ide.eclipse.as.core.prefs
文件 11325 2015-11-24 15:30 activiti-in-action-codes-master\LICENSE
文件 7606 2015-11-24 15:30 activiti-in-action-codes-master\README.md
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\
文件 1483 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.classpath
文件 1042 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.project
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\
文件 155 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.core.resources.prefs
文件 422 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.jdt.core.prefs
文件 123 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.jpt.core.prefs
文件 86 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.m2e.core.prefs
文件 160 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.wst.common.project.facet.core.prefs.xm
文件 163 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 211 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\.settings\org.maven.ide.eclipse.prefs
文件 5160 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\pom.xm
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\activiti\
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\
文件 3255 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\Leave.bpmn
文件 10951 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\Leave.png
目录 0 2015-11-24 15:30 activiti-in-action-codes-master\bpmn20-example\src\main\resources\me\kafeitu\activiti\helloworld\
............此处省略5000个文件信息
- 上一篇:信号与系统 杨晓非
- 下一篇:小牛N1维修和检测指导方法
相关资源
- 计算机和难解性NP完全性理论导引(
- The IoT Hacker’s Handbook: A Practical Guide
- Nonnegative Matrix and Tensor Factorizations(完
- Activity之间切换动画
- Active-HDL官方教程英文版
- Netty In Action 高清中文完整版 Netty实践
- activiti-demo
- Abstract_Inference_(Ulf_Grenander)(1981)
- 眼睛跟踪方法学和实践第二版Eye_Tra
- Eziriz .NET Reactor 5.9.8.0
- Eziriz.NET.Reactor.5.9.8.0 破解版
- QOverlapExtracter图像重叠区提取
- 陆吾生优化书 Practical optimization algo
- ActivePerl-5.8.8.822-MSWin32-x86-280952.msi
-
Actionsc
ript 3.0基础教程(中文版) - React Native Blueprints
- Rx.NET in Action
- tesseract-ocr模块
- Practical Statistics for Data Scientist
- OpenCL in Action.pdf
- Setup.Factory.v9.5.0简体汉化双语注册码
- Transaction Processing Concepts and Techniques
- Activiti6汉化版源码+多租户+流程表单配
- Moxa ioLogik E1200 E1242 Active OPC Server 配置
- Spring和ActiveMQ整合的完整
- 3D User Interfaces: Theory and Practice 2nd Ed
- VisualBasic编程晋级:ActiveX控件.rar
- myeclipse版activiti5.18插件(打开bpmn文件
- Semiconductor Material and Device Characteriza
- A First Course in Abstract Algebra-JB Fraleigh
评论
共有 条评论