use of org.junit.jupiter.api.Test in project VocabHunter by VocabHunter.
the class SettingsPathToolTest method testObtainSettingsFilePath.
@Test
public void testObtainSettingsFilePath() {
Path path = SettingsPathTool.obtainSettingsFilePath("test.txt");
LOG.info("Settings file path {}", path);
Assertions.assertNotNull(path, "Settings file path");
}
use of org.junit.jupiter.api.Test in project VocabHunter by VocabHunter.
the class SimpleAnalyserTest method testMixedCase.
@Test
public void testMixedCase() {
AnalysisResult result = analyse(UPPER_CASE, LOWER_CASE);
validate(result, use(LOWER_CASE, 2, LineReference.FIRST, LineReference.SECOND));
}
use of org.junit.jupiter.api.Test in project VocabHunter by VocabHunter.
the class SimpleAnalyserTest method testSpanish.
@Test
public void testSpanish() {
AnalysisResult result = analyse(LINE_WITH_ACCENTS);
validate(result, use(SPANISH_1, 1, LineReference.FIRST), use(SPANISH_2, 1, LineReference.FIRST), use(SPANISH_4, 1, LineReference.FIRST), use(SPANISH_3, 1, LineReference.FIRST));
}
use of org.junit.jupiter.api.Test in project VocabHunter by VocabHunter.
the class SimpleAnalyserTest method testExtraSpaces.
@Test
public void testExtraSpaces() {
AnalysisResult result = analyse(LINE_WITH_SPACES);
validate(result, use(WORD_1, 1, LineReference.FIRST), use(WORD_3, 1, LineReference.FIRST), use(WORD_2, 1, LineReference.FIRST));
}
use of org.junit.jupiter.api.Test in project VocabHunter by VocabHunter.
the class SimpleAnalyserTest method testSingle.
@Test
public void testSingle() {
AnalysisResult result = analyse(WORD_1);
validate(result, use(WORD_1, 1, LineReference.FIRST));
}
Aggregations