Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing_tests')
-rw-r--r--routing/routing_tests/routing_session_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/routing/routing_tests/routing_session_test.cpp b/routing/routing_tests/routing_session_test.cpp
index 8cc663c141..b77270e1fa 100644
--- a/routing/routing_tests/routing_session_test.cpp
+++ b/routing/routing_tests/routing_session_test.cpp
@@ -199,7 +199,7 @@ UNIT_CLASS_TEST(AsyncGuiThreadTestWithRoutingSession, TestRouteRebuildingMovingA
info.m_verticalAccuracy = 0.01;
info.m_longitude = 0.;
info.m_latitude = 1.;
- SessionState code = SessionState::RoutingNotActive;
+ SessionState code = SessionState::NoValidRoute;
{
SessionStateTest sessionStateTest({SessionState::RouteNotStarted, SessionState::OnRoute},
@@ -234,7 +234,7 @@ UNIT_CLASS_TEST(AsyncGuiThreadTestWithRoutingSession, TestRouteRebuildingMovingA
info.m_longitude = 0.;
info.m_latitude = 1.;
info.m_speedMpS = routing::KMPH2MPS(60);
- SessionState code = SessionState::RoutingNotActive;
+ SessionState code = SessionState::NoValidRoute;
for (size_t i = 0; i < 10; ++i)
{
code = m_session->OnLocationPositionChanged(info);
@@ -281,7 +281,7 @@ UNIT_CLASS_TEST(AsyncGuiThreadTestWithRoutingSession, TestRouteRebuildingMovingT
info.m_longitude = 0.0;
info.m_latitude = 0.0;
info.m_speedMpS = routing::KMPH2MPS(60);
- SessionState code = SessionState::RoutingNotActive;
+ SessionState code = SessionState::NoValidRoute;
{
SessionStateTest sessionStateTest(
{SessionState::RouteNotStarted, SessionState::RouteNeedRebuild},
@@ -362,7 +362,7 @@ UNIT_CLASS_TEST(AsyncGuiThreadTestWithRoutingSession, TestFollowRouteFlagPersist
info.m_longitude = 0.;
info.m_latitude = 1.;
info.m_speedMpS = routing::KMPH2MPS(60);
- SessionState code = SessionState::RoutingNotActive;
+ SessionState code = SessionState::NoValidRoute;
for (size_t i = 0; i < 10; ++i)
{
code = m_session->OnLocationPositionChanged(info);