Package org.eclipse.rdf4j.spring.test
Class RDF4JTestConfig
- java.lang.Object
-
- org.eclipse.rdf4j.spring.test.RDF4JTestConfig
-
@Experimental @Configuration @Import({RDF4JConfig.class,InMemoryRepositoryConfig.class,RemoteRepositoryConfig.class,PoolConfig.class,ResultCacheConfig.class,OperationCacheConfig.class,OperationLogConfig.class,OperationLogJmxConfig.class,TxConfig.class,UUIDSequenceConfig.class,NoveltyCheckingUUIDSourceConfig.class,SimpleRepositoryUUIDSourceConfig.class,PredictableUUIDSourceConfig.class}) public class RDF4JTestConfig extends Object
Spring configuration for use in unit tests. Imports the configurations of all subsystems that are autoconfigured when used outside of tests. Test configurations should import this configuration:@TestConfiguration @Import(RDF4JTestConfig.class) @ComponentScan(basePackages = "com.example.myapp.*") public class TestConfig { // application-specific configuration }
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer