view src/test/java/jp/ac/u_ryukyu/cr/ie/tatsuki/functionTest/ConcurrentRoleIdsTest.java @ 44:5e8eac03fed3

miner change
author one
date Tue, 25 Nov 2014 17:51:35 +0900
parents c036d36c33af
children
line wrap: on
line source

package jp.ac.u_ryukyu.cr.ie.tatsuki.functionTest;

import java.util.Iterator;

import org.junit.Test;

import jp.ac.u_ryukyu.cr.ie.tatsuki.bbs.JuGrix;
import junit.framework.Assert;

public class ConcurrentRoleIdsTest {

  @Test
  public void testConcurrentRoleId() {
    JuGrix jugrix = new JuGrix(true);
    Iterator<String> roleIds = jugrix.concurrentRoleIds("p:1");
    Assert.assertTrue(roleIds.hasNext());
    Assert.assertEquals(roleIds.next(), "r:34");
  }
}