Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accept "true" and "True" as valid values for "hasProcessingProvider"
plugin metadata (fix #41120)
- Loading branch information
1 parent
9dfb401
commit 4adffff
Showing
5 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
tests/testdata/test_plugin_path/ProcessingPluginTest2/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
__init__.py | ||
--------------------- | ||
Date : July 2013 | ||
Copyright : (C) 2013 by Hugo Mercier | ||
Email : hugo dot mercier at oslandia 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__ = 'Hugo Mercier' | ||
__date__ = 'July 2013' | ||
__copyright__ = '(C) 2013, Hugo Mercier' | ||
|
||
import os | ||
|
||
|
||
class Test: | ||
|
||
def __init__(self, iface): | ||
pass | ||
|
||
def initGui(self): | ||
assert False | ||
|
||
def initProcessing(self): | ||
pass | ||
|
||
def unload(self): | ||
pass | ||
|
||
|
||
def classFactory(iface): | ||
# load Test class from file Test | ||
return Test(iface) |
7 changes: 7 additions & 0 deletions
7
tests/testdata/test_plugin_path/ProcessingPluginTest2/metadata.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[general] | ||
name=processing plugin test 2 | ||
qgisMinimumVersion=3.8 | ||
description=desc | ||
version=0.1 | ||
author=matt cauthin | ||
hasProcessingProvider=True |