~phablet-team/sync-monitor/trunk

« back to all changes in this revision

Viewing changes to tests/unittest/sync-account-mock.h

  • Committer: Renato Araujo Oliveira Filho
  • Date: 2014-04-07 19:51:32 UTC
  • mto: (17.3.2 initial-release)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: renato.filho@canonical.com-20140407195132-k26bg0750ljuzpl0
Created unit test for SyncQueue.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2014 Canonical Ltd.
 
3
 *
 
4
 * This file is part of sync-monitor.
 
5
 *
 
6
 * sync-monitor is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * contact-service-app is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#ifndef __SYNC_ACCOUNT_MOCK__
 
20
#define __SYNC_ACCOUNT_MOCK__
 
21
 
 
22
 
 
23
#include <gmock/gmock.h>
 
24
#include <QtCore/QStringList>
 
25
 
 
26
class SyncAccountMock
 
27
{
 
28
public:
 
29
    MOCK_CONST_METHOD0(availableServices, QStringList());
 
30
};
 
31
 
 
32
#endif