Examples of ExampleDatabasePopulator


Examples of com.opengamma.examples.bloomberg.tool.ExampleDatabasePopulator

  @Test
  public void testPortfolioAndDataLoaded() throws Exception {
    for (int i = 0; i < 2; i++) {
      DBTestUtils.createHsqlDB(CONFIG_RESOURCE_LOCATION);
     
      new ExampleDatabasePopulator().run(CONFIG_RESOURCE_LOCATION, IntegrationToolContext.class);
     
      IntegrationToolContext toolContext = getToolContext();
      try {
        assertEquityPortfolio(toolContext);
        assertMultiCurrencySwapPortfolio(toolContext);
View Full Code Here

Examples of com.opengamma.examples.simulated.tool.ExampleDatabasePopulator

  @Test(enabled=false)
  public void testPortfolioAndDataLoaded() throws Exception {
    DBTestUtils.createTestHsqlDB(CONFIG_RESOURCE_LOCATION);
   
    if (!(new ExampleDatabasePopulator().run(CONFIG_RESOURCE_LOCATION, ToolContext.class))) {
      fail();
    }
   
    ToolContext toolContext = getToolContext();
    try {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.