Package siena.base.test.model

Examples of siena.base.test.model.DiscoveryPrivate


    assertTrue(res.get(2).discovererNotJoined.isOnlyIdFilled());
    assertTrue(res.get(3).discovererNotJoined.isOnlyIdFilled());
  }

  public void testFetchPrivateFields() {
    DiscoveryPrivate radioactivity = new DiscoveryPrivate(1L, "Radioactivity", LongAutoID_CURIE);
    DiscoveryPrivate relativity = new DiscoveryPrivate(2L, "Relativity", LongAutoID_EINSTEIN);
    DiscoveryPrivate foo = new DiscoveryPrivate(3L, "Foo", LongAutoID_EINSTEIN);
    DiscoveryPrivate teslaCoil = new DiscoveryPrivate(4L, "Tesla Coil", LongAutoID_TESLA);
   
    pm.insert(radioactivity);
    pm.insert(relativity);
    pm.insert(foo);
    pm.insert(teslaCoil);
View Full Code Here


    assertTrue(res.get(3).discovererNotJoined.isOnlyIdFilled());
  }

 
  public void testFetchPrivateFields() {
    DiscoveryPrivate radioactivity = new DiscoveryPrivate(1L, "Radioactivity", LongAutoID_CURIE);
    DiscoveryPrivate relativity = new DiscoveryPrivate(2L, "Relativity", LongAutoID_EINSTEIN);
    DiscoveryPrivate foo = new DiscoveryPrivate(3L, "Foo", LongAutoID_EINSTEIN);
    DiscoveryPrivate teslaCoil = new DiscoveryPrivate(4L, "Tesla Coil", LongAutoID_TESLA);
   
    pm.insert(radioactivity);
    pm.insert(relativity);
    pm.insert(foo);
    pm.insert(teslaCoil);
View Full Code Here

    assertTrue(res.get(2).discovererNotJoined.isOnlyIdFilled());
    assertTrue(res.get(3).discovererNotJoined.isOnlyIdFilled());
  }
 
  public void testFetchPrivateFields() {
    DiscoveryPrivate radioactivity = new DiscoveryPrivate(1L, "Radioactivity", LongAutoID_CURIE);
    DiscoveryPrivate relativity = new DiscoveryPrivate(2L, "Relativity", LongAutoID_EINSTEIN);
    DiscoveryPrivate foo = new DiscoveryPrivate(3L, "Foo", LongAutoID_EINSTEIN);
    DiscoveryPrivate teslaCoil = new DiscoveryPrivate(4L, "Tesla Coil", LongAutoID_TESLA);
   
    pm.insert(radioactivity, relativity, foo, teslaCoil).get();

    SienaFuture<List<DiscoveryPrivate>> future = pm.createQuery(DiscoveryPrivate.class).order("name").fetch();
    List<DiscoveryPrivate> res = future.get();
View Full Code Here

TOP

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

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.