~ubuntu-branches/ubuntu/lucid/kdepim-runtime/lucid-updates

« back to all changes in this revision

Viewing changes to resources/mbox/libmbox/tests/mboxbenchmark.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-01-06 18:57:08 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100106185708-njxieh19nqhom3nd
Tags: 4:4.3.90-0ubuntu1
* New upstream beta release:
  - Bump build-depend versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <kstandarddirs.h>
27
27
#include <ktempdir.h>
28
28
 
29
 
QTEST_KDEMAIN_CORE(MBoxBenchmark)
 
29
QTEST_KDEMAIN( MBoxBenchmark, NoGUI )
30
30
 
31
31
#include "test-entries.h"
32
32
 
35
35
 
36
36
QString MBoxBenchmark::fileName()
37
37
{
38
 
  return mTempDir->name() + testFile;
 
38
  return mTempDir->name() + QLatin1String( testFile );
39
39
}
40
40
 
41
41
void MBoxBenchmark::initTestCase()
42
42
{
43
 
  mTempDir = new KTempDir( KStandardDirs::locateLocal("tmp", testDir ) );
 
43
  mTempDir = new KTempDir( KStandardDirs::locateLocal( "tmp", QLatin1String( testDir ) ) );
44
44
  mMail1 = MessagePtr( new KMime::Message );
45
45
  mMail1->setContent( KMime::CRLFtoLF( sEntry1 ) );
46
46
  mMail1->parse();