Exemple #1
0
    static int Main()
    {
        Boolean    bResult = false;
        Co9600Ctor cbA     = new Co9600Ctor();

        try
        {
            bResult = cbA.runTest();
        }
        catch (Exception exc_main)
        {
            bResult = false;
            Console.WriteLine(s_strTFAbbrev + " : FAiL! Error Err_9999zzz! Uncaught Exception in main(), exc_main==" + exc_main);
        }

        if (bResult)
        {
            Console.WriteLine("Pass");
            return(100);
        }
        else
        {
            Console.WriteLine("FAiL!  " + s_strTFAbbrev);
            Console.WriteLine(" ");
            return(1);
        }
    }
Exemple #2
0
    static int Main()
    {      
        Boolean bResult = false;
        Co9600Ctor cbA = new Co9600Ctor();

        try 
        {
            bResult = cbA.runTest();
        } 
        catch (Exception exc_main)
        {
            bResult = false;
            Console.WriteLine(s_strTFAbbrev + " : FAiL! Error Err_9999zzz! Uncaught Exception in main(), exc_main=="+exc_main);
        }

        if (bResult)
		{
			Console.WriteLine("Pass");
			return 100;
		}
		else 
		{
			Console.WriteLine( "FAiL!  "+ s_strTFAbbrev);
            Console.WriteLine( " " );
			return 1;
		}
    }