|
Advanced Chunk Processing Library 0.2.0
A comprehensive C++ library for advanced data chunking strategies and processing operations
|
Inheritance diagram for ChunkMetricsTest:
Collaboration diagram for ChunkMetricsTest:Protected Member Functions | |
| template<typename T > | |
| bool | is_valid_resource (const T &resource) |
| template<typename Func > | |
| auto | run_safely (Func &&func) -> typename std::invoke_result< Func >::type |
| template<typename T > | |
| void | safe_cleanup (T &resource) |
| void | SetUp () override |
| void | TearDown () override |
Protected Attributes | |
| std::unique_ptr< chunk_metrics::ChunkQualityAnalyzer< double > > | analyzer |
| std::vector< std::vector< double > > | empty_chunks |
| std::vector< std::vector< double > > | mixed_cohesion_chunks |
| std::mutex | test_mutex_ |
| std::atomic< bool > | test_running_ {false} |
| std::vector< std::vector< double > > | well_separated_chunks |
Static Protected Attributes | |
| static std::mutex | global_test_mutex_ |
| static constexpr auto | TEST_COOLDOWN = std::chrono::milliseconds(100) |
| static std::condition_variable | test_cv_ |
Definition at line 16 of file test_metrics.cpp.
|
inlineprotectedinherited |
Definition at line 33 of file test_base.hpp.
|
inlineprotected |
Definition at line 84 of file test_metrics.cpp.
References test_running_.
|
inlineprotectedinherited |
Definition at line 21 of file test_base.hpp.
|
inlineoverrideprotected |
Definition at line 25 of file test_metrics.cpp.
References analyzer, mixed_cohesion_chunks, ChunkTestBase::SetUp(), and well_separated_chunks.
|
inlineoverrideprotected |
Definition at line 61 of file test_metrics.cpp.
References analyzer, empty_chunks, mixed_cohesion_chunks, ChunkTestBase::TearDown(), test_mutex_, and well_separated_chunks.
|
protected |
Definition at line 18 of file test_metrics.cpp.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 21 of file test_metrics.cpp.
Referenced by TearDown().
|
staticprotectedinherited |
Definition at line 11 of file test_base.hpp.
Referenced by ChunkTestBase::SetUp(), and ChunkTestBase::TearDown().
|
protected |
Definition at line 20 of file test_metrics.cpp.
Referenced by SetUp(), and TearDown().
|
staticconstexprprotectedinherited |
Definition at line 14 of file test_base.hpp.
Referenced by ChunkTestBase::TearDown().
|
staticprotectedinherited |
Definition at line 12 of file test_base.hpp.
Referenced by ChunkTestBase::SetUp(), and ChunkTestBase::TearDown().
|
mutableprotected |
Definition at line 22 of file test_metrics.cpp.
Referenced by TearDown().
|
protected |
|
protected |
Definition at line 19 of file test_metrics.cpp.
Referenced by SetUp(), and TearDown().