Skip to content
Permalink
Browse files

Fix tests

  • Loading branch information
nyalldawson committed Dec 28, 2016
1 parent 9d4adc1 commit 585d9dbff1c94e4c250c28afe56c8d5ffe69724e
Showing with 7 additions and 3 deletions.
  1. +3 −1 src/core/qgsmessagelog.cpp
  2. +1 −1 src/core/qgsmessagelog.h
  3. +3 −1 tests/src/python/test_qgscolorschemeregistry.py
@@ -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 @@

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):

0 comments on commit 585d9db

Please sign in to comment.
You can’t perform that action at this time.