imagingext_pub/exif_api/tsrc/src/ExifLibTest.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:22:31 +0200
changeset 0 469c91dae73b
child 27 b0bc8115cfe9
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2003, 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Exif Library Test DLL
*
*/



// INCLUDE FILES


#include "ExifLibTest.h"


// EXTERNAL DATA STRUCTURES

// EXTERNAL FUNCTION PROTOTYPES 
 
// CONSTANTS

// MACROS

// LOCAL CONSTANTS AND MACROS

// MODULE DATA STRUCTURES

// LOCAL FUNCTION PROTOTYPES
IMPORT_C  MTest* CreateTopFct ();

// FORWARD DECLARATIONS


// Starting point of the DLL (Always needed) 
GLDEF_C TInt E32Dll(TDllReason)
    {
    return(KErrNone);
    }

// Exactly one exported function returning the suite of 
// test functions for the test runner in the framework.
// (Always needed)
//
EXPORT_C MTest* CreateTopFct() //lint !e714 
    {
    MTest * testSuite = NULL;
    TRAPD(err, testSuite =  CExifLibTest::suiteL() ) ;
    if (err)
        {
        User::Panic(_L("suiteL has left !"), 99);
        }
    return ( testSuite );
    }


CExifLibTest::~CExifLibTest()
    {
    }


MTest*  CExifLibTest::suiteL ()
    {
    CTestSuite *suite = CTestSuite::NewL(_L8("Test Suite Container"));

    suite->addTestL(CExifLibTestInc::suiteL());

    return suite;
    
    }