mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 05:45:49 +00:00
implement qcronscheduler, tests update
This commit is contained in:
@ -26,6 +26,7 @@
|
||||
|
||||
void TestPlayerSource::initTestCase()
|
||||
{
|
||||
AWTestLibrary::init();
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +49,6 @@ void TestPlayerSource::test_buildString()
|
||||
|
||||
str = PlayerSource::buildString(str, randomString, 20);
|
||||
QCOMPARE(str.count(), 20);
|
||||
QCOMPARE(randomString.indexOf(str), 1);
|
||||
|
||||
str = PlayerSource::buildString(QString(), AWTestLibrary::randomString(10),
|
||||
20);
|
||||
@ -85,9 +85,9 @@ void TestPlayerSource::test_autoMpris()
|
||||
|
||||
void TestPlayerSource::test_mpd()
|
||||
{
|
||||
QStringList args(QStringList() << QString("mpd") << mpdAddress
|
||||
<< QString::number(mpdPort)
|
||||
<< QString("auto") << QString::number(10));
|
||||
QStringList args(QStringList()
|
||||
<< QString("mpd") << mpdAddress << QString::number(mpdPort)
|
||||
<< QString("auto") << QString::number(10));
|
||||
PlayerSource *source = new PlayerSource(this, args);
|
||||
_test_sources(source);
|
||||
|
||||
|
Reference in New Issue
Block a user