~ubuntu-branches/ubuntu/lucid/lastfm/lucid

« back to all changes in this revision

Viewing changes to src/libUnicorn/tests/TestSettings.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2008-07-14 16:46:20 UTC
  • mfrom: (1.1.7 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080714164620-67hoz9fs177wpgmr
Tags: 1:1.5.1.31879.dfsg-1ubuntu1
* Merge from Debian unstable (LP: #248100), remaining changes:
  - debian/rules: add dh_icons call
  + debian/control:
    - switch iceweasel to firefox in Recommends field
    - modify debhelper version to >= 5.0.51~
    - modify Maintainer to Ubuntu MOTU Developers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
/***************************************************************************
3
2
 *   Copyright (C) 2005 - 2007 by                                          *
4
3
 *      Last.fm Ltd <client@last.fm>                                       *
40
39
        void testVersion();
41
40
        void testContainerGeometry();
42
41
        void testContainerWindowState();
43
 
        void testSplitterState();
44
42
        void testCurrentUsername();
45
43
 
46
44
        void testVolume();
94
92
}
95
93
 
96
94
 
97
 
void TestSettings::testSplitterState()
98
 
{
99
 
    QByteArray splitter( "testdata" );
100
 
    The::settings().setSplitterState( splitter );
101
 
 
102
 
    QByteArray cmp = The::settings().splitterState();
103
 
    QCOMPARE( splitter, cmp );
104
 
}
105
 
 
106
 
 
107
95
void TestSettings::testCurrentUsername()
108
96
{
109
97
    QString user( "testuser" );