Package com.asakusafw.compiler.bulkloader.testing.model

Examples of com.asakusafw.compiler.bulkloader.testing.model.Ex1


        ImportTable itable = script.getImportTargetTables().get(0);
        ExportTable etable = script.getExportTargetTables().get(0);
        assertThat(etable.getSources().size(), is(1));

        ModelOutput<Ex1> source = tester.openOutput(Ex1.class, itable.getDestination());
        Ex1 ex1 = new Ex1();
        ex1.setSid(200);
        ex1.setValue(1);
        source.write(ex1);
        ex1.setSid(300);
        ex1.setValue(2);
        source.write(ex1);
        ex1.setSid(100);
        ex1.setValue(3);
        source.write(ex1);
        source.close();

        assertThat(tester.runStages(info), is(true));
View Full Code Here


        ImportTable itable = script.getImportTargetTables().get(0);
        ExportTable etable = script.getExportTargetTables().get(0);
        assertThat(etable.getSources().size(), is(1));

        ModelOutput<Ex1> source = tester.openOutput(Ex1.class, itable.getDestination());
        Ex1 ex1 = new Ex1();
        ex1.setSid(200);
        ex1.setValue(1);
        source.write(ex1);
        ex1.setSid(300);
        ex1.setValue(2);
        source.write(ex1);
        ex1.setSid(100);
        ex1.setValue(3);
        source.write(ex1);
        source.close();

        assertThat(tester.runStages(info), is(true));
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.bulkloader.testing.model.Ex1

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.