Package siena.base.test.model

Examples of siena.base.test.model.AggregateParentManualModel


    assertEquals( adams.get(42), adamsbis.get(7));   
    assertEquals( adams.get(41), adamsbis.get(8));   
  }
 
  public void testAggregateMostSimpleManual() {
    AggregateParentManualModel god = new AggregateParentManualModel("god");
    god.insert();
    assertNotNull(god.id);
   
    AggregateChildManualModel adam1 = new AggregateChildManualModel(123L, "adam1");
    adam1.aggregate(god, "child");
    adam1.insert();
View Full Code Here


    AggregateChildManualModel eveAfter3 = AggregateChildManualModel.all().aggregated(god, "children").filter("id", 1L).get();
    assertEquals(eveAfter2, eveAfter3);
  }
 
  public void testAggregateDeleteParentFromQuery() {
    AggregateParentManualModel god = new AggregateParentManualModel("god");
    god.insert();
    assertNotNull(god.id);
   
    AggregateChildManualModel adam1 = new AggregateChildManualModel(123L, "adam1");
    adam1.aggregate(god, "child");
    adam1.insert();
View Full Code Here

TOP

Related Classes of siena.base.test.model.AggregateParentManualModel

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.