[geocode-glib/wip/hadess/fix-bounded] tests: Exercise geocode_forward_set_bounded() helper
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib/wip/hadess/fix-bounded] tests: Exercise geocode_forward_set_bounded() helper
- Date: Thu, 30 Jun 2022 12:11:06 +0000 (UTC)
commit 5a0c6f238757bf7b7236a88a2ae1f9b43a5ad17a
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jun 30 12:16:09 2022 +0200
tests: Exercise geocode_forward_set_bounded() helper
geocode-glib/tests/geocode-glib.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/geocode-glib/tests/geocode-glib.c b/geocode-glib/tests/geocode-glib.c
index e7d6d84..b86fb0a 100644
--- a/geocode-glib/tests/geocode-glib.c
+++ b/geocode-glib/tests/geocode-glib.c
@@ -419,10 +419,11 @@ test_pub (void)
params = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL);
add_attr_string (params, "q", "9, old palace road, guildford, surrey");
add_attr_string (params, "limit", "1");
- add_attr_string (params, "bounded", "0");
+ add_attr_string (params, "bounded", "1");
object = create_forward_for_string ("9, old palace road, guildford, surrey",
params, "pub.json");
+ geocode_forward_set_bounded (object, TRUE);
geocode_forward_set_answer_count (object, 1);
res = geocode_forward_search (object, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]