D20967: [UserMetaData] Add method to query which attributes are set

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Jun 10 12:33:20 BST 2019


bruns added a comment.


  In D20967#477318 <https://phabricator.kde.org/D20967#477318>, @arrowd wrote:
  
  >   PASS   : UserMetaDataWriterTest::initTestCase()
  >   QDEBUG : UserMetaDataWriterTest::test() extattr_list size: 14
  >   QDEBUG : UserMetaDataWriterTest::test() extattr_list size: 14
  >   QDEBUG : UserMetaDataWriterTest::test() extattr_list r: 14 "\ruser.xdg.tags"
  >   FAIL!  : UserMetaDataWriterTest::test() 'md.queryAttributes(UserMetaData::Attribute::All) & UserMetaData::Attribute::Tags' returned FALSE. ()
  >      Loc: [/home/arr/projects/kfilemetadata/autotests/usermetadatawritertest.cpp(55)]
  >
  
  
  Unfortunately, the returned format is different:
  
  > Each list entry consists of a single byte containing the length of the attribute name, followed by the attribute name. The attribute name is not terminated by ASCII 0 (nul).

REPOSITORY
  R286 KFileMetaData

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

To: bruns, #baloo, #frameworks, astippich, ngraham
Cc: arrowd, #freebsd, #windows, kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190610/3f9aa809/attachment.html>


More information about the Kde-frameworks-devel mailing list