18
|
1 package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;
|
|
2
|
|
3 import java.util.Iterator;
|
|
4 import java.util.LinkedList;
|
|
5
|
|
6 import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
|
|
7
|
|
8 import org.junit.Test;
|
|
9
|
|
10 public class deepPersonIdsTest {
|
|
11 @Test
|
|
12 public void deepPersonIdsTest(){
|
31
|
13 JuGrix jugrix = new JuGrix(false);
|
18
|
14 LinkedList<String> filterIds = new LinkedList<String>();
|
|
15 //filterIds.add("r:9");
|
|
16 Iterator<String> ids = jugrix.deepPersonIds("o:3",filterIds);
|
|
17 System.out.println("------------------------------------------------");
|
|
18 for (;ids.hasNext();) {
|
|
19 System.out.println(ids.next());
|
|
20 }
|
31
|
21
|
|
22
|
|
23 jugrix = new JuGrix(true);
|
|
24 filterIds = new LinkedList<String>();
|
|
25 //filterIds.add("r:9");
|
|
26 ids = jugrix.deepPersonIds("o:3",filterIds);
|
|
27 System.out.println("------------------------------------------------");
|
|
28 for (;ids.hasNext();) {
|
|
29 System.out.println(ids.next());
|
|
30 }
|
18
|
31 }
|
31
|
32
|
18
|
33
|
|
34 }
|