summaryrefslogtreecommitdiff
path: root/decoder/test/rgb_led_ws281x/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/test/rgb_led_ws281x/test.conf')
-rw-r--r--decoder/test/rgb_led_ws281x/test.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/decoder/test/rgb_led_ws281x/test.conf b/decoder/test/rgb_led_ws281x/test.conf
new file mode 100644
index 0000000..82fbebb
--- /dev/null
+++ b/decoder/test/rgb_led_ws281x/test.conf
@@ -0,0 +1,24 @@
+test exception_samplerate
+ protocol-decoder rgb_led_ws281x
+ input misc/no-samplerate.sr
+ output rgb_led_ws281x exception match SamplerateError
+
+test ws281x_4ch_5mhz_snippet_ch0
+ protocol-decoder rgb_led_ws281x channel din=0
+ input led/ws281x/ws281x_4ch_5mhz_snippet.sr
+ output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch0.output
+
+test ws281x_4ch_5mhz_snippet_ch1
+ protocol-decoder rgb_led_ws281x channel din=1
+ input led/ws281x/ws281x_4ch_5mhz_snippet.sr
+ output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch1.output
+
+test ws281x_4ch_5mhz_snippet_ch2
+ protocol-decoder rgb_led_ws281x channel din=2
+ input led/ws281x/ws281x_4ch_5mhz_snippet.sr
+ output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch2.output
+
+test ws281x_4ch_5mhz_snippet_ch3
+ protocol-decoder rgb_led_ws281x channel din=3
+ input led/ws281x/ws281x_4ch_5mhz_snippet.sr
+ output rgb_led_ws281x annotation match ws281x_4ch_5mhz_snippet_ch3.output