|
xrootd
|
Envornment holding the variables for tests. More...
#include <TestEnv.hh>


Public Member Functions | |
| TestEnv () | |
| Constructor. More... | |
Public Member Functions inherited from XrdCl::Env | |
| virtual | ~Env () |
| Destructor. More... | |
| bool | GetString (const std::string &key, std::string &value) |
| bool | PutString (const std::string &key, const std::string &value) |
| bool | GetInt (const std::string &key, int &value) |
| bool | PutInt (const std::string &key, int value) |
| bool | ImportInt (const std::string &key, const std::string &shellKey) |
| bool | ImportString (const std::string &key, const std::string &shellKey) |
| void | WriteLock () |
| void | UnLock () |
| void | ReInitializeLock () |
Static Public Member Functions | |
| static XrdCl::Env * | GetEnv () |
| Get default test environment. More... | |
| static XrdCl::Log * | GetLog () |
| Get default test environment. More... | |
| static void | Release () |
| Release the environment. More... | |
Static Private Attributes | |
| static XrdSysMutex | sEnvMutex |
| static XrdCl::Env * | sEnv = 0 |
| static XrdCl::Log * | sLog = 0 |
Envornment holding the variables for tests.
| XrdClTests::TestEnv::TestEnv | ( | ) |
Constructor.
References XrdCl::Env::ImportString(), and XrdCl::Env::PutString().
Referenced by GetEnv().
|
static |
Get default test environment.
References sEnv, sEnvMutex, and TestEnv().
Referenced by FileSystemTest::ChmodTest(), FileSystemTest::DeepLocateTest(), FileSystemTest::DirListTest(), FileCopyTest::DownloadTestFunc(), PostMasterTest::FunctionalTest(), FileSystemTest::LocateTest(), FileSystemTest::MkdirRmdirTest(), PostMasterTest::MultiIPConnectionTest(), FileSystemTest::MvTest(), FileSystemTest::PingTest(), FileSystemTest::PrepareTest(), FileSystemTest::ProtocolTest(), FileTest::ReadTest(), ThreadingTest::ReadTestFunc(), FileTest::RedirectReturnTest(), FileSystemTest::SendInfoTest(), FileSystemTest::ServerQueryTest(), FileSystemTest::StatTest(), FileSystemTest::StatVFSTest(), TestThreadFunc(), FileSystemTest::TruncateRmTest(), FileCopyTest::UploadTestFunc(), FileTest::VectorReadTest(), and FileTest::WriteTest().
|
static |
Get default test environment.
References sLog, and unlikely.
Referenced by forkAndRead(), RandomHandler::HandleConnection(), RandomPumpHandler::HandleConnection(), XrdClTests::Server::HandleConnections(), MonitorTest::MonitorTest(), runChild(), XrdClTests::Server::Setup(), XrdClTests::Server::Start(), XrdClTests::Server::Stop(), and XrdClGetMonitor().
|
static |
Release the environment.
References sEnv.
|
staticprivate |
|
staticprivate |
Referenced by GetEnv().
|
staticprivate |
Referenced by GetLog().
1.8.3.1