de.bsvrz.sys.startstopp.prozessvew
Class SchreibeProtokollTest

java.lang.Object
  extended by de.bsvrz.sys.startstopp.prozessvew.SchreibeProtokollTest

public class SchreibeProtokollTest
extends java.lang.Object

Klasse zum Testen der Klasse SchreibeProtokoll

Author:
Dambach Werke GmbH

Constructor Summary
SchreibeProtokollTest()
           
 
Method Summary
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testSchreibeSynchronisiertInDatei()
          Test Methode for SchreibeProtokoll.schreibeSynchronisiertInDatei(java.lang.String, java.lang.String, long).
 void testSchreibeUnSynchronisiertInDatei()
          Test Methode für SchreibeProtokoll.schreibeUnSynchronisiertInDatei(java.lang.String, java.lang.String, long).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchreibeProtokollTest

public SchreibeProtokollTest()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws java.lang.Exception
Throws:
java.lang.Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws java.lang.Exception
Throws:
java.lang.Exception

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testSchreibeSynchronisiertInDatei

public void testSchreibeSynchronisiertInDatei()
Test Methode for SchreibeProtokoll.schreibeSynchronisiertInDatei(java.lang.String, java.lang.String, long). Prüfung erfolgt indem solange in die Dateien geschrieben wird, bis ein Dateiwechsel festgestellt wird. Danach wird die Größe der bisherigen Datei geprüft. Der ganze Vorgang wird mehrfach wiederholt.


testSchreibeUnSynchronisiertInDatei

public void testSchreibeUnSynchronisiertInDatei()
Test Methode für SchreibeProtokoll.schreibeUnSynchronisiertInDatei(java.lang.String, java.lang.String, long).