void AlignmentTestBadPathError::checkCallBack(hal::AlignmentConstPtr alignment)
{
  string badPath(_checkPath);
  badPath += "blarg";
  try {
    ((Alignment*)alignment.get())->open(badPath, true);
  }
  catch(...)
  {
    return;
  }
  CuAssertTrue(_testCase, false);
}
示例#2
0
void AlignmentTestBadPathError::checkCallBack(hal::AlignmentConstPtr alignment)
{
#ifndef ENABLE_UDC
  // note: udc just exits here so test wont work
  string badPath(_checkPath);
  badPath += "blarg";
  try {
    ((Alignment*)alignment.get())->open(badPath, true);
  }
  catch(...)
  {
    return;
  }
  CuAssertTrue(_testCase, false);
#endif
}