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

@@ -74,6 +74,10 @@ void WinConfigurationTest::testConfiguration()
pView->setString("sub.foo", "bar");
assert (pView->getString("sub.foo", "default") == "bar");
std::string value;
assert (pReg->convertToRegFormat("A.B.C", value) == "A\\B");
assert (value == "C");
}