dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UnitTests

Unit test. More...

Data Structures

class  CoordConversion
 
class  RneFromLLATest
 
class  QuatRPYTest
 
class  DsmTest
 
class  LogfsTestRaw
 
class  LogfsTestCooked
 
class  LogfsTestCookedMultiPart
 
class  MiscMath
 
class  BoundMinMax
 
class  BoundSym
 
class  CircularModulusDeg
 
class  Vector2Clip
 
class  LinearInterpolate
 
class  MatrixMath
 
class  Time
 

Macros

#define OBJ0_ID   0xAA55AA55
 
#define OBJ1_ID   0x12345678
 
#define OBJ1_SIZE   76
 
#define OBJ2_ID   0xABCDEFAB
 
#define OBJ2_SIZE   123
 
#define OBJ3_ID   0x99999999
 
#define OBJ3_SIZE   (256 - 12)
 
#define OBJ4_ID   0x90901111
 
#define OBJ4_SIZE   (768)
 
#define restrict   /* neuter restrict keyword since it's not in C++ */
 
#define PSEUDOINV_CONVERGE_LIMIT   19
 

Functions

virtual void CoordConversion::SetUp ()
 
virtual void CoordConversion::TearDown ()
 
virtual void RneFromLLATest::SetUp ()
 
virtual void RneFromLLATest::TearDown ()
 
 TEST_F (RneFromLLATest, Equator)
 
virtual void QuatRPYTest::SetUp ()
 
virtual void QuatRPYTest::TearDown ()
 
 TEST_F (QuatRPYTest, BackAndForth)
 
int PIOS_DSM_Reset (struct pios_dsm_dev *dsm_dev)
 
int PIOS_DSM_GetResolution (struct pios_dsm_dev *dsm_dev)
 
virtual void DsmTest::SetUp ()
 
virtual void DsmTest::TearDown ()
 
void DsmTest::pack_channels_10bit (uint16_t channels[DSM_CHANNELS_PER_FRAME], struct pios_dsm_state *state, bool frame)
 pack data into DSM2 10 bit packets More...
 
void DsmTest::pack_channels_11bit (uint16_t channels[DSM_CHANNELS_PER_FRAME], struct pios_dsm_state *state, bool frame)
 pack data into DSM2 11 bit packets More...
 
int DsmTest::validate_file (const char *fn, int resolution, int channels, bool skip)
 
int DsmTest::get_packet (FILE *fid, uint8_t *buf)
 
void verify_channels (uint16_t *c1, uint16_t *c2)
 
 TEST_F (DsmTest, Invalid)
 
 TEST_F (DsmTest, DSM_10BIT)
 
 TEST_F (DsmTest, DSM_11BIT)
 
 TEST_F (DsmTest, DX7_DSM2_11ms_odd)
 
 TEST_F (DsmTest, DX7_DSM2_11ms_even)
 
 TEST_F (DsmTest, DX7_DSM2_22ms_odd)
 
 TEST_F (DsmTest, DX7_DSM2_22ms_even)
 
 TEST_F (DsmTest, DX7_DSMX_11ms_odd)
 
 TEST_F (DsmTest, DX7_DSMX_11ms_even)
 
 TEST_F (DsmTest, DX7_DSMX_22ms_odd)
 
 TEST_F (DsmTest, DX7_DSMX_22ms_even)
 
 TEST_F (DsmTest, DX18_DSM2_2048_odd)
 
 TEST_F (DsmTest, DX18_DSM2_2048_even)
 
 TEST_F (DsmTest, DX18_DSM2_1024_odd)
 
 TEST_F (DsmTest, DX18_DSM2_1024_even)
 
 TEST_F (DsmTest, DX18_DSM2_XPlus_1024_odd)
 
 TEST_F (DsmTest, DX18_DSM2_XPlus_1024_even)
 
 TEST_F (DsmTest, DX18_DSMX_22ms_odd)
 
 TEST_F (DsmTest, DX18_DSMX_22ms_even)
 
 TEST_F (DsmTest, DX18_DSMX_11ms_odd)
 
 TEST_F (DsmTest, DX18_DSMX_11ms_even)
 
 TEST_F (DsmTest, DX18_DSMX_22ms_XPlus_odd)
 
 TEST_F (DsmTest, DX18_DSMX_22ms_XPlus_even)
 
 TEST_F (DsmTest, DX7_DSM2_10BIT)
 
virtual void LogfsTestRaw::SetUp ()
 
virtual void LogfsTestRaw::TearDown ()
 
 TEST_F (LogfsTestRaw, FlashInit)
 
 TEST_F (LogfsTestRaw, LogfsInit)
 
virtual void LogfsTestCooked::SetUp ()
 
virtual void LogfsTestCooked::TearDown ()
 
 TEST_F (LogfsTestCooked, BadIdLogfsFormat)
 
 TEST_F (LogfsTestCooked, BadIdSave)
 
 TEST_F (LogfsTestCooked, BadIdLoad)
 
 TEST_F (LogfsTestCooked, LogfsFormat)
 
 TEST_F (LogfsTestCooked, WriteOne)
 
 TEST_F (LogfsTestCooked, WriteVerifyOne)
 
 TEST_F (LogfsTestCooked, WriteVerifyDeleteVerifyOne)
 
 TEST_F (LogfsTestCooked, WriteTwoVerifyOneA)
 
 TEST_F (LogfsTestCooked, WriteTwoVerifyOneB)
 
 TEST_F (LogfsTestCooked, WriteZeroSize)
 
 TEST_F (LogfsTestCooked, WriteVerifyZeroLength)
 
 TEST_F (LogfsTestCooked, WriteMaxSize)
 
 TEST_F (LogfsTestCooked, ReadNonexistent)
 
 TEST_F (LogfsTestCooked, WriteVerifyMultiInstance)
 
 TEST_F (LogfsTestCooked, FillFilesystemAndGarbageCollect)
 
 TEST_F (LogfsTestCooked, WriteManyVerify)
 
virtual void LogfsTestCookedMultiPart::SetUp ()
 
virtual void LogfsTestCookedMultiPart::TearDown ()
 
 TEST_F (LogfsTestCookedMultiPart, WriteOneWriteOneVerify)
 
 TEST_F (LogfsTestCookedMultiPart, WriteOneWriteOneFormatOneVerify)
 
 TEST_F (LogfsTestCookedMultiPart, WriteOneWriteOneNoCross)
 
 TEST_F (LogfsTestCookedMultiPart, WriteOneWriteOneDeleteOne)
 
 TEST_F (LogfsTestCookedMultiPart, WriteLarge)
 
virtual void MiscMath::SetUp ()
 
virtual void MiscMath::TearDown ()
 
virtual void BoundMinMax::SetUp ()
 
virtual void BoundMinMax::TearDown ()
 
 TEST_F (BoundMinMax, ValBelowZeroRange)
 
 TEST_F (BoundMinMax, ValWithinZeroRange)
 
 TEST_F (BoundMinMax, ValAboveZeroRange)
 
 TEST_F (BoundMinMax, PositiveMinMax)
 
 TEST_F (BoundMinMax, NegativeMinMax)
 
 TEST_F (BoundMinMax, StraddleZeroMinMax)
 
virtual void BoundSym::SetUp ()
 
virtual void BoundSym::TearDown ()
 
 TEST_F (BoundSym, ZeroRange)
 
 TEST_F (BoundSym, NonZeroRange)
 
virtual void CircularModulusDeg::SetUp ()
 
virtual void CircularModulusDeg::TearDown ()
 
 TEST_F (CircularModulusDeg, NullError)
 
 TEST_F (CircularModulusDeg, MaxPosError)
 
 TEST_F (CircularModulusDeg, MaxNegError)
 
 TEST_F (CircularModulusDeg, SweepError)
 
virtual void Vector2Clip::SetUp ()
 
virtual void Vector2Clip::TearDown ()
 
 TEST_F (Vector2Clip, TestScale)
 
virtual void LinearInterpolate::SetUp ()
 
virtual void LinearInterpolate::TearDown ()
 
 TEST_F (LinearInterpolate, ThrottleCurve1to1)
 
 TEST_F (LinearInterpolate, CollectiveCurve1to1)
 
virtual void MatrixMath::SetUp ()
 
virtual void MatrixMath::TearDown ()
 
 TEST_F (MatrixMath, MultipliesAndInverses)
 
 TEST_F (MatrixMath, MixerMatrixInverses)
 
virtual void Time::SetUp ()
 
virtual void Time::TearDown ()
 
 TEST_F (Time, DateSweep)
 

Variables

struct pios_dsm_state * DsmTest::state
 
struct pios_dsm_dev DsmTest::dev
 
const int idx11 [] = {1,5,2,3,0,7,6,1,5,2,3,4,8,9}
 
const int idx10 [] = {1,5,4,2,6,0,3,1,5,4,2,6,0,3}
 
const struct pios_flash_partition pios_flash_partition_table []
 
uint32_t pios_flash_partition_table_size
 
uintptr_t pios_posix_flash_id
 
struct pios_flash_posix_cfg flash_config
 
struct flashfs_logfs_cfg flashfs_config_settings
 
struct flashfs_logfs_cfg flashfs_config_waypoints
 
unsigned char LogfsTestRaw::obj1 [OBJ1_SIZE]
 
unsigned char LogfsTestRaw::obj1_alt [OBJ1_SIZE]
 
unsigned char LogfsTestRaw::obj2 [OBJ2_SIZE]
 
unsigned char LogfsTestRaw::obj3 [OBJ3_SIZE]
 
unsigned char LogfsTestRaw::obj4 [OBJ4_SIZE]
 
uintptr_t LogfsTestCooked::fs_id
 
uintptr_t LogfsTestCookedMultiPart::fs_id_a
 
uintptr_t LogfsTestCookedMultiPart::fs_id_b
 

Detailed Description

Unit test.

Macro Definition Documentation

#define OBJ0_ID   0xAA55AA55

Definition at line 63 of file unittest.cpp.

#define OBJ1_ID   0x12345678

Definition at line 65 of file unittest.cpp.

#define OBJ1_SIZE   76

Definition at line 66 of file unittest.cpp.

#define OBJ2_ID   0xABCDEFAB

Definition at line 68 of file unittest.cpp.

#define OBJ2_SIZE   123

Definition at line 69 of file unittest.cpp.

#define OBJ3_ID   0x99999999

Definition at line 71 of file unittest.cpp.

#define OBJ3_SIZE   (256 - 12)

Definition at line 72 of file unittest.cpp.

#define OBJ4_ID   0x90901111

Definition at line 74 of file unittest.cpp.

#define OBJ4_SIZE   (768)

Definition at line 75 of file unittest.cpp.

#define PSEUDOINV_CONVERGE_LIMIT   19

Definition at line 44 of file unittest.cpp.

#define restrict   /* neuter restrict keyword since it's not in C++ */

Definition at line 41 of file unittest.cpp.

Function Documentation

int DsmTest::get_packet ( FILE *  fid,
uint8_t *  buf 
)
protected

Definition at line 148 of file unittest.cpp.

void DsmTest::pack_channels_10bit ( uint16_t  channels[DSM_CHANNELS_PER_FRAME],
struct pios_dsm_state *  state,
bool  frame 
)
protected

pack data into DSM2 10 bit packets

Definition at line 88 of file unittest.cpp.

void DsmTest::pack_channels_11bit ( uint16_t  channels[DSM_CHANNELS_PER_FRAME],
struct pios_dsm_state *  state,
bool  frame 
)
protected

pack data into DSM2 11 bit packets

Definition at line 100 of file unittest.cpp.

int PIOS_DSM_GetResolution ( struct pios_dsm_dev *  dsm_dev)

Definition at line 55 of file unittest.cpp.

int PIOS_DSM_Reset ( struct pios_dsm_dev *  dsm_dev)

Definition at line 44 of file unittest.cpp.

virtual void Time::SetUp ( )
inlineprotectedvirtual

Definition at line 50 of file unittest.cpp.

virtual void CoordConversion::SetUp ( )
inlineprotectedvirtual

Reimplemented in QuatRPYTest, and RneFromLLATest.

Definition at line 51 of file unittest.cpp.

virtual void MiscMath::SetUp ( )
inlineprotectedvirtual

Reimplemented in MatrixMath, LinearInterpolate, Vector2Clip, CircularModulusDeg, BoundSym, and BoundMinMax.

Definition at line 55 of file unittest.cpp.

virtual void RneFromLLATest::SetUp ( )
inlineprotectedvirtual

Reimplemented from CoordConversion.

Definition at line 61 of file unittest.cpp.

virtual void BoundMinMax::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 65 of file unittest.cpp.

virtual void DsmTest::SetUp ( )
inlineprotectedvirtual

Definition at line 69 of file unittest.cpp.

virtual void LogfsTestRaw::SetUp ( )
inlineprotectedvirtual

Reimplemented in LogfsTestCookedMultiPart, and LogfsTestCooked.

Definition at line 80 of file unittest.cpp.

virtual void QuatRPYTest::SetUp ( )
inlineprivatevirtual

Reimplemented from CoordConversion.

Definition at line 89 of file unittest.cpp.

virtual void LogfsTestCooked::SetUp ( )
inlineprotectedvirtual

Reimplemented from LogfsTestRaw.

Definition at line 142 of file unittest.cpp.

virtual void BoundSym::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 144 of file unittest.cpp.

virtual void CircularModulusDeg::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 184 of file unittest.cpp.

virtual void Vector2Clip::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 247 of file unittest.cpp.

virtual void LinearInterpolate::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 299 of file unittest.cpp.

virtual void LogfsTestCookedMultiPart::SetUp ( )
inlineprotectedvirtual

Reimplemented from LogfsTestRaw.

Definition at line 331 of file unittest.cpp.

virtual void MatrixMath::SetUp ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 361 of file unittest.cpp.

virtual void Time::TearDown ( )
inlineprotectedvirtual

Definition at line 53 of file unittest.cpp.

virtual void CoordConversion::TearDown ( )
inlineprotectedvirtual

Reimplemented in QuatRPYTest, and RneFromLLATest.

Definition at line 54 of file unittest.cpp.

virtual void MiscMath::TearDown ( )
inlineprotectedvirtual

Reimplemented in MatrixMath, LinearInterpolate, Vector2Clip, CircularModulusDeg, BoundSym, and BoundMinMax.

Definition at line 58 of file unittest.cpp.

virtual void RneFromLLATest::TearDown ( )
inlineprotectedvirtual

Reimplemented from CoordConversion.

Definition at line 64 of file unittest.cpp.

virtual void BoundMinMax::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 68 of file unittest.cpp.

virtual void DsmTest::TearDown ( )
inlineprotectedvirtual

Definition at line 74 of file unittest.cpp.

virtual void QuatRPYTest::TearDown ( )
inlineprivatevirtual

Reimplemented from CoordConversion.

Definition at line 92 of file unittest.cpp.

virtual void LogfsTestRaw::TearDown ( )
inlineprotectedvirtual

Reimplemented in LogfsTestCookedMultiPart, and LogfsTestCooked.

Definition at line 110 of file unittest.cpp.

virtual void BoundSym::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 147 of file unittest.cpp.

virtual void LogfsTestCooked::TearDown ( )
inlineprotectedvirtual

Reimplemented from LogfsTestRaw.

Definition at line 151 of file unittest.cpp.

virtual void CircularModulusDeg::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 187 of file unittest.cpp.

virtual void Vector2Clip::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 250 of file unittest.cpp.

virtual void LinearInterpolate::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 302 of file unittest.cpp.

virtual void LogfsTestCookedMultiPart::TearDown ( )
inlineprotectedvirtual

Reimplemented from LogfsTestRaw.

Definition at line 341 of file unittest.cpp.

virtual void MatrixMath::TearDown ( )
inlineprotectedvirtual

Reimplemented from MiscMath.

Definition at line 364 of file unittest.cpp.

TEST_F ( Time  ,
DateSweep   
)

Definition at line 57 of file unittest.cpp.

TEST_F ( RneFromLLATest  ,
Equator   
)

Definition at line 68 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
ValBelowZeroRange   
)

Definition at line 72 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
ValWithinZeroRange   
)

Definition at line 79 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
ValAboveZeroRange   
)

Definition at line 86 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
PositiveMinMax   
)

Definition at line 93 of file unittest.cpp.

TEST_F ( QuatRPYTest  ,
BackAndForth   
)

Definition at line 96 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
NegativeMinMax   
)

Definition at line 109 of file unittest.cpp.

TEST_F ( DsmTest  ,
Invalid   
)

Definition at line 118 of file unittest.cpp.

TEST_F ( LogfsTestRaw  ,
FlashInit   
)

Definition at line 121 of file unittest.cpp.

TEST_F ( BoundMinMax  ,
StraddleZeroMinMax   
)

Definition at line 125 of file unittest.cpp.

TEST_F ( DsmTest  ,
DSM_10BIT   
)

Definition at line 126 of file unittest.cpp.

TEST_F ( LogfsTestRaw  ,
LogfsInit   
)

Definition at line 127 of file unittest.cpp.

TEST_F ( DsmTest  ,
DSM_11BIT   
)

Definition at line 137 of file unittest.cpp.

TEST_F ( BoundSym  ,
ZeroRange   
)

Definition at line 151 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
BadIdLogfsFormat   
)

Definition at line 159 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
BadIdSave   
)

Definition at line 163 of file unittest.cpp.

TEST_F ( BoundSym  ,
NonZeroRange   
)

Definition at line 166 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
BadIdLoad   
)

Definition at line 167 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
LogfsFormat   
)

Definition at line 173 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteOne   
)

Definition at line 177 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteVerifyOne   
)

Definition at line 181 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteVerifyDeleteVerifyOne   
)

Definition at line 190 of file unittest.cpp.

TEST_F ( CircularModulusDeg  ,
NullError   
)

Definition at line 191 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteTwoVerifyOneA   
)

Definition at line 203 of file unittest.cpp.

TEST_F ( CircularModulusDeg  ,
MaxPosError   
)

Definition at line 204 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteTwoVerifyOneB   
)

Definition at line 215 of file unittest.cpp.

TEST_F ( CircularModulusDeg  ,
MaxNegError   
)

Definition at line 217 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSM2_11ms_odd   
)

Definition at line 226 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteZeroSize   
)

Definition at line 227 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSM2_11ms_even   
)

Definition at line 230 of file unittest.cpp.

TEST_F ( CircularModulusDeg  ,
SweepError   
)

Definition at line 230 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteVerifyZeroLength   
)

Definition at line 232 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSM2_22ms_odd   
)

Definition at line 234 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSM2_22ms_even   
)

Definition at line 237 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteMaxSize   
)

Definition at line 240 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSMX_11ms_odd   
)

Definition at line 241 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSMX_11ms_even   
)

Definition at line 245 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
ReadNonexistent   
)

Definition at line 245 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSMX_22ms_odd   
)

Definition at line 249 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteVerifyMultiInstance   
)

Definition at line 252 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSMX_22ms_even   
)

Definition at line 253 of file unittest.cpp.

TEST_F ( Vector2Clip  ,
TestScale   
)

Definition at line 254 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_2048_odd   
)

Definition at line 257 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_2048_even   
)

Definition at line 261 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_1024_odd   
)

Definition at line 266 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
FillFilesystemAndGarbageCollect   
)

Definition at line 272 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_1024_even   
)

Definition at line 272 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_XPlus_1024_odd   
)

Definition at line 278 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSM2_XPlus_1024_even   
)

Definition at line 284 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_22ms_odd   
)

Definition at line 290 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_22ms_even   
)

Definition at line 294 of file unittest.cpp.

TEST_F ( LogfsTestCooked  ,
WriteManyVerify   
)

Definition at line 296 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_11ms_odd   
)

Definition at line 298 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_11ms_even   
)

Definition at line 302 of file unittest.cpp.

