16
|
1 package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;
|
|
2
|
|
3 import java.util.Iterator;
|
|
4
|
|
5 import org.junit.Assert;
|
|
6 import org.junit.Test;
|
|
7
|
|
8 import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
|
|
9
|
|
10 public class childOrganizationIds {
|
|
11
|
|
12 @Test
|
|
13 public void childOrganizationIdsTest(){
|
|
14 JuGrix jugrix = new JuGrix();
|
19
|
15 Iterator<String> ids = jugrix.childOrganizationIds("o:2", null);
|
16
|
16
|
|
17 Assert.assertTrue(ids.hasNext());
|
|
18 Assert.assertEquals(ids.next(),"o:3");
|
|
19 Assert.assertEquals(ids.next(),"o:99");
|
|
20 }
|
|
21 }
|