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

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

public class BenchmarkManagerTest
extends junit.framework.TestCase

作成者:
Toshio Sugahara, Tetsuro Ikeda

コンストラクタの概要
BenchmarkManagerTest()
           
 
メソッドの概要
 void testRun()
          The state must be "BENCHMARK_SUCCESS" if benchmark was succeeded.
 void testRun10()
          The primary node test.
 void testRun11()
          The primary node test.
 void testRun12()
          The primary node test.
 void testRun13()
          The primary node test.
 void testRun14()
          The secondary node test.
 void testRun15()
          The secondary node test.
 void testRun16()
          The secondary node test.
 void testRun17()
          The secondary node test.
 void testRun18()
          The secondary node test.
 void testRun19()
          The secondary node test.
 void testRun2()
          The state must be "BENCHMARK_SUCCESS" if benchmark was succeeded.
 void testRun3()
          The BenchmarkAbortException must be thrown if LogWriter couldn't be initialized.
 void testRun4()
          The BenchmarkAbortException must be thrown if LogWriter couldn't be initialized.
 void testRun5()
          If container's initialization failed, the finalization of "initialized container", LogWriter and DataWriter must be called.
 void testRun6()
          The container which got timeout must be killed.
 void testRun7()
          If any containers become "BENCHMARK_TERMINATED", manager must have all other containers stopped and call finalization.
 void testRun8()
          The primary node test.
 void testRun9()
          The primary node test.
 
クラス 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
 

コンストラクタの詳細

BenchmarkManagerTest

public BenchmarkManagerTest()
メソッドの詳細

testRun

public void testRun()
The state must be "BENCHMARK_SUCCESS" if benchmark was succeeded. (without option map)


testRun2

public void testRun2()
The state must be "BENCHMARK_SUCCESS" if benchmark was succeeded. (with option map) The benchmark information must be overridden by the option map.


testRun3

public void testRun3()
The BenchmarkAbortException must be thrown if LogWriter couldn't be initialized. In this case, the state must be "BENCHMARK_FAIL".


testRun4

public void testRun4()
The BenchmarkAbortException must be thrown if LogWriter couldn't be initialized. In this case, the state must be "BENCHMARK_FAIL".


testRun5

public void testRun5()
If container's initialization failed, the finalization of "initialized container", LogWriter and DataWriter must be called. In this case, benchmark must not be executed and the state must be "BENCHMARK_FAIL".


testRun6

public void testRun6()
The container which got timeout must be killed.


testRun7

public void testRun7()
If any containers become "BENCHMARK_TERMINATED", manager must have all other containers stopped and call finalization. In this case, the benchmark state must become "BENCHMARK_FAIL".


testRun8

public void testRun8()
The primary node test. The state must be "BENCHMARK_SUCCESS" if benchmark was succeded.


testRun9

public void testRun9()
The primary node test. If the communication with secondary nodes failed before container's initialization, BenchmarkAbortException must be thrown, and the state must become "BENCHMARL_FAIL".


testRun10

public void testRun10()
The primary node test. If the container initialization failed, the notification of benchmark termination must be sent to secondary nodes, "initialized containers" must be finalized, and the state must become "BENCHMARK_FAIL".


testRun11

public void testRun11()
The primary node test. If the container intialization was succeed then recieved the error notification from secondary node, the manager must send the notification of benchmark termination to other secondary nodes, call the finalization of all containers, then the state must become "BENCHMARK_FAIL".


testRun12

public void testRun12()
The primary node test. If the benchmark was terminated in this node, the manager must send the notification of benchmark termination to secondary nodes, then the state must become "BENCHMARK_FAIL".


testRun13

public void testRun13()
The primary node test. If the manager recieved the error notification from secondary node, the manager must send the notification of benchmark termination to other secondary nodes, call containers finalziation, then become "BENCHMARK_FAIL".


testRun14

public void testRun14()
The secondary node test. The state must be "BENCHMARK_SUCCESS" if benchmark was succeded.


testRun15

public void testRun15()
The secondary node test. If the communication with primary nodes failed before container's initialization, BenchmarkAbortException must be thrown, and the state must become "BENCHMARL_FAIL".


testRun16

public void testRun16()
The secondary node test. If the container initialization failed, the notification of benchmark termination must be sent to primary node, "initialized containers" must be finalized, and the state must become "BENCHMARK_FAIL".


testRun17

public void testRun17()
The secondary node test. If the container intialization was succeed then recieved the error notification from primary node, the manager must call the finalization of all containers, then the state must become "BENCHMARK_FAIL".


testRun18

public void testRun18()
The secondary node test. If the benchmark was terminated in this node, the manager must send the notification of benchmark termination to primary nodes, then the state must become "BENCHMARK_FAIL".


testRun19

public void testRun19()
The secondary node test. If the manager recieved the error notification from primaray node, the manager must call containers finalziation, then become "BENCHMARK_FAIL".