All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lordofthejars.nosqlunit.couchbase.DefaultCouchbaseComparisonStrategy Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package com.lordofthejars.nosqlunit.couchbase;

import com.lordofthejars.nosqlunit.core.NoSqlAssertionError;

import java.io.InputStream;

public class DefaultCouchbaseComparisonStrategy implements com.lordofthejars.nosqlunit.core
        .ComparisonStrategy {

    @Override
    public boolean compare(final CouchBaseClientCallback connection, final InputStream dataset) throws NoSqlAssertionError,
            Throwable {
        CouchbaseAssertion.strictAssertEquals(dataset, connection.couchBaseClient());
        return true;
    }

    @Override
    public void setIgnoreProperties(String[] ignoreProperties) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy