Package com.bazaarvoice.jolt.chainr.transforms

Examples of com.bazaarvoice.jolt.chainr.transforms.TransformTestResult


    }

    @Test(dataProvider = "passingTestCases" )
    public void testPassing(Object input, Object spec) {
        Chainr unit = Chainr.fromSpec( spec );
        TransformTestResult actual = null;
        actual = (TransformTestResult) unit.transform( input, null );

        AssertJUnit.assertEquals( input, actual.input );
        AssertJUnit.assertNotNull( actual.spec );
    }
View Full Code Here


        Object delegateSpec = new HashMap();
        spec.add( this.newCustomJavaActivity( GoodTestTransform.class, delegateSpec ) );
        Object input = new Object();

        Chainr unit = Chainr.fromSpec( spec );
        TransformTestResult actual = (TransformTestResult) unit.transform( input, null );

        AssertJUnit.assertEquals( input, actual.input );
        AssertJUnit.assertEquals( delegateSpec, actual.spec );
    }
View Full Code Here

TOP

Related Classes of com.bazaarvoice.jolt.chainr.transforms.TransformTestResult

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.