mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Isolate Application object in Env:
This change causes each instance of Env to construct its own isolated Application object for testing. Also included is part of a framework to create multiple Application objects in the same unit test and connect them together.
This commit is contained in:
@@ -96,6 +96,12 @@ BasicConfig::exists (std::string const& name) const
|
||||
return map_.find(name) != map_.end();
|
||||
}
|
||||
|
||||
Section&
|
||||
BasicConfig::section (std::string const& name)
|
||||
{
|
||||
return map_[name];
|
||||
}
|
||||
|
||||
Section const&
|
||||
BasicConfig::section (std::string const& name) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user