Search in sources :

Example 6 with DocumentCollectionManagerFactory

use of org.jnosql.diana.api.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.

the class OrientDBDocumentConfigurationTest method shouldCreateByConfigurationFile.

@Test
public void shouldCreateByConfigurationFile() {
    OrientDBDocumentConfiguration configuration = new OrientDBDocumentConfiguration();
    DocumentCollectionManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : DocumentCollectionManagerFactory(org.jnosql.diana.api.document.DocumentCollectionManagerFactory) Test(org.junit.jupiter.api.Test)

Example 7 with DocumentCollectionManagerFactory

use of org.jnosql.diana.api.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.

the class MongoDBDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByFile.

@Test
public void shouldCreateDocumentCollectionManagerFactoryByFile() {
    DocumentConfiguration configuration = new MongoDBDocumentConfiguration();
    DocumentCollectionManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : DocumentCollectionManagerFactory(org.jnosql.diana.api.document.DocumentCollectionManagerFactory) DocumentConfiguration(org.jnosql.diana.api.document.DocumentConfiguration) Test(org.junit.jupiter.api.Test)

Example 8 with DocumentCollectionManagerFactory

use of org.jnosql.diana.api.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.

the class ElasticsearchDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByFile.

@Test
public void shouldCreateDocumentCollectionManagerFactoryByFile() {
    ElasticsearchDocumentConfiguration configuration = new ElasticsearchDocumentConfiguration();
    DocumentCollectionManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : DocumentCollectionManagerFactory(org.jnosql.diana.api.document.DocumentCollectionManagerFactory) Test(org.junit.jupiter.api.Test)

Example 9 with DocumentCollectionManagerFactory

use of org.jnosql.diana.api.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.

the class ElasticsearchDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByMap.

@Test
public void shouldCreateDocumentCollectionManagerFactoryByMap() {
    ElasticsearchDocumentConfiguration configuration = new ElasticsearchDocumentConfiguration();
    DocumentCollectionManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : DocumentCollectionManagerFactory(org.jnosql.diana.api.document.DocumentCollectionManagerFactory) Test(org.junit.jupiter.api.Test)

Example 10 with DocumentCollectionManagerFactory

use of org.jnosql.diana.api.document.DocumentCollectionManagerFactory in project jnosql-diana-driver by eclipse.

the class CouchbaseDocumentConfigurationTest method shouldCreateDocumentCollectionManagerFactoryByFile.

@Test
public void shouldCreateDocumentCollectionManagerFactoryByFile() {
    CouchbaseDocumentConfiguration configuration = new CouchbaseDocumentConfiguration();
    DocumentCollectionManagerFactory managerFactory = configuration.get();
    assertNotNull(managerFactory);
}
Also used : DocumentCollectionManagerFactory(org.jnosql.diana.api.document.DocumentCollectionManagerFactory) Test(org.junit.jupiter.api.Test)

Aggregations

DocumentCollectionManagerFactory (org.jnosql.diana.api.document.DocumentCollectionManagerFactory)10 Test (org.junit.jupiter.api.Test)10 HashMap (java.util.HashMap)1 Settings (org.jnosql.diana.api.Settings)1 DocumentConfiguration (org.jnosql.diana.api.document.DocumentConfiguration)1