Ejemplo n.º 1
0
  public void setUp() {
    super.setUp();
    try {
      this.s = GrouperSession.start(SubjectFinder.findRootSubject());
      this.root = StemFinder.findRootStem(this.s);

      this.originalRootSize = new ChildStemFilter(this.root).getResults(this.s).size();

      this.top = this.root.addChildStem("top", "top");
      this.child = this.top.addChildStem("child", "child");
    } catch (Exception e) {
      throw new GrouperException("test setUp() error: " + e.getMessage(), e);
    }
  }
Ejemplo n.º 2
0
 public void setUp() {
   super.setUp();
   this.grouperSession = GrouperSession.start(SubjectFinder.findRootSubject());
   this.root = StemFinder.findRootStem(this.grouperSession);
   this.top = this.root.addChildStem("top", "top display name");
 }
Ejemplo n.º 3
0
 public void tearDown() {
   super.tearDown();
 }