forked from len0rd/rockbox
Fix compiling HttpGet unit test.
Provide a stub for Logger class to make the test compile. Change-Id: I142eaf443c1f9026506100b82c9341e83b619ab6
This commit is contained in:
parent
7e7fd0c7b8
commit
70baf0f7be
2 changed files with 12 additions and 1 deletions
11
rbutil/rbutilqt/test/stubs/Logger.h
Normal file
11
rbutil/rbutilqt/test/stubs/Logger.h
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
#ifndef LOGGER_H
|
||||||
|
#define LOGGER_H
|
||||||
|
|
||||||
|
#include <QtDebug>
|
||||||
|
|
||||||
|
#define LOG_INFO qDebug
|
||||||
|
#define LOG_WARNING qWarning
|
||||||
|
#define LOG_ERROR qCritical
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ include(tests.pri)
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = test-httpget
|
TARGET = test-httpget
|
||||||
INCLUDEPATH += . ../base
|
INCLUDEPATH += . ../base stubs
|
||||||
QT += network
|
QT += network
|
||||||
|
|
||||||
# Input
|
# Input
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue