carb/extras/TestEnvironment.h¶
↰ Parent directory: carb/extras/
Provides helper functions to check the platform a process is running on.
Source: carb/extras/TestEnvironment.h
Namespaces¶
carb: The main Carbonite namespace.
carb::extras: Common namespace for extra helper functions and classes.
Functions¶
carb::extras::getDistroName: Retrieves the platform distro name.
carb::extras::isRunningOnCentos: Checks whether the calling process is running on CentOS.
carb::extras::isRunningOnUbuntu: Checks whether the calling process is running on Ubuntu.
carb::extras::isTestEnvironment: Queries whether the calling process is the Carbonite unit tests.