mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:16:17 +00:00
* add powrprof regression tests
* developed by Alex Wurzinger, Johannes Anderwald & Martin Rottensteiner svn path=/trunk/; revision=22369
This commit is contained in:
parent
a526193b42
commit
69d2fdc763
4 changed files with 1133 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
||||||
<directory name="psapi">
|
<directory name="psapi">
|
||||||
<xi:include href="psapi/psapi.rbuild" />
|
<xi:include href="psapi/psapi.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="powrprof">
|
||||||
|
<xi:include href="powrprof/powrprof.rbuild" />
|
||||||
|
</directory>
|
||||||
<directory name="setupapi">
|
<directory name="setupapi">
|
||||||
<xi:include href="setupapi/setupapi.rbuild" />
|
<xi:include href="setupapi/setupapi.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
10
reactos/regtests/winetests/powrprof/powrprof.rbuild
Normal file
10
reactos/regtests/winetests/powrprof/powrprof.rbuild
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<module name="powrprof_winetest" type="win32cui" installbase="bin" installname="powrprof_winetest.exe" allowwarnings="true">
|
||||||
|
<include base="setupapi_winetest">.</include>
|
||||||
|
<define name="__USE_W32API" />
|
||||||
|
<define name="UNICODE" />
|
||||||
|
<define name="_UNICODE" />
|
||||||
|
<library>ntdll</library>
|
||||||
|
<library>powrprof</library>
|
||||||
|
<file>testlist.c</file>
|
||||||
|
<file>pwrprof.c</file>
|
||||||
|
</module>
|
1093
reactos/regtests/winetests/powrprof/pwrprof.c
Normal file
1093
reactos/regtests/winetests/powrprof/pwrprof.c
Normal file
File diff suppressed because it is too large
Load diff
27
reactos/regtests/winetests/powrprof/testlist.c
Normal file
27
reactos/regtests/winetests/powrprof/testlist.c
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/* Automatically generated file; DO NOT EDIT!! */
|
||||||
|
|
||||||
|
/* stdarg.h is needed for Winelib */
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
|
||||||
|
struct test
|
||||||
|
{
|
||||||
|
const char *name;
|
||||||
|
void (*func)(void);
|
||||||
|
};
|
||||||
|
|
||||||
|
extern void func_power(void);
|
||||||
|
extern void func_ros_init(void);
|
||||||
|
|
||||||
|
const struct test winetest_testlist[] =
|
||||||
|
{
|
||||||
|
{ "power", func_power },
|
||||||
|
{ "ros_init", func_ros_init },
|
||||||
|
{ 0, 0 }
|
||||||
|
};
|
||||||
|
|
||||||
|
#define WINETEST_WANT_MAIN
|
||||||
|
#include "wine/test.h"
|
Loading…
Add table
Add a link
Reference in a new issue