usb_power_delivery: Add SamplerateError check.
[sigrok-test.git] / decoder / test / usb_power_delivery / test.conf
1 test exception_samplerate
2         protocol-decoder usb_power_delivery
3         input misc/no-samplerate.sr
4         output usb_power_delivery exception match SamplerateError
5
6 test pixel2015_supply
7         protocol-decoder usb_power_delivery channel cc=0 option fulltext=yes
8         input usb_power_delivery/pixel_2015/power_supply_20V.sr
9         output usb_power_delivery annotation match pixel2015_supply.output
10         output usb_power_delivery binary class raw-data match pixel2015_supply.bin_raw_data
11
12 test pixel2015_hdmi
13         protocol-decoder usb_power_delivery channel cc=1 option fulltext=yes
14         input usb_power_delivery/pixel_2015/hdmi_dongle.sr
15         output usb_power_delivery annotation match pixel2015_hdmi.output
16         output usb_power_delivery binary class raw-data match pixel2015_hdmi.bin_raw_data
17
18 test macbook2015_supply
19         protocol-decoder usb_power_delivery channel cc=0 option fulltext=yes
20         input usb_power_delivery/macbook_2015/apple_power_brick.sr
21         output usb_power_delivery annotation match macbook2015_supply.output
22         output usb_power_delivery binary class raw-data match macbook2015_supply.bin_raw_data
23
24 test macbook2015_hdmi
25         protocol-decoder usb_power_delivery channel cc=0 option fulltext=yes
26         input usb_power_delivery/macbook_2015/apple_av_hdmi.sr
27         output usb_power_delivery annotation match macbook2015_hdmi.output
28         output usb_power_delivery binary class raw-data match macbook2015_hdmi.bin_raw_data