annotate src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/deepPersonIdsTest.java @ 31:7f70341a78bc

all function use index
author one
date Sat, 08 Nov 2014 06:31:14 +0900
parents 0fce1292ab38
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
1 package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
2
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
3 import java.util.Iterator;
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
4 import java.util.LinkedList;
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
5
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
6 import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
7
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
8 import org.junit.Test;
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
9
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
10 public class deepPersonIdsTest {
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
11 @Test
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
12 public void deepPersonIdsTest(){
31
7f70341a78bc all function use index
one
parents: 18
diff changeset
13 JuGrix jugrix = new JuGrix(false);
18
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
14 LinkedList<String> filterIds = new LinkedList<String>();
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
15 //filterIds.add("r:9");
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
16 Iterator<String> ids = jugrix.deepPersonIds("o:3",filterIds);
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
17 System.out.println("------------------------------------------------");
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
18 for (;ids.hasNext();) {
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
19 System.out.println(ids.next());
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
20 }
31
7f70341a78bc all function use index
one
parents: 18
diff changeset
21
7f70341a78bc all function use index
one
parents: 18
diff changeset
22
7f70341a78bc all function use index
one
parents: 18
diff changeset
23 jugrix = new JuGrix(true);
7f70341a78bc all function use index
one
parents: 18
diff changeset
24 filterIds = new LinkedList<String>();
7f70341a78bc all function use index
one
parents: 18
diff changeset
25 //filterIds.add("r:9");
7f70341a78bc all function use index
one
parents: 18
diff changeset
26 ids = jugrix.deepPersonIds("o:3",filterIds);
7f70341a78bc all function use index
one
parents: 18
diff changeset
27 System.out.println("------------------------------------------------");
7f70341a78bc all function use index
one
parents: 18
diff changeset
28 for (;ids.hasNext();) {
7f70341a78bc all function use index
one
parents: 18
diff changeset
29 System.out.println(ids.next());
7f70341a78bc all function use index
one
parents: 18
diff changeset
30 }
18
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
31 }
31
7f70341a78bc all function use index
one
parents: 18
diff changeset
32
18
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
33
0fce1292ab38 add deepPersonIdsTest and Method but not Test
one
parents:
diff changeset
34 }