xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
XrdClTests::TestEnv Class Reference

Envornment holding the variables for tests. More...

#include <TestEnv.hh>

Inheritance diagram for XrdClTests::TestEnv:
Inheritance graph
[legend]
Collaboration diagram for XrdClTests::TestEnv:
Collaboration graph
[legend]

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::EnvGetEnv ()
 Get default test environment. More...
 
static XrdCl::LogGetLog ()
 Get default test environment. More...
 
static void Release ()
 Release the environment. More...
 

Static Private Attributes

static XrdSysMutex sEnvMutex
 
static XrdCl::EnvsEnv = 0
 
static XrdCl::LogsLog = 0
 

Detailed Description

Envornment holding the variables for tests.

Constructor & Destructor Documentation

XrdClTests::TestEnv::TestEnv ( )

Constructor.

References XrdCl::Env::ImportString(), and XrdCl::Env::PutString().

Referenced by GetEnv().

Member Function Documentation

XrdCl::Env * XrdClTests::TestEnv::GetEnv ( )
static
XrdCl::Log * XrdClTests::TestEnv::GetLog ( )
static
void XrdClTests::TestEnv::Release ( )
static

Release the environment.

References sEnv.

Member Data Documentation

XrdCl::Env * XrdClTests::TestEnv::sEnv = 0
staticprivate

Referenced by GetEnv(), and Release().

XrdSysMutex XrdClTests::TestEnv::sEnvMutex
staticprivate

Referenced by GetEnv().

XrdCl::Log * XrdClTests::TestEnv::sLog = 0
staticprivate

Referenced by GetLog().


The documentation for this class was generated from the following files: