示例#1
0
 public void test() {
     List<Exception> exceptionsThrown = new List<Exception>();
     try {
         SDKSampleTest runner = new SDKSampleTest();
         runner.runAllSamples(exceptionsThrown);
     } catch (Exception e) {
         Assert.Fail("Unable to inspect packages and classes." + e);
     }
     Assert.AreEqual(exceptionsThrown.Count,0);
 }
示例#2
0
        public void test()
        {
            List <Exception> exceptionsThrown = new List <Exception>();

            try {
                SDKSampleTest runner = new SDKSampleTest();
                runner.runAllSamples(exceptionsThrown);
            } catch (Exception e) {
                System.Console.WriteLine("Unable to inspect packages and classes." + e);
            }
            System.Console.WriteLine(exceptionsThrown.Count == 0);
        }
示例#3
0
        public void test()
        {
            List <Exception> exceptionsThrown = new List <Exception>();

            try {
                SDKSampleTest runner = new SDKSampleTest();
                runner.runAllSamples(exceptionsThrown);
            } catch (Exception e) {
                Assert.Fail("Unable to inspect packages and classes." + e);
            }
            Assert.AreEqual(exceptionsThrown.Count, 0);
        }