~ps-jenkins/compiz/latestsnapshot-10.9.9daily13.06.1913.04-0ubuntu1

« back to all changes in this revision

Viewing changes to compizconfig/libcompizconfig/tests/mock-setting.h

  • Committer: Tarmac
  • Author(s): smspillaz, Sam Spilsbury, Daniel van Vugt
  • Date: 2012-07-11 08:00:58 UTC
  • mfrom: (3262.3.80 gsettings)
  • Revision ID: tarmac-20120711080058-i4iax4g092e84s30
Add gsettings test cases and schema/path cleanups.. Fixes: . Approved by Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
using ::testing::_;
7
7
using ::testing::Return;
8
8
 
 
9
CCSSetting * ccsMockSettingNew ();
 
10
void ccsFreeMockSetting (CCSSetting *);
 
11
 
9
12
class CCSSettingGMockInterface
10
13
{
11
14
    public:
345
348
        {
346
349
            return ((CCSSettingGMock *) ccsObjectGetPrivate (setting))->setPrivatePtr (ptr);
347
350
        }
 
351
 
 
352
        static void ccsSettingFree (CCSSetting *setting)
 
353
        {
 
354
            ccsFreeMockSetting (setting);
 
355
        }
348
356
};
349
357
 
350
358
extern CCSSettingInterface CCSSettingGMockInterface;
351
 
 
352
 
CCSSetting * ccsMockSettingNew ();
353
 
void ccsFreeMockSetting (CCSSetting *);