示例#1
0
	[Test] public void Main()
	{
		DataRowView_Item_S tc = new DataRowView_Item_S();
		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
        [Test] public void Main()
        {
            DataRowView_Item_S tc  = new DataRowView_Item_S();
            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
        }