QGIS/python/plugins/processing/tests/ProcessingTests.py

56 lines
1.9 KiB
Python
Raw Normal View History

2013-04-13 11:04:22 +02:00
# -*- coding: utf-8 -*-
"""
***************************************************************************
2013-08-12 20:44:27 +02:00
ProcessingTests.py
2013-04-13 11:04:22 +02:00
---------------------
Date : April 2013
Copyright : (C) 2013 by Victor Olaya
Email : volayaf at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************
"""
__author__ = 'Victor Olaya'
__date__ = 'April 2013'
__copyright__ = '(C) 2013, Victor Olaya'
2013-04-13 11:04:22 +02:00
# This will get replaced with a git SHA1 when you do a git archive
2013-04-13 11:04:22 +02:00
__revision__ = '$Format:%H$'
2013-04-09 23:11:11 +02:00
import unittest
2013-08-12 20:44:27 +02:00
from processing.tests import QgisAlgsTest
from processing.tests import ModelerAlgorithmTest
from processing.tests import ProcessingToolsTest
from processing.tests import ScriptTest
from processing.tests import SagaTest
from processing.tests import GeoAlgorithmTest
from processing.tests import GdalTest
2013-04-09 23:11:11 +02:00
2013-04-09 23:11:11 +02:00
def suite():
suite = unittest.TestSuite()
suite.addTests(QgisAlgsTest.suite())
suite.addTests(ModelerAlgorithmTest.suite())
suite.addTests(SagaTest.suite())
suite.addTests(GdalTest.suite())
2013-04-09 23:11:11 +02:00
suite.addTests(ScriptTest.suite())
2013-08-12 20:44:27 +02:00
suite.addTests(ProcessingToolsTest.suite())
2013-04-09 23:11:11 +02:00
#suite.addTests(ParametersTest.suite())
suite.addTests(GeoAlgorithmTest.suite())
return suite
2013-04-09 23:11:11 +02:00
def runtests():
result = unittest.TestResult()
testsuite = suite()
testsuite.run(result)
return result