test: dm: pci: Add cases for finding next PCI capability APIs
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:22 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
commit7a20614eb292c48b4a42c3b5314b26d975aa84b4
treeb4640aef36e084ce1749e3ec72a0ce34c301d3bc
parenta8c5f8d3d02807f72d048950d72b0c73d55bd7fb
test: dm: pci: Add cases for finding next PCI capability APIs

Add test cases to cover the two newly added PCI APIs:
dm_pci_find_next_capability() & dm_pci_find_next_ext_capability().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/misc/swap_case.c
test/dm/pci.c