summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authorstephan.thiele <stephan.thiele@mailbox.org>2019-11-10 17:50:10 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-29 19:58:02 +0100
commitab8b0a8ff039e26d6a5223609b14132f563bbcbe (patch)
tree068f3302df615187e7d3aafe19dd714f3e7fc4a6 /decoder
parentb5cd95d5e3e771fdcb27efbf6f2d9da5241563f1 (diff)
downloadsigrok-test-ab8b0a8ff039e26d6a5223609b14132f563bbcbe.tar.gz
sigrok-test-ab8b0a8ff039e26d6a5223609b14132f563bbcbe.zip
lin: Update test-cases after UART idle frame detection was added
Diffstat (limited to 'decoder')
-rw-r--r--decoder/test/lin/lin_generated_burst.output5
-rw-r--r--decoder/test/lin/lin_generated_malformed.output5
-rw-r--r--decoder/test/lin/lin_generated_malformed2.output5
-rw-r--r--decoder/test/lin/lin_generated_single_frame.output5
4 files changed, 20 insertions, 0 deletions
diff --git a/decoder/test/lin/lin_generated_burst.output b/decoder/test/lin/lin_generated_burst.output
index 8739db8..ff4157f 100644
--- a/decoder/test/lin/lin_generated_burst.output
+++ b/decoder/test/lin/lin_generated_burst.output
@@ -53,3 +53,8 @@
34353-34771 lin: data: "Data: 0x22" "D: 0x22"
34976-35394 lin: data: "Checksum: 0x29" "Checksum" "Chk" "C"
35557-36236 lin: control: "Break condition" "Break" "Brk" "B"
+36394-36812 lin: data: "Sync" "S"
+37021-37439 lin: data: "ID: 23 Parity: 2 (ok)" "ID: 0x23" "I: 35"
+37663-38081 lin: data: "Data: 0x11" "D: 0x11"
+38290-38708 lin: data: "Data: 0x22" "D: 0x22"
+38914-39332 lin: data: "Checksum: 0x29" "Checksum" "Chk" "C"
diff --git a/decoder/test/lin/lin_generated_malformed.output b/decoder/test/lin/lin_generated_malformed.output
index 4374225..c2dd1a5 100644
--- a/decoder/test/lin/lin_generated_malformed.output
+++ b/decoder/test/lin/lin_generated_malformed.output
@@ -32,3 +32,8 @@
5079182-5100016 lin: data: "Sync" "S"
5114286-5135120 lin: data: "ID: 23 Parity: 2 (ok)" "ID: 0x23" "I: 35"
5285288-5321580 lin: control: "Break condition" "Break" "Brk" "B"
+5332714-5353548 lin: data: "Sync" "S"
+5367819-5388653 lin: data: "ID: 23 Parity: 2 (ok)" "ID: 0x23" "I: 35"
+5395657-5416491 lin: data: "Data: 0x00" "D: 0x00"
+5424261-5445095 lin: data: "Data: 0x00" "D: 0x00"
+5452865-5473699 lin: data: "Checksum: 0x5C" "Checksum" "Chk" "C"
diff --git a/decoder/test/lin/lin_generated_malformed2.output b/decoder/test/lin/lin_generated_malformed2.output
index 64854f7..1b0ac3e 100644
--- a/decoder/test/lin/lin_generated_malformed2.output
+++ b/decoder/test/lin/lin_generated_malformed2.output
@@ -717,3 +717,8 @@
9908883-9913050 lin: data: "Sync" "S"
9915904-9920071 lin: data: "ID: 23 Parity: 2 (ok)" "ID: 0x23" "I: 35"
9950232-9957494 lin: control: "Break condition" "Break" "Brk" "B"
+9959850-9964017 lin: data: "Sync" "S"
+9966871-9971038 lin: data: "ID: 23 Parity: 2 (ok)" "ID: 0x23" "I: 35"
+9972459-9976626 lin: data: "Data: 0x23" "D: 0x23"
+9978180-9982347 lin: data: "Data: 0x42" "D: 0x42"
+9983901-9988068 lin: data: "Checksum: 0xF6" "Checksum" "Chk" "C"
diff --git a/decoder/test/lin/lin_generated_single_frame.output b/decoder/test/lin/lin_generated_single_frame.output
index 739324f..27ca9f0 100644
--- a/decoder/test/lin/lin_generated_single_frame.output
+++ b/decoder/test/lin/lin_generated_single_frame.output
@@ -1 +1,6 @@
1983069-1990344 lin: control: "Break condition" "Break" "Brk" "B"
+1992540-1996707 lin: data: "Sync" "S"
+1999561-2003728 lin: data: "ID: 01 Parity: 3 (ok)" "ID: 0x01" "I: 1"
+2005061-2009228 lin: data: "Data: 0x11" "D: 0x11"
+2010782-2014949 lin: data: "Data: 0x11" "D: 0x11"
+2016502-2020669 lin: data: "Checksum: 0x1C" "Checksum" "Chk" "C"