]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/i2c/test/test.conf
i2c: Generate proper exception for missing samplerate, and test for it.
[libsigrokdecode.git] / decoders / i2c / test / test.conf
index bd1068beff4b3bb5f2fd8fff6d3fde42ead325a0..5c08e1d517b70b9317b5a37d2fde0a06781ac887 100644 (file)
@@ -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
+