mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-07 08:27:35 +08:00
change: add EnablePlugin, default to disable plugin
This commit is contained in:
+10
-3
@@ -180,9 +180,16 @@ func (c *TConfig) SetAndroid(options ...uixt.AndroidDeviceOption) *TConfig {
|
||||
return c
|
||||
}
|
||||
|
||||
func (s *TConfig) DisableAutoPopupHandler() *TConfig {
|
||||
s.IgnorePopup = true
|
||||
return s
|
||||
// EnablePlugin enables plugin for current testcase.
|
||||
// default to disable plugin
|
||||
func (c *TConfig) EnablePlugin() *TConfig {
|
||||
c.PluginSetting = &PluginConfig{}
|
||||
return c
|
||||
}
|
||||
|
||||
func (c *TConfig) DisableAutoPopupHandler() *TConfig {
|
||||
c.IgnorePopup = true
|
||||
return c
|
||||
}
|
||||
|
||||
type ThinkTimeConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user