Package com.asakusafw.compiler.flow.example

Examples of com.asakusafw.compiler.flow.example.VolatileStage


    public void unify_volatile() throws Exception {
        TestInput<Ex1> in = tester.input(Ex1.class, "in");
        TestOutput<Ex1> out = tester.output(Ex1.class, "out");
        in.add(new Ex1());

        boolean result = tester.runFlow(new VolatileStage(in.flow(), out.flow()));
        assertThat(result, is(true));

        List<Ex1> outputs = out.toList();
        assertThat(outputs.size(), is(2));
        assertThat(outputs.get(0), equalTo(outputs.get(1)));
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.flow.example.VolatileStage

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.