| Line | |
|---|
| 1 | /* $Id: kernel32test.cpp,v 1.1 1999-11-28 23:10:06 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Kernel32 test program.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 1999 knut st. osmundsen
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | /*******************************************************************************
|
|---|
| 12 | * Header Files *
|
|---|
| 13 | *******************************************************************************/
|
|---|
| 14 | #include <windows.h>
|
|---|
| 15 | // #include <winbase.h>
|
|---|
| 16 | #include "testlib.h"
|
|---|
| 17 | #include "kernel32test.h"
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | /*******************************************************************************
|
|---|
| 21 | * Global Variables *
|
|---|
| 22 | *******************************************************************************/
|
|---|
| 23 | static TESTENTRY aMainTests[] =
|
|---|
| 24 | { /* pfnTest pszName (cError) (cWarnings) */
|
|---|
| 25 | {TestResources, "Resources", 0, 0},
|
|---|
| 26 | {NULL, NULL, 0, 0} /* terminator entry */
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | static TESTTABLE MainTestTable =
|
|---|
| 30 | {
|
|---|
| 31 | "Kernel32Tests",
|
|---|
| 32 | 0,
|
|---|
| 33 | 0,
|
|---|
| 34 | &aMainTests[0],
|
|---|
| 35 | -1,
|
|---|
| 36 | -1,
|
|---|
| 37 | -1,
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | int WIN32API Kernel32TestMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
|---|
| 43 | {
|
|---|
| 44 | hInstance = hInstance; hPrevInstance = hPrevInstance; lpCmdLine = lpCmdLine; nCmdShow = nCmdShow;
|
|---|
| 45 |
|
|---|
| 46 | TstProcessTestTable(&MainTestTable);
|
|---|
| 47 | return MainTestTable.cErrors;
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.