imgtools/imgcheck/imagechekunittest/testcode/imagecheckertest.h
author timothy.murphy@nokia.com
Fri, 18 Dec 2009 18:19:11 +0000
branchwip
changeset 115 5869e06bf2ac
parent 0 044383f39525
permissions -rw-r--r--
Cause whatcomp output to use the incoming epocroot value. i.e. if epocroot is relative then so is the what output. e.g. if EPOCROOT=\ then the output will be of the form "\epoc32\release\armv5\...." If it's "..\myepocroot" then the output will be "..\myepocroot\epoc32\release\armv5". If it's absolute then the what output will also be absolute.

/*
* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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: 
* IMAGECHECKERTEST class declaration.
*
*/


#ifndef IMAGECHECKERTEST_H
#define IMAGECHECKERTEST_H

#ifdef _MSC_VER 
	#pragma warning(disable: 4786) 
	#pragma warning(disable: 4503) 
#endif

#include <cppunit/extensions/HelperMacros.h>

#include "TestCase.h"
#include "TestSuite.h"
#include "TestCaller.h"


class CTestImageChecker : public CPPUNIT_NS::TestFixture
{
	CPPUNIT_TEST_SUITE( CTestImageChecker );
	CPPUNIT_TEST( TestForHiddenRomRofsImageOutput );
	CPPUNIT_TEST( TestForRofsImageOutput );
	CPPUNIT_TEST( TestForRomRofsImageOutputXml );
	CPPUNIT_TEST( TestForRomRofsImageOutputALL );
	CPPUNIT_TEST( TestForRomRofsImageOutputwithVIDVAL );
	CPPUNIT_TEST( TestForRomRofsImageOutputwithDepSuppressed );
	CPPUNIT_TEST( TestForExtnRomRofsImageOutput );
	CPPUNIT_TEST( TestForInvalidImageOutput );
	CPPUNIT_TEST( TestForRofsImagewithMissingDeps );
	CPPUNIT_TEST( TestForHiddenDLLRomRofsImageOutput );
	CPPUNIT_TEST( TestForRomImagewithSIDALLOutput );
	CPPUNIT_TEST_SUITE_END();

protected:

	void TestForRofsImageOutput();
	void TestForRomRofsImageOutputXml();
	void TestForRomRofsImageOutputALL();
	void TestForRomRofsImageOutputwithVIDVAL();	
	void TestForRomRofsImageOutputwithDepSuppressed();
	void TestForExtnRomRofsImageOutput();
	void TestForInvalidImageOutput();
	void TestForHiddenRomRofsImageOutput();
	void TestForRofsImagewithMissingDeps();
	void TestForHiddenDLLRomRofsImageOutput();
	void TestForRomImagewithSIDALLOutput();
};

#endif