Home
last modified time | relevance | path

Searched refs:test_one (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/test/
Dtest-calendarspec.c39 #define test_one(input, output) _test_one(__LINE__, input, output) macro
121 test_one("Sat,Thu,Mon-Wed,Sat-Sun", "Mon..Thu,Sat,Sun *-*-* 00:00:00"); in TEST()
122 test_one("Sat,Thu,Mon..Wed,Sat..Sun", "Mon..Thu,Sat,Sun *-*-* 00:00:00"); in TEST()
123 test_one("Mon,Sun 12-*-* 2,1:23", "Mon,Sun 2012-*-* 01,02:23:00"); in TEST()
124 test_one("Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
125 test_one("Wed-Wed,Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
126 test_one("Wed..Wed,Wed *-1", "Wed *-*-01 00:00:00"); in TEST()
127 test_one("Wed, 17:48", "Wed *-*-* 17:48:00"); in TEST()
128 test_one("Wednesday,", "Wed *-*-* 00:00:00"); in TEST()
129 test_one("Wed-Sat,Tue 12-10-15 1:2:3", "Tue..Sat 2012-10-15 01:02:03"); in TEST()
[all …]
Dtest-date.c48 static void test_one(const char *p) { in test_one() function
67 test_one("17:41"); in main()
68 test_one("18:42:44"); in main()
69 test_one("18:42:44.0"); in main()
70 test_one("18:42:44.999999999999"); in main()
71 test_one("12-10-02 12:13:14"); in main()
72 test_one("12-10-2 12:13:14"); in main()
73 test_one("12-10-03 12:13"); in main()
74 test_one("2012-12-30 18:42"); in main()
75 test_one("2012-10-02"); in main()
[all …]
Dtest-xml.c10 static void test_one(const char *data, ...) { in test_one() function
40 test_one("", XML_END); in main()
42 test_one("<foo></foo>", in main()
47 test_one("<foo waldo=piep meh=\"huhu\"/>", in main()
56 test_one("xxxx\n" in main()
Dtest-set-disable-mempool.c24 static void test_one(const char *val) { in test_one() function
45 test_one("0"); in TEST()
48 test_one("1"); in TEST()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-server.c137 static int test_one(bool client_negotiate_unix_fds, bool server_negotiate_unix_fds, in test_one() function
176 r = test_one(true, true, false, false); in main()
179 r = test_one(true, false, false, false); in main()
182 r = test_one(false, true, false, false); in main()
185 r = test_one(false, false, false, false); in main()
188 r = test_one(true, true, true, true); in main()
191 r = test_one(true, true, false, true); in main()
194 r = test_one(true, true, true, false); in main()