Functions
stdbin_decoder.test.cc File Reference
#include <gtest/gtest.h>
#include <ixblue_stdbin_decoder/stdbin_decoder.h>
#include "datasets/log_STDBIN_V2.h"
#include "datasets/log_STDBIN_V3.h"
#include "datasets/log_STDBIN_V4.h"
#include "datasets/log_STDBIN_V5.h"
#include "feature_test/TestStdBinDecoderErrorRecovery.h"
Include dependency graph for stdbin_decoder.test.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
 TEST (StdBinDecoder, WeCannotParseAFrameWithSomeMissingFields)
 
 TEST (StdBinDecoder, WeCanParseAMinimalV2Frame)
 
 TEST (StdBinDecoder, WeCanParseV2Protocol)
 
 TEST (StdBinDecoder, WeCanParseV2ProtocolReceivedInTwoPartsWhereverCutpointIs)
 
 TEST (StdBinDecoder, WeCanParseV2ProtocolReceivedWithGarbageAtFront)
 
 TEST (StdBinDecoder, WeCanParse2FramesInTheSameBufferWithGarbageOnFront)
 
 TEST (StdBinDecoder, WeCanParseV3Protocol)
 
 TEST (StdBinDecoder, WeCanParseV4Protocol)
 
 TEST (StdBinDecoder, WeCanParseV5Protocol)
 
 TEST (StdBinDecoder, WeCanParseAnAnswerFrame)
 
 TEST_F (TestStdBinDecoderErrorRecovery, RecoveryFromBadCheckSum)
 
 TEST_F (TestStdBinDecoderErrorRecovery, RecoveryFromBadNavProtocolVersion)
 
 TEST_F (TestStdBinDecoderErrorRecovery, RecoveryFromBadAnswerProtocolVersion)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 1178 of file stdbin_decoder.test.cc.

◆ TEST() [1/10]

TEST ( StdBinDecoder  ,
WeCannotParseAFrameWithSomeMissingFields   
)

Definition at line 37 of file stdbin_decoder.test.cc.

◆ TEST() [2/10]

TEST ( StdBinDecoder  ,
WeCanParseAMinimalV2Frame   
)

Definition at line 61 of file stdbin_decoder.test.cc.

◆ TEST() [3/10]

TEST ( StdBinDecoder  ,
WeCanParseV2Protocol   
)

Definition at line 91 of file stdbin_decoder.test.cc.

◆ TEST() [4/10]

TEST ( StdBinDecoder  ,
WeCanParseV2ProtocolReceivedInTwoPartsWhereverCutpointIs   
)

Definition at line 231 of file stdbin_decoder.test.cc.

◆ TEST() [5/10]

TEST ( StdBinDecoder  ,
WeCanParseV2ProtocolReceivedWithGarbageAtFront   
)

Definition at line 259 of file stdbin_decoder.test.cc.

◆ TEST() [6/10]

TEST ( StdBinDecoder  ,
WeCanParse2FramesInTheSameBufferWithGarbageOnFront   
)

Definition at line 280 of file stdbin_decoder.test.cc.

◆ TEST() [7/10]

TEST ( StdBinDecoder  ,
WeCanParseV3Protocol   
)

Definition at line 307 of file stdbin_decoder.test.cc.

◆ TEST() [8/10]

TEST ( StdBinDecoder  ,
WeCanParseV4Protocol   
)

Definition at line 649 of file stdbin_decoder.test.cc.

◆ TEST() [9/10]

TEST ( StdBinDecoder  ,
WeCanParseV5Protocol   
)

Definition at line 901 of file stdbin_decoder.test.cc.

◆ TEST() [10/10]

TEST ( StdBinDecoder  ,
WeCanParseAnAnswerFrame   
)

Definition at line 1153 of file stdbin_decoder.test.cc.

◆ TEST_F() [1/3]

TEST_F ( TestStdBinDecoderErrorRecovery  ,
RecoveryFromBadCheckSum   
)

Definition at line 11 of file stdbin_decoder.test.cc.

◆ TEST_F() [2/3]

TEST_F ( TestStdBinDecoderErrorRecovery  ,
RecoveryFromBadNavProtocolVersion   
)

Definition at line 19 of file stdbin_decoder.test.cc.

◆ TEST_F() [3/3]

TEST_F ( TestStdBinDecoderErrorRecovery  ,
RecoveryFromBadAnswerProtocolVersion   
)

Definition at line 28 of file stdbin_decoder.test.cc.



ixblue_stdbin_decoder
Author(s): Adrien BARRAL , Laure LEBROTON
autogenerated on Wed Apr 6 2022 02:22:12