updated convertToRegFormat name to begin with lowercase and added test

This commit is contained in:
Aleksandar Fabijanic
2012-05-18 03:27:52 +00:00
parent f5bb43f9d3
commit e5e3a57baf
3 changed files with 11 additions and 6 deletions

View File

@@ -76,10 +76,11 @@ protected:
void enumerate(const std::string& key, Keys& range) const;
void removeRaw(const std::string& key);
std::string ConvertToRegFormat(const std::string& key, std::string& keyName) const;
/// takes a key in the format of A.B.C and converts it to
std::string convertToRegFormat(const std::string& key, std::string& keyName) const;
/// Takes a key in the format of A.B.C and converts it to
/// registry format A\B\C, the last entry is the keyName, the rest is returned as path
friend class WinConfigurationTest;
private:
std::string _rootPath;
REGSAM _extraSam;