Package org.soybeanMilk.core

Examples of org.soybeanMilk.core.Execution


  public void execute_executionIsCreated() throws Exception
  {
    HashMapObjectSource os=new HashMapObjectSource();
    executor.execute(KEY_EXE_HELLO, os);
   
    Execution re=os.get(KEY_EXECUTION);
   
    Assert.assertEquals(os, re.getObjectSource());
    Assert.assertEquals(KEY_EXE_HELLO, re.getExecutable().getName());
    Assert.assertNull(re.getExecuteException());
  }
View Full Code Here


  }
 
  @Test
  public void execute_executionIsCreatedEachExecute() throws Exception
  {
    Execution re0=null;
    Execution re1=null;
   
    HashMapObjectSource os=new HashMapObjectSource();
   
    executor.execute(KEY_EXE_HELLO, os);
    re0=os.get(KEY_EXECUTION);
View Full Code Here

  {
    HashMapObjectSource os=new HashMapObjectSource();
   
    executor.execute("helloThrow", os);
   
    Execution re=os.get(KEY_EXECUTION);
   
    Assert.assertTrue( (re.getExecuteException().getCause() instanceof UnsupportedOperationException) );
  }
View Full Code Here

TOP

Related Classes of org.soybeanMilk.core.Execution

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.