.. java:import:: ch.epfl.leb.sass.loggers PositionLogger .. java:import:: java.io File .. java:import:: java.io IOException .. java:import:: java.io FileReader .. java:import:: java.io BufferedReader .. java:import:: org.json JSONObject .. java:import:: org.junit Before .. java:import:: org.junit Test .. java:import:: org.junit Rule .. java:import:: org.junit.rules TemporaryFolder PositionLoggerTest ================== .. java:package:: ch.epfl.leb.sass.loggers :noindex: .. java:type:: public class PositionLoggerTest Logs emitter positions from a simulation. :author: Kyle M. Douglass Fields ------ tempDir ^^^^^^^ .. java:field:: @Rule public TemporaryFolder tempDir :outertype: PositionLoggerTest Constructors ------------ PositionLoggerTest ^^^^^^^^^^^^^^^^^^ .. java:constructor:: public PositionLoggerTest() :outertype: PositionLoggerTest Methods ------- setUp ^^^^^ .. java:method:: @Before public void setUp() :outertype: PositionLoggerTest testLogPosition ^^^^^^^^^^^^^^^ .. java:method:: @Test public void testLogPosition() :outertype: PositionLoggerTest Test of logStateTransition method, of class StateLogger. testReset ^^^^^^^^^ .. java:method:: @Test public void testReset() throws IOException :outertype: PositionLoggerTest Test for resetting the logger to its initial state. testSaveLogFile ^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSaveLogFile() throws IOException :outertype: PositionLoggerTest Test for saving the log file. :throws java.io.IOException: testSetFilename ^^^^^^^^^^^^^^^ .. java:method:: @Test public void testSetFilename() throws IOException :outertype: PositionLoggerTest Test of setFilename method and unique filename generation. :throws IOException: