|
MXL : Media eXchange Layer
MXL
|
#include <condition_variable>#include <cstdio>#include <cstdlib>#include <algorithm>#include <filesystem>#include <fstream>#include <list>#include <random>#include <string>#include <system_error>#include <thread>#include <fcntl.h>#include <unistd.h>#include <uuid.h>#include <sys/mman.h>#include <sys/stat.h>#include <catch2/catch_test_macros.hpp>#include "mxl-internal/DiscreteFlowWriter.hpp"#include "mxl-internal/DomainWatcher.hpp"#include "mxl-internal/Flow.hpp"#include "mxl-internal/PathUtils.hpp"#include "mxl/flowinfo.h"#include "../../tests/Utils.hpp"
Go to the source code of this file.
Classes | |
| struct | MockFlowFiles |
| struct | MockWriter |
Functions | |
| TEST_CASE ("DomainWatcher constructor throws on invalid domain path", "[domainwatcher]") | |
| TEST_CASE_PERSISTENT_FIXTURE (mxl::tests::mxlDomainFixture, "Directory Watcher", "[directory watcher]") | |
| TEST_CASE_PERSISTENT_FIXTURE (mxl::tests::mxlDomainFixture, "DomainWatcher error handling for invalid inputs", "[domainwatcher]") | |
| TEST_CASE_PERSISTENT_FIXTURE (mxl::tests::mxlDomainFixture, "DomainWatcher supports concurrent add/remove operations", "[domainwatcher]") | |
| TEST_CASE_PERSISTENT_FIXTURE (mxl::tests::mxlDomainFixture, "DomainWatcher thread start/stop behavior", "[domainwatcher]") | |
| TEST_CASE_PERSISTENT_FIXTURE (mxl::tests::mxlDomainFixture, "DomainWatcher triggers callback on file modifications", "[domainwatcher]") | |
| TEST_CASE | ( | "DomainWatcher constructor throws on invalid domain path" | , |
| "" | [domainwatcher] ) |
Definition at line 463 of file test_domainwatcher.cpp.
| TEST_CASE_PERSISTENT_FIXTURE | ( | mxl::tests::mxlDomainFixture | , |
| "Directory Watcher" | , | ||
| "" | [directory watcher] ) |
Definition at line 221 of file test_domainwatcher.cpp.
| TEST_CASE_PERSISTENT_FIXTURE | ( | mxl::tests::mxlDomainFixture | , |
| "DomainWatcher error handling for invalid inputs" | , | ||
| "" | [domainwatcher] ) |
Definition at line 318 of file test_domainwatcher.cpp.
| TEST_CASE_PERSISTENT_FIXTURE | ( | mxl::tests::mxlDomainFixture | , |
| "DomainWatcher supports concurrent add/remove operations" | , | ||
| "" | [domainwatcher] ) |
Definition at line 380 of file test_domainwatcher.cpp.
| TEST_CASE_PERSISTENT_FIXTURE | ( | mxl::tests::mxlDomainFixture | , |
| "DomainWatcher thread start/stop behavior" | , | ||
| "" | [domainwatcher] ) |
Definition at line 283 of file test_domainwatcher.cpp.
| TEST_CASE_PERSISTENT_FIXTURE | ( | mxl::tests::mxlDomainFixture | , |
| "DomainWatcher triggers callback on file modifications" | , | ||
| "" | [domainwatcher] ) |
Definition at line 247 of file test_domainwatcher.cpp.