src/Testing/SectTest.cc
/*      Input                   ST      : A single test (this)
                                eidx    : Error index
                                noret   : Flag for linefeed (0=linefeed)
        Output                  none    : Error message output
                                          Program execution stopped if fatal */
Input                   ST      : A single test (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input ST : A single test ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
void SectTest::STerror(int eidx, int noret) const
  {
  std::string hdr("Section Test");
  std::string msg;
  switch (eidx)
    {
    case 11: msg = std::string("Accessed Single Test Out Of Range");
             GAMMAerror(hdr,msg,noret); break;                          
    case 12: msg = std::string("Continuing With No Test Name");
             GAMMAerror(hdr,msg,noret); break;                          
    case 13: msg = std::string("Continuing With No Test Description");
             GAMMAerror(hdr,msg,noret); break;                          
    case 14: msg = std::string("Continuing With Status Of -1");
             GAMMAerror(hdr,msg,noret); break;                          
    case 15: msg = std::string("Continuing With Run Level Of 0");
             GAMMAerror(hdr,msg,noret); break;                          
    case 16: msg = std::string("Stopping Section Testing");
             GAMMAerror(hdr,msg,noret); break;                          
    case 17: msg = std::string("Unable To Run Specified Single Test");
             GAMMAerror(hdr,msg,noret); break;                          
    case 18: msg = std::string("Single Test By Name Does Not Exist");
             GAMMAerror(hdr,msg,noret); break;                          
    default: GAMMAerror(hdr,eidx,noret); break;
    }
  }
void SectTest :: STerror ( int eidx , int noret ) const { std :: string hdr ( " " ) ; std :: string msg ; switch ( eidx ) { case 11 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 12 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 13 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 14 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 15 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 16 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 17 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; case 18 : msg = std :: string ( " " ) ; GAMMAerror ( hdr , msg , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
Input                   ST      : A single test (this)
eidx    : Error index
noret   : Flag for linefeed (0=linefeed)
Output                  none    : Error message output
Program execution stopped if fatal
Input ST : A single test ( this ) eidx : Error index noret : Flag for linefeed ( 0 = linefeed ) Output none : Error message output Program execution stopped if fatal
//(11) //(12) //(13) //(14) //(15) //(16) //(17) //(18)