annotate src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/competentRoleIdTest.java @ 28:ed831b2fc156

temporarily stored
author one
date Fri, 07 Nov 2014 02:20:07 +0900
parents 28f383f677ff
children 626e56f749a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
1 package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
2
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
3 import java.util.Iterator;
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
4
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
5 import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
6 import junit.framework.Assert;
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
7
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
8 import org.junit.Test;
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
9
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
10 public class competentRoleIdTest {
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
11
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
12 @Test
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
13 public void competentRoleIdTest(){
28
ed831b2fc156 temporarily stored
one
parents: 9
diff changeset
14 JuGrix jugrix = new JuGrix(false);
9
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
15 Iterator<String> roleIds = jugrix.competentRoleId("p:1");
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
16 Assert.assertTrue(roleIds.hasNext());
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
17 Assert.assertEquals(roleIds.next(), "r:10");
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
18 }
28f383f677ff add competentRoledTest and method
one
parents:
diff changeset
19 }