fledge-iot / fledge

An open source platform for the Industrial Internet of Things, it acts as an edge gateway between sensor devices and cloud storage systems.
https://www.lfedge.org/projects/fledge/
Apache License 2.0
124 stars 46 forks source link

FOGL-8750 : ReadingSet Circular Buffer implemented #1371

Closed gnandan closed 5 months ago

gnandan commented 6 months ago

Unit test result

./RunTests

Repeating all tests (iteration 1) . . .

Note: Randomizing tests' orders with a seed of 38991 .
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from TESTCircularBuffer
[ RUN      ] TESTCircularBuffer.TestMaxLimitOfBuffer
[       OK ] TESTCircularBuffer.TestMaxLimitOfBuffer (1 ms)
[ RUN      ] TESTCircularBuffer.TestCustomSizeBufferLessThanOne
[       OK ] TESTCircularBuffer.TestCustomSizeBufferLessThanOne (0 ms)
[ RUN      ] TESTCircularBuffer.TestHeadAndTailMarkerAdjustment
[       OK ] TESTCircularBuffer.TestHeadAndTailMarkerAdjustment (0 ms)
[ RUN      ] TESTCircularBuffer.TestCustomSizeBuffer
[       OK ] TESTCircularBuffer.TestCustomSizeBuffer (0 ms)
[ RUN      ] TESTCircularBuffer.TestExtactFromEmptyBuffer
[       OK ] TESTCircularBuffer.TestExtactFromEmptyBuffer (0 ms)
[----------] 5 tests from TESTCircularBuffer (6 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (8 ms total)
[  PASSED  ] 5 tests.
AmandeepArora commented 6 months ago

Valgrind tests have been run?