src/Testing/ModTest.cc
//-----------------------------------------------------------------------------
//                   Test Specific Class (By Index Or Name)
//-----------------------------------------------------------------------------
Test Specific Class (By Index Or Name)
Test Specific Class ( By Index Or Name )
int ModTest::TestClass(ostream& ostr, const int tidx, int frc, int keepon)
  {
  if(!CheckIndex(tidx, 1))                      
    { MTfatal(17); }                            
  list<ClassTest>::iterator item;               
  item = GetPixNC(tidx);                        
  return ((*item).TestSects(ostr,frc,keepon));	
  }
int ModTest :: TestClass ( ostream & ostr , const int tidx , int frc , int keepon ) { if ( ! CheckIndex ( tidx , 1 ) ) { MTfatal ( 17 ) ; } list < ClassTest > :: iterator item ; item = GetPixNC ( tidx ) ; return ( ( * item ) . TestSects ( ostr , frc , keepon ) ) ; }
Test Specific Class (By Index Or Name)
Test Specific Class ( By Index Or Name )
// Insure test tidx exists // Cannot run requested test // A Pix into list of tests // Get Pix for requested test // Run test, return result