phonebookengines/cntactions/tsrc/mt_cntactions/mt_cntactions.h
author hgs
Wed, 21 Jul 2010 11:09:07 +0300
changeset 49 74b30151afd6
parent 46 efe85016a067
permissions -rw-r--r--
201025_2

/*
* 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 "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: 
*
*/

#include <QObject>

#include <qtcontacts.h>

QTM_USE_NAMESPACE

Q_DECLARE_METATYPE(QContactAction::State)

class TestCntActions : public QObject
{
    Q_OBJECT

private slots:
    //Init/cleanup the test class
    void initTestCase();
    void cleanupTestCase();
	
    //Init/cleanup each test method
    void init();
    void cleanup();
	
    void emptyContactNoActionSupport();
	
    //call
    void phonenumberCallSupport();
    void phonenumberNoCallSupport();
	
    //message
    void phonenumberMessageSupport();
    void phonenumberNoMessageSupport();

    //video call
    void phonenumberVideoCallSupport();
    void phonenumberNoVideoCallSupport();
	
    //email
    void emailSupport();
    void noEmailSupport();

    //url
    void urlSupport();
    void noUrlSupport();

private:
    QContactManager *m_manager; 
};