@@ -126,7 +126,7 @@ TEST_F(TodayServiceCase, QueryEverything)
126126 })" _graphql;
127127 response::Value variables (response::Type::Map);
128128 auto state = std::make_shared<today::RequestState>(1 );
129- auto result = _service->resolve (state, *ast-> root , " Everything" , std::move (variables)).get ();
129+ auto result = _service->resolve (state, *ast. root , " Everything" , std::move (variables)).get ();
130130 EXPECT_EQ (size_t (1 ), _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
131131 EXPECT_EQ (size_t (1 ), _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
132132 EXPECT_EQ (size_t (1 ), _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
@@ -198,7 +198,7 @@ TEST_F(TodayServiceCase, QueryAppointments)
198198 })" _graphql;
199199 response::Value variables (response::Type::Map);
200200 auto state = std::make_shared<today::RequestState>(2 );
201- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
201+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
202202 EXPECT_EQ (size_t (1 ), _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
203203 EXPECT_GE (size_t (1 ), _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
204204 EXPECT_GE (size_t (1 ), _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
@@ -250,7 +250,7 @@ TEST_F(TodayServiceCase, QueryTasks)
250250 })gql" _graphql;
251251 response::Value variables (response::Type::Map);
252252 auto state = std::make_shared<today::RequestState>(3 );
253- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
253+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
254254 EXPECT_GE (size_t (1 ), _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
255255 EXPECT_EQ (size_t (1 ), _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
256256 EXPECT_GE (size_t (1 ), _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
@@ -301,7 +301,7 @@ TEST_F(TodayServiceCase, QueryUnreadCounts)
301301 })" _graphql;
302302 response::Value variables (response::Type::Map);
303303 auto state = std::make_shared<today::RequestState>(4 );
304- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
304+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
305305 EXPECT_GE (size_t (1 ), _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
306306 EXPECT_GE (size_t (1 ), _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
307307 EXPECT_EQ (size_t (1 ), _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
@@ -351,7 +351,7 @@ TEST_F(TodayServiceCase, MutateCompleteTask)
351351 })" _graphql;
352352 response::Value variables (response::Type::Map);
353353 auto state = std::make_shared<today::RequestState>(5 );
354- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
354+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
355355
356356 try
357357 {
@@ -509,7 +509,7 @@ TEST_F(TodayServiceCase, Introspection)
509509 })" _graphql;
510510 response::Value variables (response::Type::Map);
511511 auto state = std::make_shared<today::RequestState>(8 );
512- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
512+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
513513
514514 try
515515 {
@@ -571,7 +571,7 @@ TEST_F(TodayServiceCase, SkipDirective)
571571 })" _graphql;
572572 response::Value variables (response::Type::Map);
573573 auto state = std::make_shared<today::RequestState>(9 );
574- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
574+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
575575
576576 try
577577 {
@@ -633,7 +633,7 @@ TEST_F(TodayServiceCase, IncludeDirective)
633633 })" _graphql;
634634 response::Value variables (response::Type::Map);
635635 auto state = std::make_shared<today::RequestState>(10 );
636- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
636+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
637637
638638 try
639639 {
@@ -690,7 +690,7 @@ TEST_F(TodayServiceCase, NestedFragmentDirectives)
690690 })" _graphql;
691691 response::Value variables (response::Type::Map);
692692 auto state = std::make_shared<today::RequestState>(11 );
693- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
693+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
694694
695695 try
696696 {
@@ -798,7 +798,7 @@ TEST_F(TodayServiceCase, QueryAppointmentsById)
798798 response::Value variables (response::Type::Map);
799799 variables.emplace_back (" appointmentId" , response::Value (std::string (" ZmFrZUFwcG9pbnRtZW50SWQ=" )));
800800 auto state = std::make_shared<today::RequestState>(12 );
801- auto result = _service->resolve (state, *ast-> root , " " , std::move (variables)).get ();
801+ auto result = _service->resolve (state, *ast. root , " " , std::move (variables)).get ();
802802 EXPECT_EQ (size_t (1 ), _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
803803 EXPECT_GE (size_t (1 ), _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
804804 EXPECT_GE (size_t (1 ), _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
0 commit comments