Search in sources :

Example 6 with SessionListedFile

use of io.github.vocabhunter.analysis.settings.SessionListedFile in project VocabHunter by VocabHunter.

the class FilterFileModelTranslatorTest method testFromSessionSeen.

@Test
public void testFromSessionSeen() {
    FilterFileModel model = new FilterFileModel(FILE, FilterFileMode.SESSION_SEEN, COLUMNS_EMPTY);
    validateFromModel(model, new SessionListedFile(FILE, true));
}
Also used : FilterFileModel(io.github.vocabhunter.gui.model.FilterFileModel) SessionListedFile(io.github.vocabhunter.analysis.settings.SessionListedFile) Test(org.junit.Test)

Aggregations

SessionListedFile (io.github.vocabhunter.analysis.settings.SessionListedFile)6 Test (org.junit.Test)4 FilterFileModel (io.github.vocabhunter.gui.model.FilterFileModel)3 FilterFileMode (io.github.vocabhunter.gui.model.FilterFileMode)2 VocabHunterException (io.github.vocabhunter.analysis.core.VocabHunterException)1 DocumentListedFile (io.github.vocabhunter.analysis.settings.DocumentListedFile)1 ExcelListedFile (io.github.vocabhunter.analysis.settings.ExcelListedFile)1 Path (java.nio.file.Path)1