Package com.asakusafw.testdriver.core

Examples of com.asakusafw.testdriver.core.DataModelSourceFilter


     * @return the filter which transforms each data model objects using the transformer
     * @since 0.7.0
     */
    protected final DataModelSourceFilter toDataModelSourceFilter(final ModelTransformer<? super T> transformer) {
        final DataModelDefinition<T> definition = getDataModelDefinition();
        return new DataModelSourceFilter() {
            @Override
            public DataModelSource apply(final DataModelSource source) {
                return new DataModelSource() {
                    @Override
                    public DataModelReflection next() throws IOException {
View Full Code Here


     * Test method for {@link FlowDriverOutput#filter(DataModelSourceFilter)}.
     */
    @Test
    public void filter() {
        MockFlowDriverOutput mock = new MockFlowDriverOutput(getClass(), tool_rule("Hello3"));
        DataModelSourceFilter filter = new DataModelSourceFilter() {
            @Override
            public DataModelSource apply(final DataModelSource source) {
                return new DataModelSource() {
                    @Override
                    public DataModelReflection next() throws IOException {
View Full Code Here

TOP

Related Classes of com.asakusafw.testdriver.core.DataModelSourceFilter

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.