latest sources from main repository

This commit is contained in:
Guenter Obiltschnig
2007-06-13 15:14:29 +00:00
parent 9913f74f8d
commit cfca5df1b6
2 changed files with 24 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
//
// WinConfigurationTest.cpp
//
// $Id: //poco/Main/Util/testsuite/src/WinConfigurationTest.cpp#5 $
// $Id: //poco/Main/Util/testsuite/src/WinConfigurationTest.cpp#6 $
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
@@ -64,6 +64,9 @@ void WinConfigurationTest::testConfiguration()
assert (reg->getString("name2") == "value2");
assert (reg->hasProperty("name1"));
assert (reg->hasProperty("name2"));
std::string dfl = reg->getString("nonexistent", "default");
assert (dfl == "default");
}