Don't forget to queue the job!

This commit is contained in:
Aurélien Gâteau 2014-08-05 16:09:30 +02:00
parent 09c3240364
commit 9dac375a31

View File

@ -276,6 +276,8 @@ JobTests::testResizePartition()
QVERIFY( partition );
ResizePartitionJob* job = new ResizePartitionJob( m_device.data(), partition, newFirst, newLast );
job->updatePreview();
m_queue.enqueue( job_ptr( job ) );
QVERIFY( m_runner.run() );
}