Пример #1
0
 static HttpStressTestType GetEffectiveType(HttpStressTestType type)
 {
     if (type == HttpStressTestType.MartinTest)
     {
         return(MartinTest);
     }
     return(type);
 }
 protected HttpStressTestParameters(HttpStressTestParameters other)
     : base(other)
 {
     Type               = other.Type;
     MaxServicePoints   = other.MaxServicePoints;
     CountParallelTasks = other.CountParallelTasks;
     RepeatCount        = other.RepeatCount;
 }
 public HttpStressTestParametersAttribute(HttpStressTestType type)
     : base(null, TestFlags.Browsable | TestFlags.ContinueOnError)
 {
     Type = type;
 }
 public HttpStressTestParameters(ConnectionTestCategory category, HttpStressTestType type,
                                 string identifier, X509Certificate certificate)
     : base(category, identifier, certificate)
 {
     Type = type;
 }