Failing test

Boudewijn Rempt boud at valdyas.org
Mon Aug 15 08:36:45 UTC 2011


On Friday 12 August 2011 Aug, you wrote:
> On Fri, Aug 12, 2011 at 1:32 PM, Boudewijn Rempt <boud at valdyas.org> wrote:
> 
> > Hi,
> >
> > This test fails for me:
> >
> > FAIL!  : KoResourceTagging_test::testNepomukBackend() Compared QStringLists
> > have different sizes.
> >   Actual (m_tagObject->getTagNamesList()) size  : '2'
> >   Expected (tagObjectForNepo->getTagNamesList()) size: '0'
> >   Loc:
> > [/home/boud/kde/src/calligra/libs/widgets/tests/KoResourceTagging_test.cpp(171)
> >
> > Does it also fail for other people?
> 
> 
> I am not getting any errors in this part. But, I corrected some other part
> of code, which is giving errors if we runs the test twice and also updated
> the patch to master.

Hm... it still consistently fails for me, and it doesn't seem to run on cruncher. 
 
> 
> > I'm also getting a deprecation warning about something in Nepomuk:
> >
> > In file included from /usr/include/KDE/Nepomuk/../../nepomuk/class.h:28:0,
> >                 from /usr/include/KDE/Nepomuk/../../nepomuk/resource.h:29,
> >                 from /usr/include/KDE/Nepomuk/Resource:1,
> >                 from
> > /home/boud/kde/build/calligra/libs/widgets/../../../../src/calligra/libs/widgets/KoResourceTagging.h:35,
> >                 from
> > /home/boud/kde/build/calligra/libs/widgets/../../../../src/calligra/libs/widgets/KoResourceServer.h:42,
> >                 from
> > /home/boud/kde/build/calligra/libs/widgets/../../../../src/calligra/libs/widgets/KoResourceServerProvider.h:31,
> >                 from
> > /home/boud/kde/build/calligra/libs/widgets/moc_KoResourceServerProvider.cpp:10,
> >                 from
> > /home/boud/kde/build/calligra/libs/widgets/kowidgets_automoc.cpp:5:
> > /usr/include/KDE/Nepomuk/../../nepomuk/entity.h:272:31: warning: ‘Entity’
> > is deprecated
> > /usr/include/KDE/Nepomuk/../../nepomuk/entity.h:275:42: warning: ‘Entity’
> > is deprecated (declared at
> > /usr/include/KDE/Nepomuk/../../nepomuk/entity.h:270)
> > /usr/include/KDE/Nepomuk/../../nepomuk/entity.h:275:42: warning: ‘Entity’
> > is deprecated
> >
> >
> I already asked about this problem in #nepomuk-kde IRC. They said that these
> errors are caused because of using methods which are not 'used' anymore. I
> showed the code to them and at that time, they can't find any deprecated
> methods. Now, I mailed to trueg about this problem and will be resolved asap
> :)=

Okay, that's good news!

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl


More information about the kimageshop mailing list