public void TestConstructor() { TargetBuilder builder = new TargetBuilder(); }
/// <summary> /// Provides the components required by the tests /// </summary> internal IBuildComponent GetComponent(BuildComponentType type) { switch (type) { case BuildComponentType.RequestBuilder: RequestBuilder requestBuilder = new RequestBuilder(); return (IBuildComponent)requestBuilder; case BuildComponentType.TaskBuilder: QAMockTaskBuilder taskBuilder = new QAMockTaskBuilder(); return (IBuildComponent)taskBuilder; case BuildComponentType.TargetBuilder: TargetBuilder targetBuilder = new TargetBuilder(); return (IBuildComponent)targetBuilder; case BuildComponentType.ResultsCache: return (IBuildComponent)_resultsCache; default: throw new ArgumentException("Unexpected type requested. Type = " + type.ToString()); } }