Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ public void ancestorFilterExample_returnsMatchingEntities() throws Exception {

@Test
public void ancestorQueryExample_returnsMatchingEntities() throws Exception {
// [START gae_java8_datastore_ancestor_query]
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();

Entity tom = new Entity("Person", "Tom");
Expand Down Expand Up @@ -211,7 +210,6 @@ public void ancestorQueryExample_returnsMatchingEntities() throws Exception {
// but not campingPhoto, because tom is not an ancestor
List<Entity> results =
datastore.prepare(photoQuery).asList(FetchOptions.Builder.withDefaults());
// [END gae_java8_datastore_ancestor_query]

assertWithMessage("query results")
.that(results)
Expand Down