CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
UnitTest_CMSDK.h File Reference

Top-level entry points for running the CMSDK unit test suite. More...

#include "MemoryManager.h"
#include "MessageIndex.h"
#include "RESTAPI.h"
Include dependency graph for UnitTest_CMSDK.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

void cmlabs::RegisterAllCMSDKTests ()
 Register every CMSDK unit test with the framework (idempotent).
bool cmlabs::RunCMSDKTests (const char *name, const char *compareFile, const char *outFile, const char *outDir, bool verbose, bool listOnly, bool forkPerTest=true)
 Full configurable entry used by the Psyclone test= dispatch.
bool cmlabs::IsCMSDKTest (const char *name)
bool cmlabs::UnitTest_CMSDK ()
 Back-compatible entry: run the full suite with default settings.
bool cmlabs::PerfTest_CMSDK ()
 Back-compatible entry: run the performance-oriented tests (legacy alias).

Detailed Description

Top-level entry points for running the CMSDK unit test suite.

Bridges the Psyclone command line (test=...) to the UnitTestRunner: registration of every object's test, dispatch to one/all tests, and back-compatible wrappers for the older UnitTest_CMSDK()/PerfTest_CMSDK() entry points.

Definition in file UnitTest_CMSDK.h.