Rtos API example

Embed: (wiki syntax)

« Back to documentation index

write.cpp File Reference

write.cpp File Reference

Test cases to write KVs in the CFSTORE using the drv->Write() API call. More...

Go to the source code of this file.

Functions

control_t cfstore_write_test_01_end (const size_t call_count)
 test to write many times to an open KV to test data is appended sequentially to the end of the value blob
control_t cfstore_write_test_02_end (const size_t call_count)
 test to write with a NULL buffer, which should fail gracefully

Detailed Description

Test cases to write KVs in the CFSTORE using the drv->Write() API call.

Please consult the documentation under the test-case functions for a description of the individual test case.

Definition in file write.cpp.


Function Documentation

control_t cfstore_write_test_01_end ( const size_t  call_count )

test to write many times to an open KV to test data is appended sequentially to the end of the value blob

Returns:
on success returns CaseNext to continue to next test case, otherwise will assert on errors.

Definition at line 82 of file write.cpp.

control_t cfstore_write_test_02_end ( const size_t  call_count )

test to write with a NULL buffer, which should fail gracefully

Returns:
on success returns CaseNext to continue to next test case, otherwise will assert on errors.

Definition at line 143 of file write.cpp.