Examples of SpiExporterRetriever


Examples of com.asakusafw.testdriver.core.SpiExporterRetriever

        profile.add("root", HadoopDataSourceProfile.KEY_PATH, folder.getRoot().toURI().toURL().toString());
        profile.put();

        put("base/output.txt", "Hello, world!");

        SpiExporterRetriever testee = new SpiExporterRetriever(getClass().getClassLoader());
        DataModelSource input = testee.createSource(
                new MockTextDefinition(),
                new MockOutputDescription("base", "output.txt", format),
                profile.getTextContext());
        List<String> list = get(input);
        assertThat(list, is(Arrays.asList("Hello, world!")));
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.