コード例 #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());
 }