summaryrefslogtreecommitdiffstats
path: root/qtip/base
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-19 16:58:46 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-29 20:34:56 +0800
commitf2d021c72b38845954755bab54aa13b4b2aad725 (patch)
tree384b0aa7772facb1e8f836a4741f8151ef119901 /qtip/base
parenta42b9a6ac576b11403955ff38df6cc58cf02abb7 (diff)
Refactor loader classes
- rename BaseLoader to YamlFileLoader as base class of QTIP specs loader - create an abstract BaseLoader - create FileLoader for logfile collector Change-Id: I0c992cd847fc0dce4fdd73a13c1cdbc406c84532 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/base')
-rw-r--r--qtip/base/constant.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/base/constant.py b/qtip/base/constant.py
index 58cc0cc1..ddd07e9d 100644
--- a/qtip/base/constant.py
+++ b/qtip/base/constant.py
@@ -64,8 +64,8 @@ class PlanProp(BaseProp):
class CollectorProp(BaseProp):
LOGS = 'logs'
FILENAME = 'filename'
- PATTERNS = 'patterns'
- MATCH = 'match'
+ GREP = 'grep'
+ REGEX = 'regex'
CAPTURE = 'capture'