From d2bdb1303679b97c3de5ce2d2d1f2b62c9828a3a Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Mon, 23 Jun 2014 19:52:45 +0200 Subject: i2c: Generate proper exception for missing samplerate, and test for it. Also remove some dead code. --- decoders/i2c/test/test.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'decoders/i2c/test/test.conf') diff --git a/decoders/i2c/test/test.conf b/decoders/i2c/test/test.conf index bd1068b..5c08e1d 100644 --- a/decoders/i2c/test/test.conf +++ b/decoders/i2c/test/test.conf @@ -20,3 +20,8 @@ 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 + protocol-decoder i2c + input misc/no-samplerate.sr + output i2c exception match SamplerateError + -- cgit v1.2.3-70-g09d2