public bool RealWeakRef(int iObj, int iSwitch)
        {
            CreateObj temp   = new CreateObj(iObj);
            bool      result = temp.RunTest(iObj, iSwitch);

            return(result);
        }
Beispiel #2
0
        public static int Main()
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return(100);
            }
            Console.WriteLine("Test Failed");
            return(1);
        }
Beispiel #3
0
        public static int Main()
        {

            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if(temp.RunTest())
            {
                Console.WriteLine("Test Passed");
                return 100;
            }
            Console.WriteLine("Test Failed");
            return 1;
        }
Beispiel #4
0
#pragma warning restore 0414

        public static int Main(String [] str)
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();
            if (temp.RunTest())
            {
                Console.WriteLine( "Test passed!" );
                return 100;
            }
            else
            {
                Console.WriteLine( "Test failed!" );
                return 1;
            }
        }
Beispiel #5
0
#pragma warning restore 0414

        public static int Main(String [] str)
        {
            Console.WriteLine("Test should return with ExitCode 100 ...");
            CreateObj temp = new CreateObj();

            if (temp.RunTest())
            {
                Console.WriteLine("Test passed!");
                return(100);
            }
            else
            {
                Console.WriteLine("Test failed!");
                return(1);
            }
        }
Beispiel #6
0
        public bool RealWeakRef(int iObj, int iSwitch)
        {

            CreateObj temp = new CreateObj(iObj,iSwitch);
            bool result = temp.RunTest(iObj,iSwitch);
            return result;
        }