@@ -226,7 +226,7 @@ TEST_CONST_MEMBER_FUNCTION(Time, is_not_equal_operator, Time_const_ref)
226226 CHECK_TRUE (Time (1U , 0U , 0U , 0U ) != Time (0U , 0U , 0U , 0U ));
227227}
228228
229- TEST_CONST_MEMBER_FUNCTION (Time, plus_equal_operator, uint32_t )
229+ TEST_CONST_MEMBER_FUNCTION (Time, plus_equal_operator, size_type )
230230{
231231 TEST_OVERRIDE_FUNCTION_NAME (" operator +=" );
232232 typedef Time::diff_type diff_type;
@@ -243,7 +243,7 @@ TEST_CONST_MEMBER_FUNCTION(Time, plus_equal_operator, uint32_t)
243243 CHECK_EQUAL (Time (0U , 59U , 59U , 999U ).operator +=(1U ), Time (1U , 0U , 0U , 0U ));
244244}
245245
246- TEST_CONST_MEMBER_FUNCTION (Time, minus_equal_operator, uint32_t )
246+ TEST_CONST_MEMBER_FUNCTION (Time, minus_equal_operator, size_type )
247247{
248248 TEST_OVERRIDE_FUNCTION_NAME (" operator -=" );
249249 typedef Time::diff_type diff_type;
@@ -281,14 +281,14 @@ TEST_CONST_MEMBER_FUNCTION(Time, minus_operator, Time_const_ref)
281281 CHECK_EQUAL (Time (0U , 0U , 0U , 0U ) - Time (1U , 0U , 0U , 0U ), -static_cast <diff_type>(Time::MILLISECONDS_PER_HOUR));
282282}
283283
284- TEST_MEMBER_FUNCTION (Time, SplitMilliseconds, uint32_t_ref_uint32_t_ref_uint32_t_ref_uint32_t_ref )
284+ TEST_MEMBER_FUNCTION (Time, SplitMilliseconds, size_type_ref_size_type_ref_size_type_ref_size_type_ref )
285285{
286- TEST_OVERRIDE_ARGS (" uint32_t &, uint32_t &, uint32_t &, uint32_t &" );
286+ TEST_OVERRIDE_ARGS (" size_type &, size_type &, size_type &, size_type &" );
287287
288- uint32_t hours = 0U ;
289- uint32_t minutes = 0U ;
290- uint32_t seconds = 0U ;
291- uint32_t milliseconds = 0U ;
288+ Time::size_type hours = 0U ;
289+ Time::size_type minutes = 0U ;
290+ Time::size_type seconds = 0U ;
291+ Time::size_type milliseconds = 0U ;
292292 Time::SplitMilliseconds (hours, minutes, seconds, milliseconds);
293293 CHECK_EQUAL (hours, 0U );
294294 CHECK_EQUAL (minutes, 0U );
@@ -346,15 +346,15 @@ TEST_MEMBER_FUNCTION(Time, SplitMilliseconds, uint32_t_ref_uint32_t_ref_uint32_t
346346 CHECK_EQUAL (milliseconds, 2U );
347347}
348348
349- TEST_MEMBER_FUNCTION (Time, ToMilliseconds, uint32_t_uint32_t_uint32_t_uint32_t )
349+ TEST_MEMBER_FUNCTION (Time, ToMilliseconds, size_type_size_type_size_type_size_type )
350350{
351- TEST_OVERRIDE_ARGS (" uint32_t, uint32_t, uint32_t, uint32_t " );
351+ TEST_OVERRIDE_ARGS (" size_type, size_type, size_type, size_type " );
352352
353- uint32_t hours = 0U ;
354- uint32_t minutes = 0U ;
355- uint32_t seconds = 0U ;
356- uint32_t milliseconds = 0U ;
357- uint32_t ms = Time::ToMilliseconds (hours, minutes, seconds, milliseconds);
353+ Time::size_type hours = 0U ;
354+ Time::size_type minutes = 0U ;
355+ Time::size_type seconds = 0U ;
356+ Time::size_type milliseconds = 0U ;
357+ Time::size_type ms = Time::ToMilliseconds (hours, minutes, seconds, milliseconds);
358358 CHECK_EQUAL (ms, 0U );
359359
360360 hours = 0U ;
@@ -498,7 +498,7 @@ TEST_CONST_MEMBER_FUNCTION(Time, GetAsMilliseconds, NA)
498498 (Time::MILLISECONDS_PER_SECOND * 59U ) + 999U );
499499}
500500
501- TEST_MEMBER_FUNCTION (Time, SetFromMilliseconds, uint32_t )
501+ TEST_MEMBER_FUNCTION (Time, SetFromMilliseconds, size_type )
502502{
503503 Time time;
504504
@@ -538,7 +538,7 @@ TEST_CONST_MEMBER_FUNCTION(Time, GetDifferenceInMilliseconds, Time_const_ref)
538538 CHECK_EQUAL (Time (0U , 0U , 0U , 0U ).GetDifferenceInMilliseconds (Time (1U , 0U , 0U , 0U )), Time::MILLISECONDS_PER_HOUR);
539539}
540540
541- TEST_MEMBER_FUNCTION (Time, AddMilliseconds, uint32_t )
541+ TEST_MEMBER_FUNCTION (Time, AddMilliseconds, size_type )
542542{
543543 Time time;
544544
@@ -591,9 +591,9 @@ TEST_MEMBER_FUNCTION(Time, AddMilliseconds, uint32_t)
591591 CHECK_EQUAL (time.GetHours (), 23U );
592592}
593593
594- TEST_MEMBER_FUNCTION (Time, AddMilliseconds, uint32_t_uint32_t_ref )
594+ TEST_MEMBER_FUNCTION (Time, AddMilliseconds, size_type_size_type_ref )
595595{
596- TEST_OVERRIDE_ARGS (" uint32_t, uint32_t &" );
596+ TEST_OVERRIDE_ARGS (" size_type, size_type &" );
597597
598598 Time time;
599599 Time::size_type overflow = static_cast <Time::size_type>(0xffffffffU );
@@ -696,7 +696,7 @@ TEST_MEMBER_FUNCTION(Time, AddMilliseconds, uint32_t_uint32_t_ref)
696696 CHECK_EQUAL (time.GetHours (), 23U );
697697}
698698
699- TEST_MEMBER_FUNCTION (Time, SubtractMilliseconds, uint32_t )
699+ TEST_MEMBER_FUNCTION (Time, SubtractMilliseconds, size_type )
700700{
701701 Time time (23U , 59U , 59U , 999U );
702702
@@ -749,9 +749,9 @@ TEST_MEMBER_FUNCTION(Time, SubtractMilliseconds, uint32_t)
749749 CHECK_EQUAL (time.GetHours (), 0U );
750750}
751751
752- TEST_MEMBER_FUNCTION (Time, SubtractMilliseconds, uint32_t_uint32_t_ref )
752+ TEST_MEMBER_FUNCTION (Time, SubtractMilliseconds, size_type_size_type_ref )
753753{
754- TEST_OVERRIDE_ARGS (" uint32_t, uint32_t &" );
754+ TEST_OVERRIDE_ARGS (" size_type, size_type &" );
755755
756756 Time time (23U , 59U , 59U , 999U );
757757 Time::size_type underflow = 0U ;
@@ -839,7 +839,7 @@ TEST_MEMBER_FUNCTION(Time, GetTime, NA)
839839 CHECK_EQUAL (time3.GetTime (), 0x173befe7u );
840840}
841841
842- TEST_MEMBER_FUNCTION (Time, SetTime, uint32_t )
842+ TEST_MEMBER_FUNCTION (Time, SetTime, size_type )
843843{
844844 Time time;
845845
0 commit comments