mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-06 02:15:52 +00:00
some refactoring
* fix undefinded behaviour * drop dbus timout, use generic timeout insead * drop load source to own cmake key * update contributing.md
This commit is contained in:
@ -95,6 +95,7 @@ void TestAWKeys::test_pattern()
|
||||
plugin->initKeys(pattern, interval, 0, false);
|
||||
QSignalSpy spy(plugin, SIGNAL(needTextToBeUpdated(const QString)));
|
||||
|
||||
QVERIFY(spy.wait(5 * interval));
|
||||
QVERIFY(spy.wait(5 * interval));
|
||||
QString text = spy.takeFirst().at(0).toString();
|
||||
|
||||
|
@ -39,11 +39,6 @@ void TestDesktopSource::cleanupTestCase()
|
||||
void TestDesktopSource::test_sources()
|
||||
{
|
||||
QCOMPARE(source->sources().count(), 4);
|
||||
// FIXME there is segfault here sometimes o_0
|
||||
// QVERIFY(std::all_of(
|
||||
// source->sources().cbegin(), source->sources().cend(),
|
||||
// [](const QString &src) { return
|
||||
// src.startsWith(QString("desktop/")); }));
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,11 +39,6 @@ void TestProcessesSource::cleanupTestCase()
|
||||
void TestProcessesSource::test_sources()
|
||||
{
|
||||
QCOMPARE(source->sources().count(), 3);
|
||||
// FIXME there is segfault here sometimes o_0
|
||||
// QVERIFY(std::all_of(
|
||||
// source->sources().cbegin(), source->sources().cend(),
|
||||
// [](const QString &src) { return src.startsWith(QString("ps/"));
|
||||
// }));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user