~ubuntu-branches/ubuntu/oneiric/kde4libs/oneiric-proposed

« back to all changes in this revision

Viewing changes to threadweaver/Tests/QueueTests.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-07-08 00:08:34 UTC
  • mto: This revision was merged to the branch mainline in revision 247.
  • Revision ID: package-import@ubuntu.com-20110708000834-dr9a8my4iml90qe5
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
}
117
117
 
118
118
void QueueTests::deleteJob( ThreadWeaver::Job* job)
119
 
{   // test that signals are properly emited (asynchroneously, that is):
 
119
{   // test that signals are properly emitted (asynchronously, that is):
120
120
    QVERIFY( thread() == QThread::currentThread() );
121
121
    QVERIFY( job == autoDeleteJob );
122
122
    delete job;
148
148
void QueueTests::deleteCollection( Job* collection )
149
149
{
150
150
    QVERIFY( thread() == QThread::currentThread() );
151
 
    QVERIFY( collection = autoDeleteCollection );
 
151
    QVERIFY( collection == autoDeleteCollection );
152
152
    delete autoDeleteCollection;
153
153
    autoDeleteCollection = 0;
154
154
}