Commit ac3cf9cf authored by Méven Car's avatar Méven Car

Fix test, taking into account access time field is now always available

Summary: The creation date time field has been introduced but still depends further on kio 5.58+, glibc 2.28+, linux 4.11+ and compatible filesystem (ext4 with 256 bits inodes for instance, btrfs).

Reviewers: astippich, bruns

Reviewed By: astippich

Subscribers: #baloo

Tags: #baloo

Differential Revision:
parent 8aea8d99
......@@ -71,7 +71,10 @@ void FileMetadataItemCountTest::cleanup()
void FileMetadataItemCountTest::testItemCount()
const int expectedItems = 19;
// the number of items will increase in the future adding the file creation time field
// when the system has KIO 5.58, glibc 2.28, linux 4.11 and a filesystem storing file creation times (btrfs, ext4...)
// The expectedItems count will need to be updated
const int expectedItems = 20;
const int widgetsPerItem = 2;
QSignalSpy spy(m_widget, &Baloo::FileMetaDataWidget::metaDataRequestFinished);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment