mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Fix tests
This commit is contained in:
parent
9d4adc1c70
commit
585d9dbff1
@ -24,7 +24,9 @@ class QgsMessageLogConsole;
|
||||
|
||||
QgsMessageLog::QgsMessageLog()
|
||||
: QObject()
|
||||
{}
|
||||
{
|
||||
qRegisterMetaType< QgsMessageLog::MessageLevel >( "QgsMessageLog::MessageLevel" );
|
||||
}
|
||||
|
||||
void QgsMessageLog::logMessage( const QString& message, const QString& tag, QgsMessageLog::MessageLevel level )
|
||||
{
|
||||
|
@ -34,6 +34,7 @@
|
||||
class CORE_EXPORT QgsMessageLog : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS( MessageLevel )
|
||||
|
||||
public:
|
||||
|
||||
@ -62,7 +63,6 @@ class CORE_EXPORT QgsMessageLog : public QObject
|
||||
|
||||
};
|
||||
|
||||
|
||||
/** \ingroup core
|
||||
\brief Default implementation of message logging interface
|
||||
|
||||
|
@ -14,9 +14,11 @@ __revision__ = '$Format:%H$'
|
||||
|
||||
import qgis # NOQA
|
||||
|
||||
from qgis.testing import unittest
|
||||
from qgis.testing import start_app, unittest
|
||||
from qgis.core import QgsColorSchemeRegistry, QgsRecentColorScheme, QgsApplication
|
||||
|
||||
start_app()
|
||||
|
||||
|
||||
class TestQgsColorSchemeRegistry(unittest.TestCase):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user