ReactOS 0.4.16-dev-297-gc569aee
testlist.c
Go to the documentation of this file.
1/*
2 * ReactOS RosPerf - ReactOS GUI performance test program
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 */
18
19#include <windows.h>
20#include "rosperf.h"
21
22static TEST TestList[] =
23 {
24 { L"fill", L"Fill", NullInit, FillProc, NullCleanup, NullCleanup },
25 { L"smallfill", L"Small Fill", NullInit, FillSmallProc, NullCleanup, NullCleanup },
26 { L"hlines", L"Horizontal Lines", NullInit, LinesHorizontalProc, NullCleanup, NullCleanup },
27 { L"vlines", L"Vertical Lines", NullInit, LinesVerticalProc, NullCleanup, NullCleanup },
28 { L"lines", L"Lines", NullInit, LinesProc, NullCleanup, NullCleanup },
29 { L"scroll", L"Scroll", NullInit, ScrollProc, NullCleanup, NullCleanup },
30 { L"text", L"Text", NullInit, TextProc, NullCleanup, NullCleanup },
31 { L"alpha", L"Alpha Blend", AlphaBlendInit, AlphaBlendProc, NullCleanup, AlphaBlendCleanup },
32 { L"hgradient", L"Horizontal Gradient", NullInit, GradientHorizontalProc, NullCleanup, NullCleanup },
33 { L"vgradient", L"Vertical Gradient", NullInit, GradientVerticalProc, NullCleanup, NullCleanup },
34 { L"gradient", L"Gradient", NullInit, GradientProc, NullCleanup, NullCleanup }
35 };
36
37
38void
39GetTests(unsigned *TestCount, PTEST *Tests)
40 {
41 *TestCount = sizeof(TestList) / sizeof(TEST);
42 *Tests = TestList;
43 }
44
45/* EOF */
struct test_data Tests[]
void FillSmallProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: fill.c:35
void FillProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: fill.c:23
unsigned AlphaBlendInit(void **Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: alphablend.c:29
void AlphaBlendCleanup(void *Context, PPERF_INFO PerfInfo)
Definition: alphablend.c:52
void AlphaBlendProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: alphablend.c:67
void GradientHorizontalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: gradient.c:97
void GradientVerticalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: gradient.c:126
void GradientProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: gradient.c:25
void LinesVerticalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: lines.c:79
void LinesHorizontalProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: lines.c:60
void LinesProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: lines.c:23
#define L(x)
Definition: ntvdm.h:50
static TEST TestList[]
Definition: testlist.c:22
void GetTests(unsigned *TestCount, PTEST *Tests)
Definition: testlist.c:39
void NullCleanup(void *Context, PPERF_INFO PerfInfo)
Definition: rosperf.c:64
unsigned NullInit(void **Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: rosperf.c:56
void TextProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: text.c:23
void ScrollProc(void *Context, PPERF_INFO PerfInfo, unsigned Reps)
Definition: scroll.c:23
Definition: comm.c:65
EH_STD::__list__< TestClass, eh_allocator(TestClass) > TestList
Definition: test_list.cpp:31