PresentationStateManager unit test PASS

basic state capturing, storage and replay now works as intended
More elaborate state management will be implemented later,
when we know more about perspectives and work sites!
This commit is contained in:
Fischlurch 2016-02-13 23:53:09 +01:00
parent 4da75dd4d3
commit 0be12aaa79

View file

@ -231,6 +231,8 @@ namespace test {
cout << "____Nexus-Log_________________\n"
<< util::join(gui::test::Nexus::getLog(), "\n")
<< "\n───╼━━━━━━━━━╾────────────────"<<endl;
gui::test::Nexus::setCommandHandler(); // deinstall custom command handler
}
@ -307,6 +309,16 @@ namespace test {
CHECK (not mockC.isExpanded());
CHECK (not mockC.isTouched());
cout << "____Nexus-Log_________________\n"
<< util::join(gui::test::Nexus::getLog(), "\n")
<< "\n───╼━━━━━━━━━╾────────────────"<<endl;
}
void
verifyNotifications()
{
UNIMPLEMENTED ("send notifications to a distinct element");
////////////////////////////////////////////////////////////////////////////////////////////////////TODO WIP
cout << "____Nexus-Log_________________\n"
<< util::join(gui::test::Nexus::getLog(), "\n")
@ -315,17 +327,11 @@ namespace test {
}
void
verifyNotifications()
{
UNIMPLEMENTED ("send notifications to a distinct element");
}
void
clearStates()
{
UNIMPLEMENTED ("broadcast state reset");
gui::test::Nexus::setStateMarkHandler(); // deinstall custom command handler
}