1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-23 18:47:12 +02:00

Update POCO library.

This commit is contained in:
Sandu Liviu Catalin
2023-03-23 20:19:11 +02:00
parent 8d15f4b6e9
commit 233fc103f9
2521 changed files with 257092 additions and 72789 deletions

View File

@ -52,7 +52,7 @@ void WinRegistryTest::testRegistry()
assertTrue (regKey.exists("name1"));
assertTrue (regKey.exists("name2"));
assertTrue (regKey.exists());
WinRegistryKey regKeyRO("HKEY_CURRENT_USER\\Software\\Applied Informatics\\Test", true);
assertTrue (regKeyRO.getString("name1") == "Value1");
try
@ -64,7 +64,7 @@ void WinRegistryTest::testRegistry()
std::string msg = exc.displayText();
}
assertTrue (regKey.getString("name1") == "Value1");
WinRegistryKey::Values vals;
regKey.values(vals);
assertTrue (vals.size() == 2);
@ -75,14 +75,14 @@ void WinRegistryTest::testRegistry()
Environment::set("FOO", "bar");
regKey.setStringExpand("name3", "%FOO%");
assertTrue (regKey.getStringExpand("name3") == "bar");
regKey.setInt("name4", 42);
assertTrue (regKey.getInt("name4") == 42);
assertTrue (regKey.exists("name4"));
regKey.deleteValue("name4");
assertTrue (!regKey.exists("name4"));
#if defined(POCO_HAVE_INT64)
regKey.setInt64("name5", std::numeric_limits<Int64>::max());
assertTrue (regKey.getInt64("name5") == std::numeric_limits<Int64>::max());