[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] test: QOM interface casting
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v2] test: QOM interface casting |
Date: |
Tue, 24 Dec 2013 01:21:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Am 20.12.2013 22:14, schrieb Igor Mammedov:
> Add basic regression testing for QOM Interface usage.
> Test checks casting to interface type/class for following cases:
> - interface implementation in leaf class
> - interface implementation in intermediate (parent) class
>
> Signed-off-by: Igor Mammedov <address@hidden>
> ---
> - Peter Crosthwaite <address@hidden>
> * s/Parent/parent_obj/
> * s/parent/parent_class/
> - Peter Maydell <address@hidden>
> * s/interfacei/interface/
> * s/OQM/QOM/ typo
> * tests/Makefile split too long line
> - Andreas Färber <address@hidden>
> * consolidate QOM core object files in dedicated variable
> * add SoB and commit message
> * fix copy/past errors in tests/Makefile
> * prefix test names with "/qom/interface/"
> * s/ico/ioc/
> * add extra spacing
> ---
> tests/Makefile | 6 ++-
> tests/check-qom-interface.c | 105
> +++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 110 insertions(+), 1 deletions(-)
> create mode 100644 tests/check-qom-interface.c
Thanks, queued after the squashed interface fixes:
https://github.com/afaerber/qemu-cpu/commits/qom-next
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg