All tests are green but *retrive()* resp. *zFind()* are *empty* resp *null.*
public class InitDatastore extends Common {
private final LocalServiceTestHelper helper =
new LocalServiceTestHelper(new
LocalDatastoreServiceTestConfig());
final EntityController ec = new EntityController();
@Before
public void setUp() {
helper.setUp();
}
@After
public void tearDown() {
helper.tearDown();
}
@Test
public void create() {
final Flight flight = new Flight("origin", "destination");
ec.create(flight);
}
@Test
public void retrieve() {
System.err.println("isEmpty = " +
ec.retrieve(Flight.class).isEmpty());
}
@Test
public void zFind() {
System.out.println("flight###1 = " + ec.find(Flight.class, 1));
}
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/78mOAWSJ86EJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.