imagingext_pub/exif_api/tsrc/src/ExifLibTestInc.cpp
author hgs
Wed, 13 Oct 2010 13:10:46 +0300
changeset 27 b0bc8115cfe9
parent 0 469c91dae73b
permissions -rw-r--r--
201039
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     1
/*
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     2
* Copyright (c) 2003, 2004 Nokia Corporation and/or its subsidiary(-ies).
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     3
* All rights reserved.
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     8
*
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
     9
* Initial Contributors:
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    11
*
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    12
* Contributors:
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    13
*
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    14
* Description:  Exif Library Test DLL
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    15
*
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    16
*/
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    17
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    18
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    19
#ifdef __WINSCW__
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    20
#define KWinscwChar
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    21
#else
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    22
#define KWinscwChar &
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    23
#endif
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    24
// INCLUDE FILES
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    25
#include "ExifLibTestInc.h"
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    26
#include <fbs.h>
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    27
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    28
// EXTERNAL DATA STRUCTURES
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    29
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    30
// EXTERNAL FUNCTION PROTOTYPES 
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    31
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    32
// CONSTANTS
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    33
// #define MMC
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    34
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    35
// MACROS
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    36
#if ( ( defined __WINS__ ) || ( defined __WINSCW__) )
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    37
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    38
#else
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    39
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    40
#endif
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    41
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    42
// LOCAL CONSTANTS AND MACROS
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    43
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    44
// MODULE DATA STRUCTURES
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    45
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    46
// LOCAL FUNCTION PROTOTYPES
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    47
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    48
// FORWARD DECLARATIONS
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    49
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    50
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    51
CExifLibTestInc::CExifLibTestInc()
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    52
    {
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    53
    }
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    54
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    55
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    56
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    57
CExifLibTestInc::~CExifLibTestInc()
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    58
    {
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    59
    }
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    60
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    61
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    62
void CExifLibTestInc::setUpL ()
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    63
    {
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    64
    }
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    65
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    66
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    67
void CExifLibTestInc::tearDown ()
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    68
    {
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    69
    }
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    70
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    71
//
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    72
// Own test functions.
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    73
//
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    74
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    75
MTest* CExifLibTestInc::suiteL ()
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    76
    {
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    77
    // Always use NewL (Do not use NewLC) !!!
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    78
    CTestSuite *suite = CTestSuite::NewL(_L8("ExifLibTest"));
27
hgs
parents: 0
diff changeset
    79
    CleanupStack::PushL( suite );
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    80
    
27
hgs
parents: 0
diff changeset
    81
    suite->addTestL(CTestCaller<CExifTagTest>::NewL(_L8("EXIF.TAG.001"), KWinscwChar CExifTagTest::ExifTag001L ));
hgs
parents: 0
diff changeset
    82
   
hgs
parents: 0
diff changeset
    83
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.001"), KWinscwChar CExifReadTest::ExifRead001L ));
hgs
parents: 0
diff changeset
    84
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.002"), KWinscwChar CExifReadTest::ExifRead002L ));
hgs
parents: 0
diff changeset
    85
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.003"), KWinscwChar CExifReadTest::ExifRead003L ));
hgs
parents: 0
diff changeset
    86
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.004"), KWinscwChar CExifReadTest::ExifRead004L ));
hgs
parents: 0
diff changeset
    87
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.005"), KWinscwChar CExifReadTest::ExifRead005L ));
hgs
parents: 0
diff changeset
    88
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.006"), KWinscwChar CExifReadTest::ExifRead006L ));
hgs
parents: 0
diff changeset
    89
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.007"), KWinscwChar CExifReadTest::ExifRead007L ));
hgs
parents: 0
diff changeset
    90
hgs
parents: 0
diff changeset
    91
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.008"), KWinscwChar CExifReadTest::ExifRead008L ));
hgs
parents: 0
diff changeset
    92
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.009"), KWinscwChar CExifReadTest::ExifRead009L ));
hgs
parents: 0
diff changeset
    93
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.010"), KWinscwChar CExifReadTest::ExifRead010L ));
hgs
parents: 0
diff changeset
    94
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.011"), KWinscwChar CExifReadTest::ExifRead011L ));
hgs
parents: 0
diff changeset
    95
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.012"), KWinscwChar CExifReadTest::ExifRead012L ));
hgs
parents: 0
diff changeset
    96
     
hgs
parents: 0
diff changeset
    97
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.013"), KWinscwChar CExifReadTest::ExifRead013L ));
hgs
parents: 0
diff changeset
    98
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.014"), KWinscwChar CExifReadTest::ExifRead014L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
    99
    
27
hgs
parents: 0
diff changeset
   100
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.016"), KWinscwChar CExifReadTest::ExifRead016L ));
hgs
parents: 0
diff changeset
   101
    
hgs
parents: 0
diff changeset
   102
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.001"), KWinscwChar CExifCreateTest::ExifCreate001L ));
hgs
parents: 0
diff changeset
   103
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.002"), KWinscwChar CExifCreateTest::ExifCreate002L ));
hgs
parents: 0
diff changeset
   104
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.003"), KWinscwChar CExifCreateTest::ExifCreate003L ));
hgs
parents: 0
diff changeset
   105
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.004"), KWinscwChar CExifCreateTest::ExifCreate004L ));
hgs
parents: 0
diff changeset
   106
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.005"), KWinscwChar CExifCreateTest::ExifCreate005L ));
hgs
parents: 0
diff changeset
   107
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.006"), KWinscwChar CExifCreateTest::ExifCreate006L ));
hgs
parents: 0
diff changeset
   108
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.007"), KWinscwChar CExifCreateTest::ExifCreate007L ));
hgs
parents: 0
diff changeset
   109
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.008"), KWinscwChar CExifCreateTest::ExifCreate008L ));
hgs
parents: 0
diff changeset
   110
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.009"), KWinscwChar CExifCreateTest::ExifCreate009L ));
hgs
parents: 0
diff changeset
   111
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.010"), KWinscwChar CExifCreateTest::ExifCreate010L ));
hgs
parents: 0
diff changeset
   112
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.011"), KWinscwChar CExifCreateTest::ExifCreate011L ));
hgs
parents: 0
diff changeset
   113
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.012"), KWinscwChar CExifCreateTest::ExifCreate012L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   114
   
27
hgs
parents: 0
diff changeset
   115
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.001"), KWinscwChar CExifModifyTest::ExifModify001L ));
hgs
parents: 0
diff changeset
   116
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.002"), KWinscwChar CExifModifyTest::ExifModify002L ));
hgs
parents: 0
diff changeset
   117
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.003"), KWinscwChar CExifModifyTest::ExifModify003L ));
hgs
parents: 0
diff changeset
   118
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.004"), KWinscwChar CExifModifyTest::ExifModify004L ));
hgs
parents: 0
diff changeset
   119
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.005"), KWinscwChar CExifModifyTest::ExifModify005L ));
hgs
parents: 0
diff changeset
   120
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.006"), KWinscwChar CExifModifyTest::ExifModify006L ));
hgs
parents: 0
diff changeset
   121
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.007"), KWinscwChar CExifModifyTest::ExifModify007L ));
hgs
parents: 0
diff changeset
   122
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.008"), KWinscwChar CExifModifyTest::ExifModify008L ));
hgs
parents: 0
diff changeset
   123
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.009"), KWinscwChar CExifModifyTest::ExifModify009L ));
hgs
parents: 0
diff changeset
   124
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.010"), KWinscwChar CExifModifyTest::ExifModify010L ));
hgs
parents: 0
diff changeset
   125
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.011"), KWinscwChar CExifModifyTest::ExifModify011L ));
hgs
parents: 0
diff changeset
   126
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.012"), KWinscwChar CExifModifyTest::ExifModify012L ));
hgs
parents: 0
diff changeset
   127
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.013"), KWinscwChar CExifModifyTest::ExifModify013L ));
hgs
parents: 0
diff changeset
   128
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.014"), KWinscwChar CExifModifyTest::ExifModify014L ));
hgs
parents: 0
diff changeset
   129
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.015"), KWinscwChar CExifModifyTest::ExifModify015L ));
hgs
parents: 0
diff changeset
   130
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.016"), KWinscwChar CExifModifyTest::ExifModify016L ));
hgs
parents: 0
diff changeset
   131
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.018"), KWinscwChar CExifModifyTest::ExifModify018L ));
hgs
parents: 0
diff changeset
   132
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.019"), KWinscwChar CExifModifyTest::ExifModify019L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   133
27
hgs
parents: 0
diff changeset
   134
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.001"), KWinscwChar CExifModifyTest2::ExifModify001L ));
hgs
parents: 0
diff changeset
   135
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.002"), KWinscwChar CExifModifyTest2::ExifModify002L ));
hgs
parents: 0
diff changeset
   136
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.003"), KWinscwChar CExifModifyTest2::ExifModify003L ));
hgs
parents: 0
diff changeset
   137
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.004"), KWinscwChar CExifModifyTest2::ExifModify004L ));
hgs
parents: 0
diff changeset
   138
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.005"), KWinscwChar CExifModifyTest2::ExifModify005L ));
hgs
parents: 0
diff changeset
   139
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.006"), KWinscwChar CExifModifyTest2::ExifModify006L ));
hgs
parents: 0
diff changeset
   140
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.007"), KWinscwChar CExifModifyTest2::ExifModify007L ));
hgs
parents: 0
diff changeset
   141
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.008"), KWinscwChar CExifModifyTest2::ExifModify008L ));
hgs
parents: 0
diff changeset
   142
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.009"), KWinscwChar CExifModifyTest2::ExifModify009L ));
hgs
parents: 0
diff changeset
   143
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.010"), KWinscwChar CExifModifyTest2::ExifModify010L ));
hgs
parents: 0
diff changeset
   144
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.011"), KWinscwChar CExifModifyTest2::ExifModify011L ));
hgs
parents: 0
diff changeset
   145
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.012"), KWinscwChar CExifModifyTest2::ExifModify012L ));
hgs
parents: 0
diff changeset
   146
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.013"), KWinscwChar CExifModifyTest2::ExifModify013L ));
hgs
parents: 0
diff changeset
   147
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.014"), KWinscwChar CExifModifyTest2::ExifModify014L ));
hgs
parents: 0
diff changeset
   148
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.015"), KWinscwChar CExifModifyTest2::ExifModify015L ));
hgs
parents: 0
diff changeset
   149
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.016"), KWinscwChar CExifModifyTest2::ExifModify016L ));
hgs
parents: 0
diff changeset
   150
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.018"), KWinscwChar CExifModifyTest2::ExifModify018L ));
hgs
parents: 0
diff changeset
   151
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.019"), KWinscwChar CExifModifyTest2::ExifModify019L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   152
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   153
    // Fast parser test cases
27
hgs
parents: 0
diff changeset
   154
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.101"), KWinscwChar CExifReadTest::ExifRead101L ));
hgs
parents: 0
diff changeset
   155
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.102"), KWinscwChar CExifReadTest::ExifRead102L ));
hgs
parents: 0
diff changeset
   156
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.103"), KWinscwChar CExifReadTest::ExifRead103L ));
hgs
parents: 0
diff changeset
   157
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.104"), KWinscwChar CExifReadTest::ExifRead104L ));
hgs
parents: 0
diff changeset
   158
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.105"), KWinscwChar CExifReadTest::ExifRead105L ));
hgs
parents: 0
diff changeset
   159
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.106"), KWinscwChar CExifReadTest::ExifRead106L ));
hgs
parents: 0
diff changeset
   160
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.107"), KWinscwChar CExifReadTest::ExifRead107L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   161
27
hgs
parents: 0
diff changeset
   162
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.108"), KWinscwChar CExifReadTest::ExifRead108L ));
hgs
parents: 0
diff changeset
   163
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.109"), KWinscwChar CExifReadTest::ExifRead109L ));
hgs
parents: 0
diff changeset
   164
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.110"), KWinscwChar CExifReadTest::ExifRead110L ));
hgs
parents: 0
diff changeset
   165
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.111"), KWinscwChar CExifReadTest::ExifRead111L ));
hgs
parents: 0
diff changeset
   166
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.112"), KWinscwChar CExifReadTest::ExifRead112L ));
hgs
parents: 0
diff changeset
   167
 
hgs
parents: 0
diff changeset
   168
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.113"), KWinscwChar CExifReadTest::ExifRead113L ));
hgs
parents: 0
diff changeset
   169
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.114"), KWinscwChar CExifReadTest::ExifRead114L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   170
    
27
hgs
parents: 0
diff changeset
   171
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.116"), KWinscwChar CExifReadTest::ExifRead116L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   172
    
27
hgs
parents: 0
diff changeset
   173
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.101"), KWinscwChar CExifCreateTest::ExifCreate101L ));
hgs
parents: 0
diff changeset
   174
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.102"), KWinscwChar CExifCreateTest::ExifCreate102L ));
hgs
parents: 0
diff changeset
   175
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.103"), KWinscwChar CExifCreateTest::ExifCreate103L ));
hgs
parents: 0
diff changeset
   176
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.104"), KWinscwChar CExifCreateTest::ExifCreate104L ));
hgs
parents: 0
diff changeset
   177
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.105"), KWinscwChar CExifCreateTest::ExifCreate105L ));
hgs
parents: 0
diff changeset
   178
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.106"), KWinscwChar CExifCreateTest::ExifCreate106L ));
hgs
parents: 0
diff changeset
   179
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.107"), KWinscwChar CExifCreateTest::ExifCreate107L ));
hgs
parents: 0
diff changeset
   180
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.108"), KWinscwChar CExifCreateTest::ExifCreate108L ));
hgs
parents: 0
diff changeset
   181
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.109"), KWinscwChar CExifCreateTest::ExifCreate109L ));
hgs
parents: 0
diff changeset
   182
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.110"), KWinscwChar CExifCreateTest::ExifCreate110L ));
hgs
parents: 0
diff changeset
   183
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.111"), KWinscwChar CExifCreateTest::ExifCreate111L ));
hgs
parents: 0
diff changeset
   184
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.112"), KWinscwChar CExifCreateTest::ExifCreate112L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   185
   
27
hgs
parents: 0
diff changeset
   186
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.101"), KWinscwChar CExifModifyTest::ExifModify101L ));
hgs
parents: 0
diff changeset
   187
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.102"), KWinscwChar CExifModifyTest::ExifModify102L ));
hgs
parents: 0
diff changeset
   188
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.103"), KWinscwChar CExifModifyTest::ExifModify103L ));
hgs
parents: 0
diff changeset
   189
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.104"), KWinscwChar CExifModifyTest::ExifModify104L ));
hgs
parents: 0
diff changeset
   190
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.105"), KWinscwChar CExifModifyTest::ExifModify105L ));
hgs
parents: 0
diff changeset
   191
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.106"), KWinscwChar CExifModifyTest::ExifModify106L ));
hgs
parents: 0
diff changeset
   192
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.107"), KWinscwChar CExifModifyTest::ExifModify107L ));
hgs
parents: 0
diff changeset
   193
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.108"), KWinscwChar CExifModifyTest::ExifModify108L ));
hgs
parents: 0
diff changeset
   194
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.109"), KWinscwChar CExifModifyTest::ExifModify109L ));
hgs
parents: 0
diff changeset
   195
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.110"), KWinscwChar CExifModifyTest::ExifModify110L ));
hgs
parents: 0
diff changeset
   196
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.111"), KWinscwChar CExifModifyTest::ExifModify111L ));
hgs
parents: 0
diff changeset
   197
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.112"), KWinscwChar CExifModifyTest::ExifModify112L ));
hgs
parents: 0
diff changeset
   198
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.113"), KWinscwChar CExifModifyTest::ExifModify113L ));
hgs
parents: 0
diff changeset
   199
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.114"), KWinscwChar CExifModifyTest::ExifModify114L ));
hgs
parents: 0
diff changeset
   200
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.115"), KWinscwChar CExifModifyTest::ExifModify115L ));
hgs
parents: 0
diff changeset
   201
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.116"), KWinscwChar CExifModifyTest::ExifModify116L ));
hgs
parents: 0
diff changeset
   202
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.118"), KWinscwChar CExifModifyTest::ExifModify118L ));
hgs
parents: 0
diff changeset
   203
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.119"), KWinscwChar CExifModifyTest::ExifModify119L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   204
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   205
    // No tag validity check test cases
27
hgs
parents: 0
diff changeset
   206
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.201"), KWinscwChar CExifReadTest::ExifRead201L ));
hgs
parents: 0
diff changeset
   207
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.202"), KWinscwChar CExifReadTest::ExifRead202L ));
hgs
parents: 0
diff changeset
   208
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.203"), KWinscwChar CExifReadTest::ExifRead203L ));
hgs
parents: 0
diff changeset
   209
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.204"), KWinscwChar CExifReadTest::ExifRead204L ));
hgs
parents: 0
diff changeset
   210
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.205"), KWinscwChar CExifReadTest::ExifRead205L ));
hgs
parents: 0
diff changeset
   211
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.206"), KWinscwChar CExifReadTest::ExifRead206L ));
hgs
parents: 0
diff changeset
   212
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.207"), KWinscwChar CExifReadTest::ExifRead207L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   213
27
hgs
parents: 0
diff changeset
   214
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.208"), KWinscwChar CExifReadTest::ExifRead208L ));
hgs
parents: 0
diff changeset
   215
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.209"), KWinscwChar CExifReadTest::ExifRead209L ));
hgs
parents: 0
diff changeset
   216
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.210"), KWinscwChar CExifReadTest::ExifRead210L ));
hgs
parents: 0
diff changeset
   217
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.211"), KWinscwChar CExifReadTest::ExifRead211L ));
hgs
parents: 0
diff changeset
   218
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.212"), KWinscwChar CExifReadTest::ExifRead212L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   219
    
27
hgs
parents: 0
diff changeset
   220
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.213"), KWinscwChar CExifReadTest::ExifRead213L ));
hgs
parents: 0
diff changeset
   221
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.214"), KWinscwChar CExifReadTest::ExifRead214L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   222
    
27
hgs
parents: 0
diff changeset
   223
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.216"), KWinscwChar CExifReadTest::ExifRead216L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   224
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   225
    // IOP test
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   226
27
hgs
parents: 0
diff changeset
   227
    suite->addTestL(CTestCaller<CExifIopTest>::NewL(_L8("EXIF.IOP.001"), KWinscwChar CExifIopTest::ExifIop001L ));
hgs
parents: 0
diff changeset
   228
	suite->addTestL(CTestCaller<CExifIopTest>::NewL(_L8("EXIF.IOP.002"), KWinscwChar CExifIopTest::ExifIop002L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   229
    
27
hgs
parents: 0
diff changeset
   230
    suite->addTestL(CTestCaller<CExifIopTest>::NewL(_L8("EXIF.IOP.003"), KWinscwChar CExifIopTest::ExifIop003L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   231
    
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   232
    // CameraAPI test case
27
hgs
parents: 0
diff changeset
   233
    suite->addTestL(CTestCaller<CExifIopTest>::NewL(_L8("EXIF.IOP.005"), KWinscwChar CExifIopTest::ExifIop005L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   234
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   235
    // OOM tests
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   236
//#if ( ( defined __WINS__ ) || ( defined __WINSCW__) )
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   237
27
hgs
parents: 0
diff changeset
   238
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.MEM.015"), KWinscwChar CExifReadTest::ExifRead015L ));
hgs
parents: 0
diff changeset
   239
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.MEM.115"), KWinscwChar CExifReadTest::ExifRead115L ));
hgs
parents: 0
diff changeset
   240
    suite->addTestL(CTestCaller<CExifTagTest>::NewL(_L8("EXIF.TAG.MEM.002"), KWinscwChar CExifTagTest::ExifTag002L ));
hgs
parents: 0
diff changeset
   241
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.MEM.013"), KWinscwChar CExifCreateTest::ExifCreate013L ));
hgs
parents: 0
diff changeset
   242
    suite->addTestL(CTestCaller<CExifCreateTest>::NewL(_L8("EXIF.CREATE.MEM.113"), KWinscwChar CExifCreateTest::ExifCreate113L ));
hgs
parents: 0
diff changeset
   243
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.MEM.017"), KWinscwChar CExifModifyTest::ExifModify017L ));
hgs
parents: 0
diff changeset
   244
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.MEM.117"), KWinscwChar CExifModifyTest::ExifModify117L ));
hgs
parents: 0
diff changeset
   245
    suite->addTestL(CTestCaller<CExifModifyTest2>::NewL(_L8("EXIF.MODIFY2.MEM.017"), KWinscwChar CExifModifyTest2::ExifModify017L ));
hgs
parents: 0
diff changeset
   246
    suite->addTestL(CTestCaller<CExifIopTest>::NewL(_L8("EXIF.IOP.MEM.004"), KWinscwChar CExifIopTest::ExifIop004L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   247
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   248
//#endif
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   249
    // Fast parser test cases
27
hgs
parents: 0
diff changeset
   250
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.FAST.017"), KWinscwChar CExifReadTest::ExifRead017L ));
hgs
parents: 0
diff changeset
   251
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.FAST.020"), KWinscwChar CExifModifyTest::ExifModify020L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   252
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   253
    // Unknown tags test cases
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   254
    // Modify image that has unknown (vendor specific) tags and write it back. This needs manual verification
27
hgs
parents: 0
diff changeset
   255
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.UNKNOWN.021"), KWinscwChar CExifModifyTest::ExifModify021L ));
hgs
parents: 0
diff changeset
   256
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.UNKNOWN.022"), KWinscwChar CExifModifyTest::ExifModify022L ));
hgs
parents: 0
diff changeset
   257
    suite->addTestL(CTestCaller<CExifModifyTest>::NewL(_L8("EXIF.MODIFY.UNKNOWN.023"), KWinscwChar CExifModifyTest::ExifModify023L ));
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   258
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   259
    // No tag validity checking test cases
27
hgs
parents: 0
diff changeset
   260
    suite->addTestL(CTestCaller<CExifReadTest>::NewL(_L8("EXIF.READ.NOTAGCHECKING.018"), KWinscwChar CExifReadTest::ExifRead018L ));
hgs
parents: 0
diff changeset
   261
    CleanupStack::Pop( suite );
0
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   262
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   263
    return suite;
469c91dae73b Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff changeset
   264
    }