Package com.asakusafw.testdriver.testing.model

Examples of com.asakusafw.testdriver.testing.model.Simple


    private void put(BatchInfo info, String name, String... values) {
        try {
            Import importer = tester.getImporter(info, name);
            ModelOutput<Simple> output = tester.openOutput(Simple.class, importer);
            try {
                Simple model = new Simple();
                for (String value : values) {
                    model.setValueAsString(value);
                    output.write(model);
                }
            } finally {
                output.close();
            }
View Full Code Here


            List<String> results = new ArrayList<String>();
            Export exporter = tester.getExporter(info, name);
            for (Location location : exporter.getResolvedLocations()) {
                ModelInput<Simple> input = tester.openInput(Simple.class, location);
                try {
                    Simple model = new Simple();
                    while (input.readTo(model)) {
                        results.add(model.getValueAsString());
                    }
                } finally {
                    input.close();
                }
            }
View Full Code Here

TOP

Related Classes of com.asakusafw.testdriver.testing.model.Simple

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.