3300815c44
- Fix changed dependencies and provide real stubs. - Update to use QTest global data for test table, so individual test vector entries show up as individual tests. That way a single comparison failing doesn't make all appear as failed and provide better indication what went wrong. Change-Id: I69681c3acd5ceceb4c8ceb1feb341e90a65dd603
31 lines
560 B
C++
31 lines
560 B
C++
|
|
#include "playerbuildinfo.h"
|
|
#include "rbsettings.h"
|
|
#include "rockboxinfo.h"
|
|
|
|
// not used by the test, just to make things compile.
|
|
QVariant RbSettings::value(RbSettings::UserSettings setting)
|
|
{
|
|
(void)setting;
|
|
return QVariant();
|
|
}
|
|
|
|
|
|
// not used in the test. If used the test will crash!
|
|
PlayerBuildInfo* PlayerBuildInfo::instance()
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
QVariant PlayerBuildInfo::value(PlayerBuildInfo::DeviceInfo item, QString target)
|
|
{
|
|
(void)item;
|
|
(void)target;
|
|
return QVariant();
|
|
}
|
|
|
|
RockboxInfo::RockboxInfo(QString, QString)
|
|
{
|
|
}
|
|
|
|
|