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

List:       kde-commits
Subject:    Re: extragear/graphics/digikam/tests
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2009-11-30 23:37:41
Message-ID: 4B145745.10503 () gmx ! de
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andi Clemens schrieb:
> SVN commit 1056692 by aclemens:
> 
> This test failed under Windows because it was written in a way that the parser will \
> return the "/" folder for the directory name. This concept fails on MS because \
> there still is the drive letter that can be returned. Move some steps up in the \
> hierarchy to avoid the failing of this test on MS.
Thanks, this works....
I wonder why I didn't commit it though (am I that old already)?
> 
> M  +4 -4      advancedrenametest.cpp  
> 
> 
> --- trunk/extragear/graphics/digikam/tests/advancedrenametest.cpp #1056691:1056692
> @@ -105,10 +105,10 @@
> 
> QString filename("/mnt/data/photos/2009/digikam_tests/myfile001.jpg");
> 
> -    QTest::newRow("[dir]")        << QString("[dir]")        << filename << \
>                 QString("digikam_tests.jpg");
> -    QTest::newRow("[dir.]")       << QString("[dir.]")       << filename << \
>                 QString("2009.jpg");
> -    QTest::newRow("[dir.]_[dir]") << QString("[dir.]_[dir]") << filename << \
>                 QString("2009_digikam_tests.jpg");
> -    QTest::newRow("[dir.....]")   << QString("[dir.....]")   << filename << \
> QString("myfile001.jpg"); +    QTest::newRow("[dir]")          << QString("[dir]")  \
> << filename << QString("digikam_tests.jpg"); +    QTest::newRow("[dir.]")         \
> << QString("[dir.]")         << filename << QString("2009.jpg"); +    \
> QTest::newRow("[dir.]_[dir]")   << QString("[dir.]_[dir]")   << filename << \
> QString("2009_digikam_tests.jpg"); +    QTest::newRow("[dir.......]")   << \
> QString("[dir.......]")   << filename << QString("myfile001.jpg"); }
> 
> void AdvancedRenameWidgetTest::testDirectoryNameToken()
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAksUV0UACgkQi49rfdk/G3ZE3wCbBzWOeHkdKK1VhHbJIzJGnYqt
k5gAn376jKVe+ZCQlIpCWL5QZsU+z51s
=eDTs
-----END PGP SIGNATURE-----


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

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