Skip to content

Commit

Permalink
Rename Base to Application classpath test
Browse files Browse the repository at this point in the history
  • Loading branch information
derTobsch committed Jan 13, 2025
1 parent 3a8c987 commit 405a82e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 33 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package de.focus_shift.jollyday.core.configuration;

import org.junit.jupiter.api.Test;

import java.util.Properties;

import static org.assertj.core.api.Assertions.assertThat;

class ApplicationClasspathConfigurationProviderContentTest {

@Test
void ensureToOnlyContainKnownKeys() {
final ApplicationClasspathConfigurationProvider sut = new ApplicationClasspathConfigurationProvider();
final Properties properties = sut.getProperties();
assertThat(properties).containsOnlyKeys(
"manager.impl",
"manager.impl.jp",
"parser.impl.de.focus_shift.jollyday.core.spi.Fixed",
"parser.impl.de.focus_shift.jollyday.core.spi.FixedWeekdayInMonth",
"parser.impl.de.focus_shift.jollyday.core.spi.IslamicHoliday",
"parser.impl.de.focus_shift.jollyday.core.spi.ChristianHoliday",
"parser.impl.de.focus_shift.jollyday.core.spi.RelativeToFixed",
"parser.impl.de.focus_shift.jollyday.core.spi.RelativeToWeekdayInMonth",
"parser.impl.de.focus_shift.jollyday.core.spi.FixedWeekdayBetweenFixed",
"parser.impl.de.focus_shift.jollyday.core.spi.FixedWeekdayRelativeToFixed",
"parser.impl.de.focus_shift.jollyday.core.spi.EthiopianOrthodoxHoliday",
"parser.impl.de.focus_shift.jollyday.core.spi.RelativeToEasterSunday",
"configuration.service.impl"
);
}
}

This file was deleted.

0 comments on commit 405a82e

Please sign in to comment.