test_results_t test1_40_Mutator::setup(ParameterDict ¶m) { bool createmode = param["createmode"]->getInt() == USEATTACH; appThread = (BPatch_thread *)(param["appThread"]->getPtr()); appProc = appThread->getProcess(); int mutateeXLC = param["mutateeXLC"]->getInt(); // xlc does not produce the intended dynamic call points for this example if (mutateeXLC) { return SKIPPED; } // Read the program's image and get an associated image object appImage = appProc->getImage(); if (isMutateeFortran(appImage)) { return SKIPPED; } if ( createmode == USEATTACH ) { if ( ! signalAttached(appImage) ) return FAILED; } // Run mutator code return PASSED; }
DNode* DNode::createChild( const DString& name ) { DNode* n = createChildImpl(name); n->setParent(this); mChildren.insert(n); signalAttached(this, n); return n; }
DNode* DNode::createChild() { DNode* n = createChildImpl(); n->setParent(this); mChildren.insert(n); signalAttached(this, n); return n; }
void DNode::setParent( DNode* p ) { bool diff = (p != mParent); if (mParent != NULL) { mParent->removeChild(this); } mParent = p; mbParentNotified = false; needUpdate(); if (diff) { if (mParent) { signalAttached(mParent,this); } else { signalDetached(mParent,this); } } }
void DNode::addChild( DNode* child ) { child->setParent(this); mChildren.insert(child); signalAttached(this, child); }