Examples of DatabaseFactory


Examples of marauroa.server.game.db.DatabaseFactory

  private static final String SSSHH_COME_HERE = "Ssshh! Come here, player! I have a #task for you.";

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
    ItemTestHelper.generateRPClasses();

    MockStendhalRPRuleProcessor.get();
    MockStendlRPWorld.get();
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

  private static final String ZONE_NAME = "int_ados_felinas_house";

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    new DatabaseFactory().initializeDatabase();
    MockStendlRPWorld.get();

    QuestHelper.setUpBeforeClass();

    setupZone(ZONE_NAME, new FlowerSellerNPC());
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

   *
   * @throws Exception
   */
  @BeforeClass
  public static void buildWorld() throws Exception {
    new DatabaseFactory().initializeDatabase();
    setupZone(ZONE_NAME);
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public class BanActionTest {

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    new DatabaseFactory().initializeDatabase();
    MockStendlRPWorld.get();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public class AdministrationActionTest {

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
    ArrestWarrentTestHelper.generateRPClasses();
    CreatureTestHelper.generateRPClasses();
    CorpseTestHelper.generateRPClasses();
    // load item classes including "dagger" from XML
    //DefaultEntityManager.getInstance(); 
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    MockStendlRPWorld.get();
    StendhalRPZone zone = new StendhalRPZone("admin_test");
    new HealerNPC().configureZone(zone, null);
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public abstract class QuestHelper extends PlayerTestHelper  {
 
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
    MockStendlRPWorld.get();
    generatePlayerRPClasses();
    ItemTestHelper.generateRPClasses();
    generateNPCRPClasses();
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

      TransactionPool.get().rollback(transaction);
    }
  }
   
  public static void main(final String[] args) {
    new DatabaseFactory().initializeDatabase()
    UpdatePlayerEntities updatePlayerEntities = new UpdatePlayerEntities();
        updatePlayerEntities.initRPClasses();
    updatePlayerEntities.doUpdate();
    }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public class UpdateConverterTest {

  @BeforeClass
  public static void setupClass() {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

    private void btLoadWorldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btLoadWorldActionPerformed
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

    try {
        // initialise TransactionPool
      new DatabaseFactory().initializeDatabase();

      try {
        // load zone configurations to register creature names
        new ZoneGroupsXMLLoader(new URI("/data/conf/zones.xml")).load();
      } catch (Exception e) {
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.