Lines Matching refs:doTest
67 static void doTest(util::Duration const & rid, char const*const pis, in doTest() function
100 doTest( util::Duration(false, 1, 0, 0, 0, 0, 0, 0), "P1Y" ); in TEST_F()
101 doTest( util::Duration(false, 0, 42, 0, 0, 0, 0, 0), "P42M" ); in TEST_F()
102 doTest( util::Duration(false, 0, 0, 111, 0, 0, 0, 0), "P111D" ); in TEST_F()
103 doTest( util::Duration(false, 0, 0, 0, 52, 0, 0, 0), "PT52H" ); in TEST_F()
104 doTest( util::Duration(false, 0, 0, 0, 0, 717, 0, 0), "PT717M" ); in TEST_F()
105 doTest( util::Duration(false, 0, 0, 0, 0, 0, 121, 0), "PT121S" ); in TEST_F()
106 doTest( util::Duration(false, 0, 0, 0, 0, 0, 0, 190), "PT0.19S" ); in TEST_F()
107 doTest( util::Duration(false, 0, 0, 0, 0, 0, 0, 90), "PT0.09S" ); in TEST_F()
108 doTest( util::Duration(false, 0, 0, 0, 0, 0, 0, 9), "PT0.009S" ); in TEST_F()
109 doTest( util::Duration(false, 0, 0, 0, 0, 0, 9, 999), in TEST_F()
111 doTest( util::Duration(true , 0, 0, 9999, 0, 0, 0, 0), "-P9999D" ); in TEST_F()
112 doTest( util::Duration(true , 7, 6, 5, 4, 3, 2, 10), in TEST_F()
114 doTest( util::Duration(false, 0, 6, 0, 0, 3, 0, 0), "P6MT3M" ); in TEST_F()
115 doTest( util::Duration(false, 0, 0, 0, 0, 0, 0, 0), "P0D" ); in TEST_F()
138 static void doTest(util::DateTime const & rdt, char const*const pis, in doTest() function
171 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), "0001-01-01T00:00:00" ); in TEST_F()
172 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in TEST_F()
176 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in TEST_F()
178 doTest( util::DateTime(0, 0, 0, 0, 1, 1, 1), in TEST_F()
180 doTest( util::DateTime(0, 0, 0, 0, 2, 1, 1)/*(0, 0, 12, 0, 2, 1, 1)*/, in TEST_F()
183 doTest( util::DateTime(0, 0, 0, 0, 2, 1, 1)/*(0, 0, 12, 0, 1, 1, 1)*/, in TEST_F()
186 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in TEST_F()
188 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in TEST_F()
190 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in TEST_F()
193 doTest( util::DateTime(99, 59, 59, 23, 31, 12, 9999), in TEST_F()
196 doTest( util::DateTime(0, 0, 0, 24, 1, 1, 333) in TEST_F()