public static void Main() { SqlCommandBuilder_DeriveParameters_S tc = new SqlCommandBuilder_DeriveParameters_S(); Exception exp = null; try { // Every Test must begin with BeginTest tc.BeginTest("DeriveParameters"); tc.run(); } catch (Exception ex) { exp = ex; } finally { // Every Test must End with EndTest tc.EndTest(exp); } }
public static void Main() { SqlCommandBuilder_DeriveParameters_S tc = new SqlCommandBuilder_DeriveParameters_S(); Exception exp = null; try { // Every Test must begin with BeginTest tc.BeginTest("DeriveParameters"); tc.run(); } catch(Exception ex) { exp=ex; } finally { // Every Test must End with EndTest tc.EndTest(exp); } }