]> sigrok.org Git - sigrok-test.git/blob - decoder/test/rgb_led_ws281x/test.conf
rgb_led_ws281x: Add a few test-cases.
[sigrok-test.git] / decoder / test / rgb_led_ws281x / test.conf
1 test exception_samplerate
2         protocol-decoder rgb_led_ws281x
3         input misc/no-samplerate.sr
4         output rgb_led_ws281x exception match SamplerateError
5
6 test ws281x_4ch_5mhz_snippet_ch0
7         protocol-decoder rgb_led_ws281x channel din=0
8         input led/ws281x/ws281x_4ch_5mhz_snippet.sr
9         output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch0.output
10
11 test ws281x_4ch_5mhz_snippet_ch1
12         protocol-decoder rgb_led_ws281x channel din=1
13         input led/ws281x/ws281x_4ch_5mhz_snippet.sr
14         output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch1.output
15
16 test ws281x_4ch_5mhz_snippet_ch2
17         protocol-decoder rgb_led_ws281x channel din=2
18         input led/ws281x/ws281x_4ch_5mhz_snippet.sr
19         output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch2.output
20
21 test ws281x_4ch_5mhz_snippet_ch3
22         protocol-decoder rgb_led_ws281x channel din=3
23         input led/ws281x/ws281x_4ch_5mhz_snippet.sr
24         output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch3.output