コード例 #1
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
     # create qgis application stub
     # do not need to call exitQgis()
     cls.QGIS_APP, cls.CANVAS, cls.IFACE, cls.PARENT = get_qgis_app()
     # create the instance to test
     cls.testerPlugin = TesterPlugin(cls.IFACE)
コード例 #2
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
     # create qgis application stub
     # do not need to call exitQgis()
     cls.QGIS_APP, cls.CANVAS, cls.IFACE, cls.PARENT = get_qgis_app()
     # create the instance to test
     cls.testerPlugin = TesterPlugin(cls.IFACE)
コード例 #3
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
コード例 #4
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()