StateLoggerTest

public class StateLoggerTest

Logs all state transitions from a simulation.

Author:Kyle M. Douglass

Fields

tempDir

public TemporaryFolder tempDir

Constructors

StateLoggerTest

public StateLoggerTest()

Methods

setUp

public void setUp()

testLogStateTransition

public void testLogStateTransition()

Test of logStateTransition method, of class StateLogger.

testReset

public void testReset()

Test for resetting the logger to its initial state.

testSaveLogFile

public void testSaveLogFile()

Test for saving the log file.

Throws:

testSetFilename

public void testSetFilename()

Test of setFilename method and unique filename generation.

Throws:
  • IOException