Package kilim.test.ex

Examples of kilim.test.ex.ExInterfaceGenericTask


        public String get() throws Pausable {
            return "foo";
        }
    }
    public void testGenericInterface() throws Exception {
        ExInterfaceGenericTask task = new ExInterfaceGenericTask(new ExInterfaceGenericImpl());
        Mailbox<ExitMsg> exitmb = new Mailbox<ExitMsg>();
        Scheduler s = new Scheduler(1);
        task.informOnExit(exitmb);
        task.setScheduler(s);
        task.start();
       
        ExitMsg m = exitmb.getb();
        if (m == null) {
            fail("Timed Out");
        } else {
View Full Code Here

TOP

Related Classes of kilim.test.ex.ExInterfaceGenericTask

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.