Add check output for NullCheck.

This commit is contained in:
Gunnar Beutner 2013-09-12 10:31:41 +02:00
parent 66d00d25bc
commit 50d506dfd7
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ REGISTER_SCRIPTFUNCTION(NullCheck, &NullCheckTask::ScriptFunc);
Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&)
{
Dictionary::Ptr cr = boost::make_shared<Dictionary>();
cr->Set("output", "This is a test.");
cr->Set("state", StateOK);
return cr;