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

List:       kde-commits
Subject:    koffice/libs/pigment/tests
From:       Emanuele Tamponi <emanuele () valinor ! it>
Date:       2008-02-18 11:03:44
Message-ID: 1203332624.985537.10031.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 776482 by tamponi:

Remove workaround


 M  +1 -11     TestColorConversionSystem.cpp  


--- trunk/koffice/libs/pigment/tests/TestColorConversionSystem.cpp #776481:776482
@@ -33,7 +33,7 @@
     {
         foreach( KoID depthId, \
KoColorSpaceRegistry::instance()->colorDepthList(modelId, \
KoColorSpaceRegistry::AllColorSpaces))  {
-                
+
             listModels.append( pStrStr( modelId.id(), depthId.id() ) );
         }
     }
@@ -57,16 +57,6 @@
     {
         foreach( pStrStr dstCS, listModels)
         {
-        
-            if (   srcCS.first.startsWith("KSQP")
-                || srcCS.first.startsWith("KSLC")
-                || dstCS.first.startsWith("KSQP")
-                || dstCS.first.startsWith("KSLC")
-                )
-            {
-                continue; // We don't test these, since they cannot be converted \
                without loss.
-            }
-            
             QVERIFY2( \
KoColorSpaceRegistry::instance()->colorConversionSystem()->existsGoodPath(srcCS.first, \
srcCS.second , dstCS.first, dstCS.second) , QString("No good path between %1 / %2 and \
%3 / %4").arg(srcCS.first).arg(srcCS.second).arg(dstCS.first).arg(dstCS.second).latin1() \
);  }
     }


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

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