Package com.clarkparsia.empire.util

Examples of com.clarkparsia.empire.util.TestModule


public class TestEmpireCore {

    @BeforeClass
    public static void beforeClass () {
        TestUtil.setConfigSystemProperty( "test.empire.config.properties" );
        Empire.init(new DefaultEmpireModule(), new TestModule());

        // TODO: tests for TripleSource stuff
        // TODO: tests for persistence injectors
        // TODO: tests for transactions
        // TODO: more failure tests -- badly annotated beans, misconfigured datasources, etc.
View Full Code Here


public class CodegenTests {

    @BeforeClass
    public static void beforeClass () {
        System.setProperty("empire.configuration.file", new File(TestUtil.getProjectHome(), "core/test/test.empire.config.properties").getAbsolutePath());
        Empire.init(new TestModule());
    }
View Full Code Here

  private final static String TITLE = "Test";

  @BeforeClass
  public static void beforeClass() {
        TestUtil.setConfigSystemProperty( "test.empire.config.properties" );
    Empire.init(new TestModule());

        RdfGenerator.init(Sets.<Class<?>>newHashSet(BusinessObjectImpl.class, EventImpl.class));
  }
View Full Code Here

  // TODO: could use some more SPI tests

    @BeforeClass
    public static void beforeClass() {
        TestUtil.setConfigSystemProperty( "test.empire.config.properties" );
        Empire.init(new TestModule());
    }
View Full Code Here

* @since   0.7
*/
public class TestDS {
  @Test
  public void testTripleSourceCreate() throws DataSourceException {
    Empire.init(new DefaultEmpireModule(), new TestModule());
   
    DataSource aTestSource = TestUtil.createTestSource();

    // this is a test source, so it should not be a TripleSource...

View Full Code Here

TOP

Related Classes of com.clarkparsia.empire.util.TestModule

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.