@Before
 public void init() {
   activity = createActivity();
   addSnippetParam("sample.activityId", activity.getActivityId());
   activityNode = createActivityNode(activity.getActivityId(), "Entry");
   addSnippetParam("sample.activityNodeId", activityNode.getActivityId());
 }
示例#2
0
  @Before
  public void init() {
    activity = createActivity();
    addSnippetParam("sample.activityId", activity.getActivityId());

    id = getProperty("sample.id2");
    if (environment.isSmartCloud()) {
      id = getProperty("smartcloud.id2");
    }
    member = addMember(activity.getActivityId(), id);
    addSnippetParam("sample.memberId", member.getMemberId());
  }
示例#3
0
  @Before
  public void init() {
    activity = createActivity();
    addSnippetParam("sample.activityId", activity.getActivityId());

    String id2 = getProperty("sample.id2");
    if (environment.isSmartCloud()) {
      id2 = getProperty("smartcloud.id2");
    }
    addSnippetParam("sample.userId2", id2);
  }
示例#4
0
 @After
 public void destroy() {
   deleteActivity(activity.getActivityId());
 }
示例#5
0
 @Before
 public void init() {
   activity = createActivity();
   addSnippetParam("sample.activityId", activity.getActivityId());
 }