Bug 10773

Summary: QA Bitbake: extend coverage for event unit test
Product: [QA/Testing] Test Plans/Suite Reporter: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia>
Component: test-plans/suiteAssignee: yeoh ee peng <ee.peng.yeoh>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: benjamin.esquivel, corneliux.stoicescu, jair.de.jesus.gonzalez.plascencia, poky.bs.watcher, poky.watcher, richard.purdie
Version: 2.3   
Target Milestone: 2.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 10368    
Bug Blocks:    
Attachments:
Description Flags
bitbake_events none

Description Jair Gonzalez 2016-12-06 21:01:24 UTC
Increase the coverage of unit tests created on Bug 10368.
Comment 1 Benjamin Esquivel 2016-12-08 15:56:27 UTC
Jair, in order for this bug to not look as a duplicate of bug 10368, it is required to describe which areas is the testing going to be extended to. Setting it as NEEDINFO for you to describe those.
Comment 2 Jair Gonzalez 2016-12-09 17:37:06 UTC
Bug 10368 has been split in two tasks. The original bug 10368 will track the server and client doubles setup and the creation of basic functionality tests covering the main communication methods and at least three events. Bug 10733 will be used to track extending and completing the bb event module's test coverage.
Comment 3 Jair Gonzalez 2016-12-15 05:03:05 UTC
Created attachment 3562 [details]
bitbake_events
Comment 4 Jair Gonzalez 2016-12-15 05:04:34 UTC
This enhancemet bug will include the following items:
- Extending coverage of the event unit test created on bug 10368 to include the remaining module's functions and helper classes including:
	- set_eventfilter(func)
	- set_UIHmask(handlerNum, level, debug_domains, mask)
	- getName(e)
	- class UIEventFilter(object)
		def __init__(self, level, debug_domains)
		def update(self, eventmask, level, debug_domains)
		def filter(self, event)
	- Testing event handling with the attached event classes
Comment 5 Benjamin Esquivel 2016-12-21 21:19:49 UTC
Fixing some misfiled fields in the bug.
Comment 6 Jair Gonzalez 2017-06-05 21:02:35 UTC
Moving this item to M2 as it depends on 10368, whose integration is pending (currently targeted for M1).
Comment 7 Jair Gonzalez 2017-07-21 00:21:36 UTC
Moving to M3 as the patch-set wasn't ready for M2.
Comment 8 Jair Gonzalez 2017-08-17 23:35:43 UTC
Patch-set has been submitted to http://lists.openembedded.org/pipermail/bitbake-devel/2017-August/008908.html
Comment 9 Jair Gonzalez 2017-08-29 21:42:31 UTC
This wasn't integrated on 2.4 M3. Moving the target to 2.5 M1.
Comment 10 Jair Gonzalez 2017-12-08 21:27:21 UTC
Sent a reminder for integrating this series on http://lists.openembedded.org/pipermail/bitbake-devel/2017-December/009129.html