Examples of ExporterBean


Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest02() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.FALSE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest03() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest04() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.FALSE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest05() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest06() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.FALSE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest07() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest08() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest09() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid(null);
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

     * @throws Exception
     */
    @Test
    public void judgeTest10() throws Exception {
        // 入力値の生成
        ExporterBean bean = new ExporterBean();
        bean.setJobflowSid("11");
        bean.setJobflowId("jobflow1");
        bean.setExecutionId("11-1");
        Map<String, ExportTargetTableBean> targetTable = new HashMap<String, ExportTargetTableBean>();
        targetTable.put("table1", new ExportTargetTableBean());
        targetTable.put("table2", new ExportTargetTableBean());
        bean.setExportTargetTable(targetTable);

        Properties p = ConfigurationLoader.getProperty();
        p.setProperty(Constants.PROP_KEY_EXPORT_TSV_DELETE, TsvDeleteType.TRUE.getSymbol());
        ConfigurationLoader.setProperty(p);

View Full Code Here

Examples of com.asakusafw.bulkloader.bean.ExporterBean

        targetTable.put("IMPORT_TARGET1", bean1);
        ExportTargetTableBean bean2 = new ExportTargetTableBean();
        bean2.addExportFile(importFile3);
        targetTable.put("IMPORT_TARGET2", bean2);

        ExporterBean bean = new ExporterBean();
        bean.setExportTargetTable(targetTable);

        // テスト対象クラス実行
        ExportFileDelete delete = new ExportFileDelete();
        delete.deleteFile(bean);
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.