Helper functions for integration tests
Exemple #1
0
 public void ClassInit()
 {
     // Disable HTTPS Verification
     ServicePointManager.ServerCertificateValidationCallback = delegate { return(true); };
     #if __COCOA__
     try {
         NSApplication.Init();
     } catch (InvalidOperationException) {
     }
     #endif
     config = ITUtils.GetConfig();
 }
 protected void TestFixtureSetUp()
 {
     config = ITUtils.GetConfig();
 }
 public void SetUp()
 {
     this.path = Path.Combine(ITUtils.GetConfig()[1].ToString(), Path.GetRandomFileName());
     Directory.CreateDirectory(this.path);
     this.list = new List <FileSystemEventArgs>();
 }