buildverification/autosmoketest/contacts/src/TestContactsCreateDB.cpp
branchRCL_3
changeset 11 493058e57c8c
parent 0 9736f095102e
equal deleted inserted replaced
10:4ca382093dae 11:493058e57c8c
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This contains CTestContactsCreateDB
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <test/testexecutelog.h>
       
    19 
       
    20 #include "TestContactsCreateDB.h"
       
    21 
       
    22 CTestContactsCreateDB::CTestContactsCreateDB()
       
    23 	{
       
    24 	SetTestStepName(_L("CreateDB"));
       
    25 	}
       
    26 
       
    27 CTestContactsCreateDB::~CTestContactsCreateDB()
       
    28 	{
       
    29 	}
       
    30 
       
    31 // Each test step must supply a implementation for doTestStepL
       
    32 enum TVerdict CTestContactsCreateDB::doTestStepL()
       
    33 	{
       
    34 	// Printing to the console and log file
       
    35 	INFO_PRINTF1(_L("Contacts CreateDB Test"));
       
    36 
       
    37 	CreateDatabase();
       
    38 	CleanupDatabase();
       
    39 
       
    40 	// test steps return a result
       
    41 	return TestStepResult();
       
    42 	}