Lines Matching refs:timeSpan
43 CDateTimeSpan timeSpan; in TEST_F() local
51 timeSpan.SetDateTimeSpan(days, hours, minutes, seconds); in TEST_F()
52 EXPECT_EQ(timeSpan.GetDays(), days); in TEST_F()
53 EXPECT_EQ(timeSpan.GetHours(), hours); in TEST_F()
54 EXPECT_EQ(timeSpan.GetMinutes(), minutes); in TEST_F()
55 EXPECT_EQ(timeSpan.GetSeconds(), seconds); in TEST_F()
56 EXPECT_EQ(timeSpan.GetSecondsTotal(), secondsTotal); in TEST_F()
61 CDateTimeSpan timeSpan; in TEST_F() local
63 timeSpan.SetFromPeriod("3"); in TEST_F()
64 EXPECT_EQ(timeSpan.GetDays(), 3); in TEST_F()
66 timeSpan.SetFromPeriod("3weeks"); in TEST_F()
67 EXPECT_EQ(timeSpan.GetDays(), 21); in TEST_F()
69 timeSpan.SetFromPeriod("3months"); in TEST_F()
70 EXPECT_EQ(timeSpan.GetDays(), 93); in TEST_F()
75 CDateTimeSpan timeSpan; in TEST_F() local
77 timeSpan.SetFromTimeString("12:34"); in TEST_F()
78 EXPECT_EQ(timeSpan.GetHours(), 12); in TEST_F()
79 EXPECT_EQ(timeSpan.GetMinutes(), 34); in TEST_F()