test.jp.co.scs.mbench
クラス SynchronizerTest

java.lang.Object
  上位を拡張 junit.framework.Assert
      上位を拡張 junit.framework.TestCase
          上位を拡張 test.jp.co.scs.mbench.SynchronizerTest
すべての実装されたインタフェース:
junit.framework.Test

public class SynchronizerTest
extends junit.framework.TestCase

作成者:
Masato Koga

コンストラクタの概要
SynchronizerTest()
           
 
メソッドの概要
 void testDoSynchronize()
          Only the first invoker can get the lock, the second and later must wait until the lock is released.
 void testDoSynchronize2()
          Even if the lock doesn't be released by call, timeout cause the release of lock.
 
クラス junit.framework.TestCase から継承されたメソッド
countTestCases, getName, run, run, runBare, setName, toString
 
クラス junit.framework.Assert から継承されたメソッド
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

SynchronizerTest

public SynchronizerTest()
メソッドの詳細

testDoSynchronize

public void testDoSynchronize()
Only the first invoker can get the lock, the second and later must wait until the lock is released. When the lock is released, the second and later are returned.


testDoSynchronize2

public void testDoSynchronize2()
Even if the lock doesn't be released by call, timeout cause the release of lock.