コード例 #1
0
ファイル: DataRowView_Item_S.cs プロジェクト: nlhepler/mono
	[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
        }