summaryrefslogtreecommitdiffstats
path: root/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h')
-rw-r--r--tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
index 7a6d6cec..daf7a87d 100644
--- a/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
+++ b/tests/auto/geotestplugin/qgeoroutingmanagerengine_test.h
@@ -187,6 +187,12 @@ public:
}
}
+ if (request.departureTime().isValid()) {
+ QVariantMap extendedAttributes = route.extendedAttributes();
+ extendedAttributes["tst_departureTime"] = request.departureTime();
+ route.setExtendedAttributes(extendedAttributes);
+ }
+
routes.append(route);
}
reply->callSetRoutes(routes);