TEST_F ( LinearInterpolate  ,
ThrottleCurve1to1   
)

Definition at line 306 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_22ms_XPlus_odd   
)

Definition at line 306 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX18_DSMX_22ms_XPlus_even   
)

Definition at line 310 of file unittest.cpp.

TEST_F ( DsmTest  ,
DX7_DSM2_10BIT   
)

Test a file recorded using Sparky2 and a DX7 that was bound with 4 pulses.

Definition at line 318 of file unittest.cpp.

TEST_F ( LinearInterpolate  ,
CollectiveCurve1to1   
)

Definition at line 332 of file unittest.cpp.

TEST_F ( LogfsTestCookedMultiPart  ,
WriteOneWriteOneVerify   
)

Definition at line 351 of file unittest.cpp.

TEST_F ( MatrixMath  ,
MultipliesAndInverses   
)

Definition at line 368 of file unittest.cpp.

TEST_F ( LogfsTestCookedMultiPart  ,
WriteOneWriteOneFormatOneVerify   
)

Definition at line 368 of file unittest.cpp.

TEST_F ( LogfsTestCookedMultiPart  ,
WriteOneWriteOneNoCross   
)

Definition at line 381 of file unittest.cpp.

TEST_F ( LogfsTestCookedMultiPart  ,
WriteOneWriteOneDeleteOne   
)

Definition at line 396 of file unittest.cpp.

TEST_F ( LogfsTestCookedMultiPart  ,
WriteLarge   
)

Definition at line 413 of file unittest.cpp.

TEST_F ( MatrixMath  ,
MixerMatrixInverses   
)

Definition at line 535 of file unittest.cpp.

int DsmTest::validate_file ( const char *  fn,
int  resolution,
int  channels,
bool  skip 
)
protected

Definition at line 163 of file unittest.cpp.

void verify_channels ( uint16_t *  c1,
uint16_t *  c2 
)

Definition at line 111 of file unittest.cpp.

Variable Documentation

struct pios_dsm_dev DsmTest::dev
protected

Definition at line 81 of file unittest.cpp.

struct pios_flash_posix_cfg flash_config

Definition at line 28 of file unittest_init.c.

struct flashfs_logfs_cfg flashfs_config_settings

Definition at line 12 of file unittest_init.c.

struct flashfs_logfs_cfg flashfs_config_waypoints

Definition at line 18 of file unittest_init.c.

uintptr_t LogfsTestCooked::fs_id
protected

Definition at line 156 of file unittest.cpp.

uintptr_t LogfsTestCookedMultiPart::fs_id_a
protected

Definition at line 347 of file unittest.cpp.

uintptr_t LogfsTestCookedMultiPart::fs_id_b
protected

Definition at line 348 of file unittest.cpp.

const int idx10[] = {1,5,4,2,6,0,3,1,5,4,2,6,0,3}

Definition at line 85 of file unittest.cpp.

const int idx11[] = {1,5,2,3,0,7,6,1,5,2,3,4,8,9}

Definition at line 84 of file unittest.cpp.

unsigned char LogfsTestRaw::obj1[OBJ1_SIZE]
protected

Definition at line 114 of file unittest.cpp.

unsigned char LogfsTestRaw::obj1_alt[OBJ1_SIZE]
protected

Definition at line 115 of file unittest.cpp.

unsigned char LogfsTestRaw::obj2[OBJ2_SIZE]
protected

Definition at line 116 of file unittest.cpp.

unsigned char LogfsTestRaw::obj3[OBJ3_SIZE]
protected

Definition at line 117 of file unittest.cpp.

unsigned char LogfsTestRaw::obj4[OBJ4_SIZE]
protected

Definition at line 118 of file unittest.cpp.

const struct pios_flash_partition pios_flash_partition_table[]

Definition at line 50 of file unittest_init.c.

uint32_t pios_flash_partition_table_size

Definition at line 79 of file unittest_init.c.

uintptr_t pios_posix_flash_id

Definition at line 41 of file unittest_init.c.

struct pios_dsm_state* DsmTest::state
protected

Definition at line 80 of file unittest.cpp.