• 大小: 100M
    文件类型: .zip
    金币: 2
    下载: 2 次
    发布日期: 2022-02-27
  • 语言: 其他
  • 标签: 其他  

资源简介

Activiti实战PDF电子书及源代码.zip

资源截图

代码片段和文件信息

/* 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  2018-01-25 17:22  Activiti实战 PDF电子书及源代码\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\
     文件          41  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.gitignore
     文件         371  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.project
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.settings\
     文件          55  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.settings\org.eclipse.core.resources.prefs
     文件          86  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.settings\org.eclipse.m2e.core.prefs
     文件          93  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\.settings\org.jboss.ide.eclipse.as.core.prefs
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\
     文件        1483  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.classpath
     文件        1042  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.project
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\
     文件         155  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.core.resources.prefs
     文件         422  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.jdt.core.prefs
     文件         123  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.jpt.core.prefs
     文件          86  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.m2e.core.prefs
     文件         160  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.wst.common.project.facet.core.prefs.xml
     文件         163  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件         211  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\.settings\org.maven.ide.eclipse.prefs
     文件        5160  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\pom.xml
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\
     文件        3255  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\Leave.bpmn
     文件       10951  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\designer\Leave.png
     目录           0  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\helloworld\
     文件        1541  2015-11-24 23:30  Activiti实战 PDF电子书及源代码\activiti-in-action-codes\bpmn20-example\src\main\resources\me\kafeitu\activiti\helloworld\sayhelloleave.bpmn
............此处省略5002个文件信息

评论

共有 条评论