1 package org.openecomp.sdc.be.dao.cassandra.schema;
4 import org.openecomp.sdc.be.config.ConfigurationManager;
5 import org.openecomp.sdc.be.utils.DAOConfDependentTest;
7 import java.util.LinkedList;
11 public class SdcSchemaUtilsTest extends DAOConfDependentTest{
14 public void testExecuteStatement() throws Exception {
15 String statement = "";
19 result = SdcSchemaUtils.executeStatement(statement);
21 List<String> cassandraHosts = new LinkedList<>();
22 ConfigurationManager.getConfigurationManager().getConfiguration().getCassandraConfig().setCassandraHosts(cassandraHosts);
23 ConfigurationManager.getConfigurationManager().getConfiguration().getCassandraConfig().setAuthenticate(true);
24 ConfigurationManager.getConfigurationManager().getConfiguration().getCassandraConfig().setSsl(true);
26 result = SdcSchemaUtils.executeStatement(statement);
31 public void testExecuteStatements() throws Exception {
32 String[] statements = new String[] { "" };
36 result = SdcSchemaUtils.executeStatements(statements);