From ab8b0a8ff039e26d6a5223609b14132f563bbcbe Mon Sep 17 00:00:00 2001 From: "stephan.thiele" Date: Sun, 10 Nov 2019 17:50:10 +0100 Subject: [PATCH] lin: Update test-cases after UART idle frame detection was added --- decoder/test/lin/lin_generated_burst.output | 5 +++++ decoder/test/lin/lin_generated_malformed.output | 5 +++++ decoder/test/lin/lin_generated_malformed2.output | 5 +++++ decoder/test/lin/lin_generated_single_frame.output | 5 +++++ 4 files changed, 20 insertions(+) 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" -- 2.30.2