1265{
1269
1272
1275 ok(
compare(pp,pp_compare),
"Difference Found\n");
1276
1280
1284
1288 ok(!
ret,
"function was expected to fail\n");
1291
1295 ok(!
ret,
"function was expected to fail\n");
1297 ok(
compare(pp,pp_compare),
"Difference Found\n");
1298
1304 ok(!
ret,
"function was expected to fail\n");
1307 ok(
compare(pp,pp_compare),
"Difference Found\n");
1308
1313 ok(!
ret,
"function was expected to fail\n");
1316
1321 ok(!
ret,
"function was expected to fail\n");
1324
1329 ok(!
ret,
"function was expected to fail\n");
1332
1343
1354
1365
1376
1387
1398
1409
1420
1431
1442
1453
1458 ok(!
ret,
"function was expected to fail\n");
1460 ok(
compare(pp,pp_compare),
"Difference Found\n");
1461
1466 ok(!
ret,
"function was expected to fail\n");
1468 ok(
compare(pp,pp_compare),
"Difference Found\n");
1469
1474 ok(!
ret,
"function was expected to fail\n");
1476 ok(
compare(pp,pp_compare),
"Difference Found\n");
1477
1482 ok(!
ret,
"function was expected to fail\n");
1484 ok(
compare(pp,pp_compare),
"Difference Found\n");
1485
1490 ok(!
ret,
"function was expected to fail\n");
1492 ok(
compare(pp,pp_compare),
"Difference Found\n");
1493
1498 ok(!
ret,
"function was expected to fail\n");
1500 ok(
compare(pp,pp_compare),
"Difference Found\n");
1501
1506 ok(!
ret,
"function was expected to fail\n");
1508 ok(
compare(pp,pp_compare),
"Difference Found\n");
1509
1514 ok(!
ret,
"function was expected to fail\n");
1516 ok(
compare(pp,pp_compare),
"Difference Found\n");
1517
1522 ok(!
ret,
"function was expected to fail\n");
1524 ok(
compare(pp,pp_compare),
"Difference Found\n");
1525
1530 ok(!
ret,
"function was expected to fail\n");
1532 ok(
compare(pp,pp_compare),
"Difference Found\n");
1533
1538 ok(!
ret,
"function was expected to fail\n");
1540 ok(
compare(pp,pp_compare),
"Difference Found\n");
1541
1546 ok(!
ret,
"function was expected to fail\n");
1548 ok(
compare(pp,pp_compare),
"Difference Found\n");
1549
1554 ok(!
ret,
"function was expected to fail\n");
1556 ok(
compare(pp,pp_compare),
"Difference Found\n");
1557
1562 ok(!
ret,
"function was expected to fail\n");
1564 ok(
compare(pp,pp_compare),
"Difference Found\n");
1565
1570 ok(!
ret,
"function was expected to fail\n");
1572 ok(
compare(pp,pp_compare),
"Difference Found\n");
1573
1585 ok(
compare(pp,pp_compare),
"Difference Found\n");
1586
1604 ok(
compare(pp,pp_compare),
"Difference Found\n");
1605
1606
1616
1626
1636
1646
1647
1658
1667
1673 ok(!
ret,
"function was expected to fail\n");
1676
1684
1690 ok(!
ret,
"function was expected to fail\n");
1693
1701
1708
1715
1716
1730 ok(
compare(pp,pp_compare),
"Difference Found\n");
1731
1745 ok(
compare(pp,pp_compare),
"Difference Found\n");
1746
1760 ok(
compare(pp,pp_compare),
"Difference Found\n");
1761
1775 ok(
compare(pp,pp_compare),
"Difference Found\n");
1776
1790 ok(
compare(pp,pp_compare),
"Difference Found\n");
1791
1805 ok(
compare(pp,pp_compare),
"Difference Found\n");
1806
1813 ok(!
ret,
"function was expected to fail\n");
1815 ok(
compare(pp,pp_compare),
"Difference Found\n");
1816
1823 ok(!
ret,
"function was expected to fail\n");
1825 ok(
compare(pp,pp_compare),
"Difference Found\n");
1826
1833 ok(!
ret,
"function was expected to fail\n");
1835
1836
1837
1838
1839 ok(
compare(pp,pp_compare),
"Difference Found\n");
1840
1847 ok(!
ret,
"function was expected to fail\n");
1849
1850
1851
1852
1853 ok(
compare(pp,pp_compare),
"Difference Found\n");
1854
1861 ok(!
ret,
"function was expected to fail\n");
1863
1864
1865
1866
1867
1868
1869 ok(
compare(pp,pp_compare),
"Difference Found\n");
1870
1884 ok(
compare(pp,pp_compare),
"Difference Found\n");
1885
1899 ok(
compare(pp,pp_compare),
"Difference Found\n");
1900
1914 ok(
compare(pp,pp_compare),
"Difference Found\n");
1915
1929 ok(
compare(pp,pp_compare),
"Difference Found\n");
1930
1944 ok(
compare(pp,pp_compare),
"Difference Found\n");
1945
1959 ok(
compare(pp,pp_compare),
"Difference Found\n");
1960
1974 ok(
compare(pp,pp_compare),
"Difference Found\n");
1975
1989 ok(
compare(pp,pp_compare),
"Difference Found\n");
1990
2004 ok(
compare(pp,pp_compare),
"Difference Found\n");
2005
2018 ok(
compare(pp,pp_compare),
"Difference Found\n");
2019
2031 ok(
compare(pp,pp_compare),
"Difference Found\n");
2032
2043 ok(
compare(pp,pp_compare),
"Difference Found\n");
2044
2054 ok(
compare(pp,pp_compare),
"Difference Found\n");
2055
2069 ok(
compare(pp,pp_compare),
"Difference Found\n");
2070
2084 ok(
compare(pp,pp_compare),
"Difference Found\n");
2085
2099 ok(
compare(pp,pp_compare),
"Difference Found\n");
2100
2114 ok(
compare(pp,pp_compare),
"Difference Found\n");
2115
2122 ok(!
ret,
"function was expected to fail\n");
2124 ok(
compare(pp,pp_compare),
"Difference Found\n");
2125
2132 ok(!
ret,
"function was expected to fail\n");
2134 ok(
compare(pp,pp_compare),
"Difference Found\n");
2135
2142 ok(!
ret,
"function was expected to fail\n");
2144 ok(
compare(pp,pp_compare),
"Difference Found\n");
2145
2152 ok(!
ret,
"function was expected to fail\n");
2154 ok(
compare(pp,pp_compare),
"Difference Found\n");
2155
2162 ok(!
ret,
"function was expected to fail\n");
2164 ok(
compare(pp,pp_compare),
"Difference Found\n");
2165
2172 ok(!
ret,
"function was expected to fail\n");
2174 ok(
compare(pp,pp_compare),
"Difference Found\n");
2175
2182 ok(!
ret,
"function was expected to fail\n");
2184 ok(
compare(pp,pp_compare),
"Difference Found\n");
2185
2192 ok(!
ret,
"function was expected to fail\n");
2194 ok(
compare(pp,pp_compare),
"Difference Found\n");
2195
2202 ok(!
ret,
"function was expected to fail\n");
2204 ok(
compare(pp,pp_compare),
"Difference Found\n");
2205
2212 ok(!
ret,
"function was expected to fail\n");
2214 ok(
compare(pp,pp_compare),
"Difference Found\n");
2215
2222 ok(!
ret,
"function was expected to fail\n");
2224 ok(
compare(pp,pp_compare),
"Difference Found\n");
2225
2232 ok(!
ret,
"function was expected to fail\n");
2234 ok(
compare(pp,pp_compare),
"Difference Found\n");
2235
2240
2241
2243
2244
2245
2246
2247
2248
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2267
2268
2269
2270
2271
2272
2273
2274
2276
2277
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2324
2325
2326
2327
2329
2336
2337
2338
2339
2340
2341
2342 ok(
compare(pp,pp_compare),
"Difference Found\n");
2343
2348
2349
2350
2351
2357
2358
2359 ok(
compare(pp,pp_compare),
"Difference Found\n");
2360
2361}
#define memcpy(s1, s2, n)
void test_ValidatePowerPolicies_Next(PGLOBAL_POWER_POLICY pGPP_original, PPOWER_POLICY pPP_original)
BOOLEAN globalcompare(GLOBAL_POWER_POLICY gpp, GLOBAL_POWER_POLICY gpp_compare)
BOOLEAN WINAPI ValidatePowerPolicies(PGLOBAL_POWER_POLICY pGPP, PPOWER_POLICY pPP)
#define ERROR_GEN_FAILURE
#define ERROR_INVALID_DATA
#define ERROR_REVISION_MISMATCH