@@ -103,9 +103,9 @@ TEST_F(TodayServiceCase, QueryEverything)
103
103
}
104
104
})gql" );
105
105
auto result = _service->resolve (*ast, " Everything" , web::json::value::object ().as_object ());
106
- EXPECT_EQ (1 , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
107
- EXPECT_EQ (1 , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
108
- EXPECT_EQ (1 , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
106
+ EXPECT_EQ (size_t ( 1 ) , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
107
+ EXPECT_EQ (size_t ( 1 ) , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
108
+ EXPECT_EQ (size_t ( 1 ) , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
109
109
110
110
try
111
111
{
@@ -175,9 +175,9 @@ TEST_F(TodayServiceCase, QueryAppointments)
175
175
}
176
176
})gql" );
177
177
auto result = _service->resolve (*ast, " " , web::json::value::object ().as_object ());
178
- EXPECT_EQ (1 , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
179
- EXPECT_GE (1 , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
180
- EXPECT_GE (1 , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
178
+ EXPECT_EQ (size_t ( 1 ) , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
179
+ EXPECT_GE (size_t ( 1 ) , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
180
+ EXPECT_GE (size_t ( 1 ) , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
181
181
182
182
try
183
183
{
@@ -226,9 +226,9 @@ TEST_F(TodayServiceCase, QueryTasks)
226
226
}
227
227
})gql" );
228
228
auto result = _service->resolve (*ast, " " , web::json::value::object ().as_object ());
229
- EXPECT_GE (1 , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
230
- EXPECT_EQ (1 , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
231
- EXPECT_GE (1 , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
229
+ EXPECT_GE (size_t ( 1 ) , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
230
+ EXPECT_EQ (size_t ( 1 ) , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
231
+ EXPECT_GE (size_t ( 1 ) , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
232
232
233
233
try
234
234
{
@@ -276,9 +276,9 @@ TEST_F(TodayServiceCase, QueryUnreadCounts)
276
276
}
277
277
})gql" );
278
278
auto result = _service->resolve (*ast, " " , web::json::value::object ().as_object ());
279
- EXPECT_GE (1 , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
280
- EXPECT_GE (1 , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
281
- EXPECT_EQ (1 , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
279
+ EXPECT_GE (size_t ( 1 ) , _getAppointmentsCount) << " today service lazy loads the appointments and caches the result" ;
280
+ EXPECT_GE (size_t ( 1 ) , _getTasksCount) << " today service lazy loads the tasks and caches the result" ;
281
+ EXPECT_EQ (size_t ( 1 ) , _getUnreadCountsCount) << " today service lazy loads the unreadCounts and caches the result" ;
282
282
283
283
try
284
284
{
0 commit comments