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

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

public class LogWriterTest
extends junit.framework.TestCase

作成者:
Tetsuro Ikeda

フィールドの概要
static int LOG_DEBUG
           
static java.lang.String LOG_DEGUB_MESSAGE
           
static int LOG_ERROR
           
static java.lang.String LOG_ERROR_MESSAGE
           
static int LOG_INFO
           
static java.lang.String LOG_INFO_MESSAGE
           
 
コンストラクタの概要
LogWriterTest()
           
 
メソッドの概要
 void testClean()
          Log writer thread must be ended if "clean" method is invoked.
 void testInit()
          Log writer thread must be started if "init" method was invoked.
 void testRun()
          The log in queue must be printed out if run method is called.
 void testWrite()
          Only the same or upper level of log must be in the queue.
 
クラス 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
 

フィールドの詳細

LOG_DEBUG

public static final int LOG_DEBUG
関連項目:
定数フィールド値

LOG_INFO

public static final int LOG_INFO
関連項目:
定数フィールド値

LOG_ERROR

public static final int LOG_ERROR
関連項目:
定数フィールド値

LOG_DEGUB_MESSAGE

public static final java.lang.String LOG_DEGUB_MESSAGE
関連項目:
定数フィールド値

LOG_INFO_MESSAGE

public static final java.lang.String LOG_INFO_MESSAGE
関連項目:
定数フィールド値

LOG_ERROR_MESSAGE

public static final java.lang.String LOG_ERROR_MESSAGE
関連項目:
定数フィールド値
コンストラクタの詳細

LogWriterTest

public LogWriterTest()
メソッドの詳細

testInit

public void testInit()
Log writer thread must be started if "init" method was invoked.


testWrite

public void testWrite()
Only the same or upper level of log must be in the queue.


testRun

public void testRun()
The log in queue must be printed out if run method is called.


testClean

public void testClean()
Log writer thread must be ended if "clean" method is invoked.