diff options
author | Bert Vermeulen <bert@biot.com> | 2014-06-23 19:52:45 +0200 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2014-06-23 19:52:45 +0200 |
commit | d2bdb1303679b97c3de5ce2d2d1f2b62c9828a3a (patch) | |
tree | 87afcf696b2a0f550367b3ff3f13259f03cfbb73 /decoders/i2c/test/test.conf | |
parent | d510f7b3d5d03c6fca5b6af4e184dc2f46da9a1a (diff) | |
download | libsigrokdecode-d2bdb1303679b97c3de5ce2d2d1f2b62c9828a3a.tar.gz libsigrokdecode-d2bdb1303679b97c3de5ce2d2d1f2b62c9828a3a.zip |
i2c: Generate proper exception for missing samplerate, and test for it.
Also remove some dead code.
Diffstat (limited to 'decoders/i2c/test/test.conf')
-rw-r--r-- | decoders/i2c/test/test.conf | 5 |
1 files changed, 5 insertions, 0 deletions
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 + |