コード例 #1
0
		public static void Main()
		{
			SqlConnection_InfoMessage tc = new SqlConnection_InfoMessage();
			Exception exp = null;
			try
			{
				// Every Test must begin with BeginTest
				tc.BeginTest("NoName");
				tc.run();
			}
			catch(Exception ex)
			{
				exp = ex;
			}
			finally
			{
				// Every Test must End with EndTest
				tc.EndTest(exp);
			}
			// After test is ready, remove this line
		
		}
コード例 #2
0
        public static void Main()
        {
            SqlConnection_InfoMessage tc = new SqlConnection_InfoMessage();
            Exception exp = null;

            try
            {
                // Every Test must begin with BeginTest
                tc.BeginTest("NoName");
                tc.run();
            }
            catch (Exception ex)
            {
                exp = ex;
            }
            finally
            {
                // Every Test must End with EndTest
                tc.EndTest(exp);
            }
            // After test is ready, remove this line
        }