Package com.founder.fix.fixflow.core.impl.persistence.definition

Examples of com.founder.fix.fixflow.core.impl.persistence.definition.ResourceEntity


    ProcessDefinitionBehavior processDefinitionBehavior=processDefinitionQuery.singleResult();
    //验证是否得到流程定义
    assertNotNull(processDefinitionBehavior);
   
    //定义部署资源的字节流
    ResourceEntity resourceEntity = modelService.getResourceAsStream(processDefinitionBehavior.getResourceId());
    //验证是否得到定义部署资源的字节流
    assertNotNull(resourceEntity);
  }
View Full Code Here


    assertNotNull(map);
    //需要包含png文件和bpmn文件
    assertEquals(2, map.keySet().size());
    for(String key:map.keySet()){
      //获取资源文件
      ResourceEntity resourceEntity = map.get(key);
      //验证资源文件的大字段不为空
      assertNotNull(resourceEntity.getBytes());
    }
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.persistence.definition.ResourceEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.