Coverage Summary for Class: TestSchemaBasedSharing (org.umlg.sqlg.test.sharding)

Class Class, % Method, % Branch, % Line, %
TestSchemaBasedSharing 0% (0/1) 0% (0/3) 0% (0/2) 0% (0/10)


 package org.umlg.sqlg.test.sharding;
 
 import org.apache.commons.configuration2.builder.fluent.Configurations;
 import org.apache.commons.configuration2.ex.ConfigurationException;
 import org.apache.tinkerpop.gremlin.structure.T;
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.umlg.sqlg.test.BaseTest;
 
 import java.net.URL;
 
 public class TestSchemaBasedSharing extends BaseTest {
 
     @BeforeClass
     public static void beforeClass() {
         URL sqlProperties = Thread.currentThread().getContextClassLoader().getResource("sqlg.coordinator.properties");
         try {
             Configurations configs = new Configurations();
             configuration = configs.properties(sqlProperties);
             if (!configuration.containsKey("jdbc.url")) {
                 throw new IllegalArgumentException(String.format("SqlGraph configuration requires that the %s be set", "jdbc.url"));
             }
         } catch (ConfigurationException e) {
             throw new RuntimeException(e);
         }
     }
 
     @Test
     public void test() {
         this.sqlgGraph.addVertex(T.label, "A");
         this.sqlgGraph.tx().commit();
     }
 }