Esempio n. 1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            TPTest t   = new TPTest();
            int    ret = t.TestAllCases();

            TestInfo.Text = "First launch, UT return value is:" + ret.ToString();
        }
Esempio n. 2
0
    public static int Main(string[] args)
    {
        var t = new TPTest(10);
        t.Run();

        Thread.Sleep(1000 * 2);

        return 0;
    }
Esempio n. 3
0
    public static int Main(string[] args)
    {
        var t = new TPTest(10);

        t.Run();

        Thread.Sleep(1000 * 2);

        return(0);
    }
Esempio n. 4
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            TPTest t = new TPTest();

            t.TestAllCases();
            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }