Examples of storeToDatabase()


Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

        UnitTestUtil.executeUpdate(createSql2);
        // テストデータを指定
        File testDataDir = new File("src/test/data/recoverer/executeTest19");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        // 処理の実行
        String[] args = new String[]{targetName, executionId};
        Recoverer recoverer = new StubRecoverer();
        int result = recoverer.execute(args);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

        UnitTestUtil.executeUpdate(createSql2);
        // テストデータを指定
        File testDataDir = new File("src/test/data/recoverer/executeTest20");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        // 処理の実行
        String[] args = new String[]{targetName, executionId};
        Recoverer recoverer = new StubRecoverer();
        int result = recoverer.execute(args);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

        UnitTestUtil.executeUpdate(dropSql2);
        // テストデータを指定
        File testDataDir = new File("src/test/data/recoverer/executeTest20");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        // 処理の実行
        String[] args = new String[]{targetName, executionId};
        Recoverer recoverer = new StubRecoverer();
        int result = recoverer.execute(args);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

        UnitTestUtil.executeUpdate(dropSql2);
        // テストデータを指定
        File testDataDir = new File("src/test/data/recoverer/executeTest22");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        // 処理の実行
        String[] args = new String[]{targetName, executionId};
        Recoverer recoverer = new StubRecoverer();
        int result = recoverer.execute(args);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

        UnitTestUtil.executeUpdate(createSql2);
        // テストデータを指定
        File testDataDir = new File("src/test/data/recoverer/executeTest23");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        // 処理の実行
        String[] args = new String[]{targetName, executionId};
        Recoverer recoverer = new StubRecoverer();
        int result = recoverer.execute(args);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

    @Test
    public void copyDataTest01() throws Exception {
        // テストデータを指定
        TestUtils util = new TestUtils(new File("src/test/data/exporter/ExportDataCopyTest/copyDataTest01"));
        // テストデータをセット
        util.storeToDatabase(false);

        // ExportBeanを生成
        Map<String, ExportTargetTableBean> targetTable = new LinkedHashMap<String, ExportTargetTableBean>();
        ExportTargetTableBean table1 = new ExportTargetTableBean();
        table1.setDuplicateCheck(true);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

    @Test
    public void copyDataTest02() throws Exception {
        // テストデータを指定
        TestUtils util = new TestUtils(new File("src/test/data/exporter/ExportDataCopyTest/copyDataTest02"));
        // テストデータをセット
        util.storeToDatabase(false);

        // プロパティを書き換え
        Properties prop = ConfigurationLoader.getProperty();
        prop.setProperty(Constants.PROP_KEY_EXP_COPY_MAX_RECORD, "1");
        ConfigurationLoader.setProperty(prop);
View Full Code Here

Examples of com.asakusafw.testtools.TestUtils.storeToDatabase()

    public void lockTest12() throws Exception {
        // テストデータを指定
        File testDataDir = new File("src/test/data/importer/TargetDataLockTest/lockTest12");
        TestUtils util = new TestUtils(testDataDir);
        // テストデータをセット
        util.storeToDatabase(false);

        //        // テストデータの指定
//        String pattern = "patternL12";

        // ImportBeanを生成
View Full Code Here

Examples of games.stendhal.server.core.engine.StendhalRPZone.storeToDatabase()

    super.close();
    SingletonRepository.getTurnNotifier().dontNotify(chestListener);
    StendhalRPZone zone = this.getZone();
    if (zone != null) {
      logger.debug("Storing chest in zone " + zone.getName() + " with " + getSlot("content").size() + " items.");
      zone.storeToDatabase();
    } else {
      logger.error("Closing StoredChest which is in no zone.");
    }
  }
View Full Code Here

Examples of games.stendhal.server.core.engine.StendhalRPZone.storeToDatabase()

     */
    public void onTurnReached(final int currentTurn) {
      StendhalRPZone zone = getZone();
      if (zone != null) {
        logger.info("Storing chest in zone " + zone.getName() + " with " + getSlot("content").size() + " items while it's open.");
        zone.storeToDatabase();
      }
      if (chestCloser()) {
        SingletonRepository.getTurnNotifier().notifyInSeconds(60, this);
      }
    }
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.