omxilvideocomps/omxilgraphicsink/tsrc/src/graphicsinkteststeps.h
author hgs
Fri, 08 Oct 2010 22:09:17 +0100
changeset 0 5d29cba61097
permissions -rw-r--r--
2010wk38_02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     1
/*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     2
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     3
* All rights reserved.
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     8
*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
     9
* Initial Contributors:
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    11
*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    12
* Contributors:
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    13
*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    14
* Description: 
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    15
*
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    16
*/
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    17
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    18
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    19
/**
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    20
 * @file
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    21
 * @internalTechnology
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    22
 */
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    23
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    24
#ifndef GRAPHICSINKTESTSTEPS_H
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    25
#define GRAPHICSINKTESTSTEPS_H
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    26
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    27
#include "graphicsinktestbase.h"
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    28
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    29
// Test step names
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    30
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    31
_LIT(KOmxGsTest0001Step01, "MMVIDEO-OMX-GS-001-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    32
_LIT(KOmxGsTest0001Step02, "MMVIDEO-OMX-GS-001-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    33
_LIT(KOmxGsTest0001Step03,	"MMVIDEO-OMX-GS-001-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    34
_LIT(KOmxGsTest0001Step04,	"MMVIDEO-OMX-GS-001-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    35
_LIT(KOmxGsTest0001Step05,	"MMVIDEO-OMX-GS-001-05-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    36
_LIT(KOmxGsTest0001Step06,	"MMVIDEO-OMX-GS-001-06-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    37
_LIT(KOmxGsTest0001Step07,	"MMVIDEO-OMX-GS-001-07-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    38
_LIT(KOmxGsTest0001Step08,	"MMVIDEO-OMX-GS-001-08-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    39
_LIT(KOmxGsTest0001Step09,	"MMVIDEO-OMX-GS-001-09-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    40
_LIT(KOmxGsTest0001Step00,	"MMVIDEO-OMX-GS-001-00-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    41
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    42
_LIT(KOmxGsTest0002Step01,	"MMVIDEO-OMX-GS-002-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    43
_LIT(KOmxGsTest0002Step02,	"MMVIDEO-OMX-GS-002-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    44
_LIT(KOmxGsTest0002Step03,	"MMVIDEO-OMX-GS-002-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    45
_LIT(KOmxGsTest0002Step04,	"MMVIDEO-OMX-GS-002-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    46
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    47
_LIT(KOmxGsTest0003Step01,	"MMVIDEO-OMX-GS-003-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    48
_LIT(KOmxGsTest0003Step02,	"MMVIDEO-OMX-GS-003-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    49
_LIT(KOmxGsTest0003Step03,	"MMVIDEO-OMX-GS-003-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    50
_LIT(KOmxGsTest0003Step04,	"MMVIDEO-OMX-GS-003-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    51
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    52
_LIT(KOmxGsTest0004Step01,	"MMVIDEO-OMX-GS-004-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    53
_LIT(KOmxGsTest0004Step02,	"MMVIDEO-OMX-GS-004-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    54
_LIT(KOmxGsTest0004Step03,	"MMVIDEO-OMX-GS-004-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    55
_LIT(KOmxGsTest0004Step04,	"MMVIDEO-OMX-GS-004-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    56
_LIT(KOmxGsTest0004Step05,	"MMVIDEO-OMX-GS-004-05-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    57
_LIT(KOmxGsTest0004Step06,	"MMVIDEO-OMX-GS-004-06-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    58
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    59
_LIT(KOmxGsTest0005Step01,	"MMVIDEO-OMX-GS-005-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    60
_LIT(KOmxGsTest0005Step02,	"MMVIDEO-OMX-GS-005-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    61
_LIT(KOmxGsTest0005Step03,	"MMVIDEO-OMX-GS-005-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    62
_LIT(KOmxGsTest0005Step04,	"MMVIDEO-OMX-GS-005-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    63
_LIT(KOmxGsTest0005Step05,	"MMVIDEO-OMX-GS-005-05-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    64
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    65
_LIT(KOmxGsTest0006Step01,	"MMVIDEO-OMX-GS-006-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    66
_LIT(KOmxGsTest0006Step02,	"MMVIDEO-OMX-GS-006-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    67
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    68
_LIT(KOmxGsTest0007Step01,	"MMVIDEO-OMX-GS-007-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    69
_LIT(KOmxGsTest0007Step02,	"MMVIDEO-OMX-GS-007-02-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    70
_LIT(KOmxGsTest0007Step03,	"MMVIDEO-OMX-GS-007-03-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    71
_LIT(KOmxGsTest0007Step04,	"MMVIDEO-OMX-GS-007-04-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    72
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    73
_LIT(KOmxGsTest0008Step01,	"MMVIDEO-OMX-GS-008-01-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    74
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    75
_LIT(KOmxGsTest0009Step00,	"MMVIDEO-OMX-GS-009-00-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    76
_LIT(KOmxGsTest0010Step00,	"MMVIDEO-OMX-GS-010-00-HP");
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    77
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    78
// Test step declarations, each step is contained within a seperate class
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    79
// Macro to save re-defining similar classes
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    80
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    81
#define NEW_GS_CLASS(TEST_NUM) \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    82
	class C##TEST_NUM \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    83
		: public CGraphicsSinkTestBase \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    84
		{ \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    85
	public: \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    86
		C##TEST_NUM(); \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    87
		~C##TEST_NUM(); \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    88
		TVerdict doTestStepL(); \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    89
	private: \
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    90
		}; 
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    91
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    92
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    93
// Now use the macro to declare all the test steps
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    94
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    95
NEW_GS_CLASS(OmxGsTest0001Step00)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    96
NEW_GS_CLASS(OmxGsTest0001Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    97
NEW_GS_CLASS(OmxGsTest0001Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    98
NEW_GS_CLASS(OmxGsTest0001Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
    99
NEW_GS_CLASS(OmxGsTest0001Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   100
NEW_GS_CLASS(OmxGsTest0001Step05)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   101
NEW_GS_CLASS(OmxGsTest0001Step06)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   102
NEW_GS_CLASS(OmxGsTest0001Step07)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   103
NEW_GS_CLASS(OmxGsTest0001Step08)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   104
NEW_GS_CLASS(OmxGsTest0001Step09)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   105
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   106
NEW_GS_CLASS(OmxGsTest0002Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   107
NEW_GS_CLASS(OmxGsTest0002Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   108
NEW_GS_CLASS(OmxGsTest0002Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   109
NEW_GS_CLASS(OmxGsTest0002Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   110
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   111
NEW_GS_CLASS(OmxGsTest0003Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   112
NEW_GS_CLASS(OmxGsTest0003Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   113
NEW_GS_CLASS(OmxGsTest0003Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   114
NEW_GS_CLASS(OmxGsTest0003Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   115
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   116
NEW_GS_CLASS(OmxGsTest0004Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   117
NEW_GS_CLASS(OmxGsTest0004Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   118
NEW_GS_CLASS(OmxGsTest0004Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   119
NEW_GS_CLASS(OmxGsTest0004Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   120
NEW_GS_CLASS(OmxGsTest0004Step05)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   121
NEW_GS_CLASS(OmxGsTest0004Step06)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   122
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   123
NEW_GS_CLASS(OmxGsTest0005Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   124
NEW_GS_CLASS(OmxGsTest0005Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   125
NEW_GS_CLASS(OmxGsTest0005Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   126
NEW_GS_CLASS(OmxGsTest0005Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   127
NEW_GS_CLASS(OmxGsTest0005Step05)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   128
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   129
NEW_GS_CLASS(OmxGsTest0006Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   130
NEW_GS_CLASS(OmxGsTest0006Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   131
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   132
NEW_GS_CLASS(OmxGsTest0007Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   133
NEW_GS_CLASS(OmxGsTest0007Step02)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   134
NEW_GS_CLASS(OmxGsTest0007Step03)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   135
NEW_GS_CLASS(OmxGsTest0007Step04)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   136
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   137
NEW_GS_CLASS(OmxGsTest0008Step01)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   138
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   139
NEW_GS_CLASS(OmxGsTest0009Step00)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   140
NEW_GS_CLASS(OmxGsTest0010Step00)
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   141
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   142
5d29cba61097 2010wk38_02
hgs
parents:
diff changeset
   143
#endif //GRAPHICSINKTESTSTEPS_H