Package edu.pdx.cs.joy.grader.poa
Class GradeBookFileManagerTest
java.lang.Object
edu.pdx.cs.joy.grader.poa.EventBusTestCase
edu.pdx.cs.joy.grader.poa.GradeBookFileManagerTest
-
Field Summary
Fields inherited from class edu.pdx.cs.joy.grader.poa.EventBusTestCase
bus, unhandledExceptionHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgradeBookLoadedOnLoadGradeBookEvent(File tempDir) voidvoidsetUp()voidprotected FilewriteGradeBookToFile(File tempDir, String gradeBookName) Methods inherited from class edu.pdx.cs.joy.grader.poa.EventBusTestCase
doNotFailTestWhenUnhandledExceptionEncountered, handleUnhandledException, tearDown
-
Constructor Details
-
GradeBookFileManagerTest
public GradeBookFileManagerTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classEventBusTestCase
-
gradeBookLoadedOnLoadGradeBookEvent
- Throws:
IOException
-
writeGradeBookToFile
- Throws:
IOException
-
unhandledExceptionEventPublishedWhenLoadingBadGradeBook
@Test public void unhandledExceptionEventPublishedWhenLoadingBadGradeBook(@TempDir File tempDir) throws IOException - Throws:
IOException
-
gradeBookSavedToFileOnSaveGradeBookEvent
@Test public void gradeBookSavedToFileOnSaveGradeBookEvent(@TempDir File tempDir) throws IOException, ParserException - Throws:
IOExceptionParserException
-