예제 #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());
 }