D26293: Add CopyPaste unit test for spreadsheet

Alexander Semke noreply at phabricator.kde.org
Sat Jan 18 09:09:40 GMT 2020


asemke added a comment.


  In D26293#595916 <https://phabricator.kde.org/D26293#595916>, @shubham wrote:
  
  > @asemke Actually, I waited for the test to finish and it failed with the following output.
  >
  >         Start 20: copypastetest
  >   20/20 Test #20: copypastetest ....................***Failed   61.28 sec
  >   SignallingUndoCommand: failed to copy unknown type const AbstractColumn* (needs to be registered with qRegisterMetaType())!
  >  
  >   QMetaObject::invokeMethod: No such method Column::rowsAboutToBeInserted()
  >   Candidates are:
  >       rowsAboutToBeInserted(const AbstractColumn*,int,int)
  >   FAILED to invoke rowsAboutToBeInserted on Column
  >  
  >   SignallingUndoCommand: failed to copy unknown type const AbstractColumn* (needs to be registered with qRegisterMetaType())!
  >  
  >   QMetaObject::invokeMethod: No such method Column::rowsInserted()
  >   Candidates are:
  >       rowsInserted(const AbstractColumn*,int,int)
  >   FAILED to invoke rowsInserted on Column
  >  
  >   SignallingUndoCommand: failed to copy unknown type const AbstractColumn* (needs to be registered with qRegisterMetaType())!
  >  
  >   QMetaObject::invokeMethod: No such method Column::rowsAboutToBeInserted()
  >   Candidates are:
  >       rowsAboutToBeInserted(const AbstractColumn*,int,int)
  >   FAILED to invoke rowsAboutToBeInserted on Column
  >  
  >   SignallingUndoCommand: failed to copy unknown type const AbstractColumn* (needs to be registered with qRegisterMetaType())!
  >  
  >   QMetaObject::invokeMethod: No such method Column::rowsInserted()
  >   Candidates are:
  >       rowsInserted(const AbstractColumn*,int,int)
  >   FAILED to invoke rowsInserted on Column
  >  
  >
  
  
  Ok. I missed this part. Please look at the qRegisterMetaType calls in other tests, for example in AsciiFilterTest::initTestCase(). We need to add this here, too.

REPOSITORY
  R262 LabPlot

REVISION DETAIL
  https://phabricator.kde.org/D26293

To: shubham, asemke, sgerlach
Cc: apol, kde-edu, #labplot, narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200118/e7a74ba8/attachment.html>


More information about the kde-edu mailing list