Пример #1
0
 @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());
 }