summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/can/test/test.conf5
-rw-r--r--decoders/dcf77/test/test.conf5
-rw-r--r--decoders/guess_bitrate/test/test.conf5
-rw-r--r--decoders/i2c/test/test.conf2
-rw-r--r--decoders/i2s/test/test.conf5
-rw-r--r--decoders/ir_nec/test/test.conf5
-rw-r--r--decoders/ir_rc5/test/test.conf5
-rw-r--r--decoders/onewire_link/test/test.conf5
-rw-r--r--decoders/uart/test/test.conf5
-rw-r--r--decoders/usb_signalling/test/test.conf5
10 files changed, 46 insertions, 1 deletions
diff --git a/decoders/can/test/test.conf b/decoders/can/test/test.conf
new file mode 100644
index 0000000..cebcb17
--- /dev/null
+++ b/decoders/can/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder can
+ input misc/no-samplerate.sr
+ output can exception match SamplerateError
+
diff --git a/decoders/dcf77/test/test.conf b/decoders/dcf77/test/test.conf
new file mode 100644
index 0000000..95c2c81
--- /dev/null
+++ b/decoders/dcf77/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder dcf77
+ input misc/no-samplerate.sr
+ output dcf77 exception match SamplerateError
+
diff --git a/decoders/guess_bitrate/test/test.conf b/decoders/guess_bitrate/test/test.conf
new file mode 100644
index 0000000..2f7e2d6
--- /dev/null
+++ b/decoders/guess_bitrate/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder guess_bitrate
+ input misc/no-samplerate.sr
+ output guess_bitrate exception match SamplerateError
+
diff --git a/decoders/i2c/test/test.conf b/decoders/i2c/test/test.conf
index 5c08e1d..e383f5f 100644
--- a/decoders/i2c/test/test.conf
+++ b/decoders/i2c/test/test.conf
@@ -20,7 +20,7 @@ test xfp
output i2c binary class address-read match xfp_address_read.binary
output i2c binary class address-write match xfp_address_write.binary
-test exceptions
+test exception_samplerate
protocol-decoder i2c
input misc/no-samplerate.sr
output i2c exception match SamplerateError
diff --git a/decoders/i2s/test/test.conf b/decoders/i2s/test/test.conf
new file mode 100644
index 0000000..a913d61
--- /dev/null
+++ b/decoders/i2s/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder i2s
+ input misc/no-samplerate.sr
+ output i2s exception match SamplerateError
+
diff --git a/decoders/ir_nec/test/test.conf b/decoders/ir_nec/test/test.conf
new file mode 100644
index 0000000..eee3d87
--- /dev/null
+++ b/decoders/ir_nec/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder ir_nec
+ input misc/no-samplerate.sr
+ output ir_nec exception match SamplerateError
+
diff --git a/decoders/ir_rc5/test/test.conf b/decoders/ir_rc5/test/test.conf
new file mode 100644
index 0000000..5d5dfa0
--- /dev/null
+++ b/decoders/ir_rc5/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder ir_rc5
+ input misc/no-samplerate.sr
+ output ir_rc5 exception match SamplerateError
+
diff --git a/decoders/onewire_link/test/test.conf b/decoders/onewire_link/test/test.conf
new file mode 100644
index 0000000..75349c2
--- /dev/null
+++ b/decoders/onewire_link/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder onewire_link
+ input misc/no-samplerate.sr
+ output onewire_link exception match SamplerateError
+
diff --git a/decoders/uart/test/test.conf b/decoders/uart/test/test.conf
index f15b04b..a071c62 100644
--- a/decoders/uart/test/test.conf
+++ b/decoders/uart/test/test.conf
@@ -8,3 +8,8 @@ test trekstor_ebr30_a
output uart binary class tx match trekstor_bin_tx.output
output uart binary class rxtx match trekstor_bin_rx.output
+test exception_samplerate
+ protocol-decoder uart
+ input misc/no-samplerate.sr
+ output uart exception match SamplerateError
+
diff --git a/decoders/usb_signalling/test/test.conf b/decoders/usb_signalling/test/test.conf
new file mode 100644
index 0000000..0ae9f5e
--- /dev/null
+++ b/decoders/usb_signalling/test/test.conf
@@ -0,0 +1,5 @@
+test exception_samplerate
+ protocol-decoder usb_signalling
+ input misc/no-samplerate.sr
+ output usb_signalling exception match SamplerateError
+