Mercurial > hg > Members > tatsuki > JungleXMLReader
view src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/DeepPersonIdsTest.java @ 34:96dcbd8e2fcb
refactoring
author | one |
---|---|
date | Sun, 09 Nov 2014 22:56:53 +0900 |
parents | b8d86bc46b51 |
children | c036d36c33af |
line wrap: on
line source
package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest; import java.util.Iterator; import java.util.LinkedList; import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix; import org.junit.Test; public class DeepPersonIdsTest { @Test public void TestDeepPersonIds(){ JuGrix jugrix = new JuGrix(false); LinkedList<String> filterIds = new LinkedList<String>(); //filterIds.add("r:9"); Iterator<String> ids = jugrix.deepPersonIds("o:2",filterIds); System.out.println("------------------------------------------------"); for (;ids.hasNext();) { System.out.println(ids.next()); } jugrix = new JuGrix(true); filterIds = new LinkedList<String>(); //filterIds.add("r:9"); ids = jugrix.deepPersonIds("o:3",filterIds); System.out.println("------------------------------------------------"); for (;ids.hasNext();) { System.out.println(ids.next()); } } }