Package siena.base.test.model

Examples of siena.base.test.model.PersonStringAutoIncID


   
    assertEquals(15, i);
  }
 
  public void testFetchStringAutoInc() {
    PersonStringAutoIncID person = new PersonStringAutoIncID("TEST1", "TEST2", "TEST3", "TEST4", 123);
   
    pm.insert(person);
   
    List<PersonStringAutoIncID> l = pm.getByKeys(PersonStringAutoIncID.class, "TEST1");
    assertEquals(person, l.get(0));
View Full Code Here


      assertEquals(discs[i+260], res.get(i));
    }   
  }
 
  public void testFetchStringAutoInc() {
    PersonStringAutoIncID person = new PersonStringAutoIncID("TEST1", "TEST2", "TEST3", "TEST4", 123);
   
    pm.insert(person).get();
   
    SienaFuture<List<PersonStringAutoIncID>> future = pm.getByKeys(PersonStringAutoIncID.class, "TEST1");
    List<PersonStringAutoIncID> l = future.get();
View Full Code Here

TOP

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

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.