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
17 changes: 9 additions & 8 deletions src/test/java/com/google/maps/PlacesApiIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,15 @@ public void testNearbySearchRequestNextPage() throws Exception {
assertNotNull(response2.nextPageToken);
}

@Test
public void testRadarSearchRequestByKeyword() throws Exception {
PlacesSearchResponse response = PlacesApi.radarSearchQuery(context, SYDNEY, 10000)
.keyword("pub").await();
assertNotNull(response);
assertNotNull(response.results);
assertTrue(100 < response.results.length);
}
// Flaky test.
// @Test
// public void testRadarSearchRequestByKeyword() throws Exception {
// PlacesSearchResponse response = PlacesApi.radarSearchQuery(context, SYDNEY, 10000)
// .keyword("pub").await();
// assertNotNull(response);
// assertNotNull(response.results);
// assertTrue(100 < response.results.length);
// }

@Test
public void testRadarSearchRequestByName() throws Exception {
Expand Down