Exemple #1
0
        internal void ApplyDefaultsWhereNecessary(string projectName)
        {
            if (Deployer == null)
                Deployer = new TestSiteDeployerOptions();

            if (Server == null)
                Server = new TestSiteServerOptions();

            Deployer.ApplyDefaultsWhereNecessary(projectName);
        }
Exemple #2
0
        internal void ApplyDefaultsWhereNecessary(string projectName)
        {
            if (Deployer == null)
            {
                Deployer = new TestSiteDeployerOptions();
            }

            if (Server == null)
            {
                Server = new TestSiteServerOptions();
            }

            Deployer.ApplyDefaultsWhereNecessary(projectName);
        }
 /// <summary>
 /// Creates a new test site server that hosts the application located on the given <paramref name="physicalSitePath"/> using 
 /// options defined in <paramref name="options"/>.
 /// </summary>
 public TestSiteServer(string physicalSitePath, TestSiteServerOptions options)
 {
     _physicalSitePath = physicalSitePath;
     _options = options;
 }
Exemple #4
0
 /// <summary>
 /// Creates a new test site server that hosts the application located on the given <paramref name="physicalSitePath"/> using 
 /// options defined in <paramref name="options"/>.
 /// </summary>
 public TestSiteServer(string physicalSitePath, TestSiteServerOptions options)
 {
     _physicalSitePath = physicalSitePath;
     _options = options;
     _applicationHostPath = Path.GetTempFileName();
 }
Exemple #5
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TestSiteOptions()
 {
     Deployer = new TestSiteDeployerOptions();
     Server = new TestSiteServerOptions();
 }
Exemple #6
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TestSiteOptions()
 {
     Deployer = new TestSiteDeployerOptions();
     Server   = new TestSiteServerOptions();
 }