Created unit tests for profileFile

This commit is contained in:
GPayne
2020-04-03 21:43:24 -06:00
parent 207c7d5657
commit 5a6ff37759
8 changed files with 772 additions and 370 deletions

View File

@@ -53,19 +53,6 @@ namespace {
namespace openspace {
Profile::Profile()
: properties::PropertyOwner({"Scene", "Scene"})
, _initializer(std::move(initializer))
{
_rootDummy.setIdentifier(SceneGraphNode::RootNodeIdentifier);
_rootDummy.setScene(this);
}
Profile::~Profile() {
clear();
_rootDummy.setScene(nullptr);
}
void Profile::saveCurrentSettingsToProfile(std::string filename) {
if (! global::configuration.usingProfile) {
std::string errorMessage = "Program was not started using a profile, "