Package org.agilewiki.jactor2.core.impl.blades.firehose

Source Code of org.agilewiki.jactor2.core.impl.blades.firehose.FirehoseTest

package org.agilewiki.jactor2.core.impl.blades.firehose;

import junit.framework.TestCase;
import org.agilewiki.jactor2.core.impl.Plant;

public class FirehoseTest extends TestCase {
    public void test() throws Exception {
        System.gc();
        new Plant();
        try {
            DataProcessor next = new EndStage();
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            next = new NullStage(next);
            new FirstStage(next, 100, 10);
            try {
                Thread.sleep(60000);
            } catch (final Exception ex) {
            }
        } finally {
            Plant.close();
        }
    }
}
TOP

Related Classes of org.agilewiki.jactor2.core.impl.blades.firehose.FirehoseTest

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.