Package com.couchace.core.api.request

Examples of com.couchace.core.api.request.CouchFeatureSet$CouchFeatureSetBuilder


                .setPassword(TestSetup.password)
                .setHttpClient(JerseyCouchHttpClient.class)
                .setJsonStrategy(JacksonCouchJsonStrategy.class);

        couchServer = new CouchServer(couchSetup);
        CouchFeatureSet featureSet = CouchFeatureSet.builder().add(CouchFeature.ALLOW_DB_DELETE, true).build();
        database = couchServer.database("couchace-admin-test", featureSet);

        // Ensure database does not exist
        if (database.exists()) {
            database.deleteDatabase();
View Full Code Here


        assertTrue(database.exists());

    }

    public void databaseLifeCycleTest() {
        CouchFeatureSet featureSet = CouchFeatureSet.builder().add(CouchFeature.ALLOW_DB_DELETE, true).build();
        CouchDatabase oneTestDatabase = couchServer.database("couchace-one-test", featureSet);
        // Ensure database does not exist
        if (oneTestDatabase.exists()) {
            oneTestDatabase.deleteDatabase();
        }
View Full Code Here

            couchSetup.ssl(keystoreFile.getAbsolutePath(), storePass);
        }

        CouchServer couchServer = new CouchServer(couchSetup);

        CouchFeatureSet featureSet = CouchFeatureSet.builder()
            .add(CouchFeature.ALLOW_DB_DELETE, true)
            .build();
        couchDatabase = couchServer.database(databaseName, featureSet);
        couchDatabase.recreateDatabase();
        assertTrue(couchDatabase.exists());
View Full Code Here

TOP

Related Classes of com.couchace.core.api.request.CouchFeatureSet$CouchFeatureSetBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.