phoneplugins/infowidgetplugin/infowidgetprovider/tsrc/mocks/mock_qserviceinterfacedescriptor.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     1 /* 
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include <QDebug>
       
    18 #include <QStringList>
       
    19 #include <smcmockclassincludes.h>
       
    20 #include "qserviceinterfacedescriptor.h"
       
    21 
       
    22 QTM_BEGIN_NAMESPACE
       
    23 
       
    24 // ============================ MEMBER FUNCTIONS ===============================
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // QServiceInterfaceDescriptor::QServiceInterfaceDescriptor
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 QServiceInterfaceDescriptor::QServiceInterfaceDescriptor(  )
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 
       
    36 // -----------------------------------------------------------------------------
       
    37 // QServiceInterfaceDescriptor::QServiceInterfaceDescriptor
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 QServiceInterfaceDescriptor::QServiceInterfaceDescriptor( 
       
    41         const QServiceInterfaceDescriptor & other )
       
    42     {
       
    43     
       
    44     }
       
    45 
       
    46 
       
    47 // -----------------------------------------------------------------------------
       
    48 // QServiceInterfaceDescriptor::~QServiceInterfaceDescriptor
       
    49 // -----------------------------------------------------------------------------
       
    50 //
       
    51 QServiceInterfaceDescriptor::~QServiceInterfaceDescriptor(  )
       
    52     {
       
    53     
       
    54     }
       
    55 
       
    56 
       
    57 // -----------------------------------------------------------------------------
       
    58 // QServiceInterfaceDescriptor::=
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 QServiceInterfaceDescriptor & QServiceInterfaceDescriptor::operator=(const QServiceInterfaceDescriptor & other )
       
    62     {
       
    63     SMC_MOCK_METHOD1( QServiceInterfaceDescriptor &, const QServiceInterfaceDescriptor &, other )
       
    64     }
       
    65 
       
    66 
       
    67 // -----------------------------------------------------------------------------
       
    68 // QServiceInterfaceDescriptor::=
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 bool QServiceInterfaceDescriptor::operator==(const QServiceInterfaceDescriptor& other) const
       
    72     {
       
    73     SMC_MOCK_METHOD1( bool, const QServiceInterfaceDescriptor &, other )
       
    74     }
       
    75 
       
    76 
       
    77 // -----------------------------------------------------------------------------
       
    78 // QServiceInterfaceDescriptor::serviceName
       
    79 // -----------------------------------------------------------------------------
       
    80 //
       
    81 QString QServiceInterfaceDescriptor::serviceName(  ) const
       
    82     {
       
    83     SMC_MOCK_METHOD0( QString )
       
    84     }
       
    85 
       
    86 
       
    87 // -----------------------------------------------------------------------------
       
    88 // QServiceInterfaceDescriptor::interfaceName
       
    89 // -----------------------------------------------------------------------------
       
    90 //
       
    91 QString QServiceInterfaceDescriptor::interfaceName(  ) const
       
    92     {
       
    93     SMC_MOCK_METHOD0( QString )
       
    94     }
       
    95 
       
    96 
       
    97 // -----------------------------------------------------------------------------
       
    98 // QServiceInterfaceDescriptor::majorVersion
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 int QServiceInterfaceDescriptor::majorVersion(  ) const
       
   102     {
       
   103     SMC_MOCK_METHOD0( int )
       
   104     }
       
   105 
       
   106 
       
   107 // -----------------------------------------------------------------------------
       
   108 // QServiceInterfaceDescriptor::minorVersion
       
   109 // -----------------------------------------------------------------------------
       
   110 //
       
   111 int QServiceInterfaceDescriptor::minorVersion(  ) const
       
   112     {
       
   113     SMC_MOCK_METHOD0( int )
       
   114     }
       
   115 
       
   116 
       
   117 // -----------------------------------------------------------------------------
       
   118 // QServiceInterfaceDescriptor::isValid
       
   119 // -----------------------------------------------------------------------------
       
   120 //
       
   121 bool QServiceInterfaceDescriptor::isValid(  ) const
       
   122     {
       
   123     SMC_MOCK_METHOD0( bool )
       
   124     }
       
   125 
       
   126 
       
   127 // -----------------------------------------------------------------------------
       
   128 // QServiceInterfaceDescriptor::scope
       
   129 // -----------------------------------------------------------------------------
       
   130 //
       
   131 QService::Scope QServiceInterfaceDescriptor::scope(  ) const
       
   132     {
       
   133     SMC_MOCK_METHOD0( QService::Scope )
       
   134     }
       
   135 
       
   136 
       
   137 // -----------------------------------------------------------------------------
       
   138 // QServiceInterfaceDescriptor::attribute
       
   139 // -----------------------------------------------------------------------------
       
   140 //
       
   141 QVariant QServiceInterfaceDescriptor::attribute( 
       
   142         QServiceInterfaceDescriptor::Attribute which ) const
       
   143     {
       
   144     SMC_MOCK_METHOD1( QVariant, QServiceInterfaceDescriptor::Attribute, which )
       
   145     }
       
   146 
       
   147 
       
   148 // -----------------------------------------------------------------------------
       
   149 // QServiceInterfaceDescriptor::customAttribute
       
   150 // -----------------------------------------------------------------------------
       
   151 //
       
   152 QString QServiceInterfaceDescriptor::customAttribute( 
       
   153         const QString & which ) const
       
   154     {
       
   155     SMC_MOCK_METHOD1( QString, const QString &, which )
       
   156     }
       
   157 
       
   158 
       
   159 // -----------------------------------------------------------------------------
       
   160 // QServiceInterfaceDescriptor::customAttributes
       
   161 // -----------------------------------------------------------------------------
       
   162 //
       
   163 QStringList QServiceInterfaceDescriptor::customAttributes(  ) const
       
   164     {
       
   165     SMC_MOCK_METHOD0( QStringList )
       
   166     }
       
   167 
       
   168 QTM_END_NAMESPACE