[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdemultimedia/libkcddb/test
From:       Richard =?utf-8?q?L=C3=A4rk=C3=A4ng?= <nouseforaname () home ! se>
Date:       2005-12-29 21:47:13
Message-ID: 200512292247.15875.nouseforaname () home ! se
[Download RAW message or body]

Btw, would it be OK to install qttest_kde.h from kdecore, so the main() isn't 
needed? I saw the same thing in libkcal/tests/testicaltimezones.cpp.

On Thursday 29 December 2005 20:53, Richard Lärkäng wrote:
> SVN commit 492392 by larkang:
>
> Change one of the tests to use QTestLib
>
>...
>
> +int main(int argc, char *argv[])
> +{
> +    setenv("LC_ALL", "C", 1);
> +    KAboutData aboutData( "qttest", "qttest", "version" );
> +    KCmdLineArgs::init( argc, argv, &aboutData );
> +    KApplication::disableAutoDcopRegistration();
> +    KApplication app(false);
> +    SyncCDDBLookupTest tc;
> +    return QTest::qExec( &tc, argc, argv );
> +}

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic