summaryrefslogtreecommitdiffstats
path: root/tests/unit/collector
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27Rename test case to avoid possible name conflictYujun Zhang1-0/+0
pytest does not allow two test file have same name despite they are in different folder. Change-Id: I568fe042f6dbe99df336d0ce4d6ed9c78305fe74 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-21support multi-line search in grep parserwu.zhihui1-1/+3
use finditer with multiline mode JIRA: QTIP-211 Change-Id: Ib8854f749a0258f6b6775be9b80573f6ac8e47db Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-02-19Clean up tests folderYujun Zhang1-0/+0
- remove __init__.py as recommended in pytest docs[1] - rename cli test files for a consistent naming style - remove empty test files [1]: http://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules Change-Id: Idfb5d8a8fb7a590ef988a761991b8e313089e9bc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-15Implement logfile collector and grep parserYujun Zhang4-0/+82
JIRA: QTIP-207 JIRA: QTIP-208 Change-Id: Icc14d3097fb305e59df716636ef87504490c9d1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-02-07Add unit test for BaseTransformerYujun Zhang2-0/+15
Change-Id: Ia379af759d9442f5b53f5052682e6218acef8a1b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>