Esempio n. 1
0
        public static void Main(string[] args)
        {
            bool          bResult = false;
            StringBuilder sblMsg  = new StringBuilder(99);
            Co4768GetCustomAttributes_MemInfo coA = new Co4768GetCustomAttributes_MemInfo();

            try {
                bResult = coA.RunTest();
            }
            catch (Exception exc_main) {
                bResult = false;
                printerr("Err_999zzz! - Uncaught Exception caught in main(): ");
                printexc(exc_main);
                print(exc_main.StackTrace);
            }
            if (!bResult)
            {
                print("PATHTOSOURCE:  " + strPath + strTest + "  FAiL!");
            }
            Environment.ExitCode = (bResult ? 0 : 11);
        }
 public static void Main( string[] args )
   {
   bool bResult = false; 
   StringBuilder sblMsg = new StringBuilder( 99 );
   Co4768GetCustomAttributes_MemInfo coA = new Co4768GetCustomAttributes_MemInfo();
   try {
   bResult = coA.RunTest();
   }
   catch (Exception exc_main) {
   bResult = false;
   printerr ("Err_999zzz! - Uncaught Exception caught in main(): ");
   printexc (exc_main);
   print (exc_main.StackTrace);
   }
   if (!bResult)
     print ("PATHTOSOURCE:  " + strPath + strTest + "  FAiL!");
   Environment.ExitCode =  (bResult ? 0 : 11);  
   }