private static TinyIoCContainer BootStrapStatLight(SilverlightTask silverlightTask, MethodTask[] testMethods) { var inputOptions = CreateStatLightInputOptions(silverlightTask, testMethods); var logger = CreateStatLightLogger(); return BootStrapper.Initialize(inputOptions, logger); }
private static InputOptions CreateStatLightInputOptions(SilverlightTask silverlightTask, MethodTask[] testMethods) { return new InputOptions() .SetXapPaths(silverlightTask.GetXapPaths()) .SetDllPaths(silverlightTask.GetDllPaths()) .SetMethodsToTest(testMethods.Select(m => m.GetFullMethodName()).ToList()); }
private static InputOptions CreateStatLightInputOptions(SilverlightTask silverlightTask, MethodTask[] testMethods) { var windowGeometry = new WindowGeometry(); windowGeometry.State = BrowserWindowState.Normal; return new InputOptions() .SetWindowGeometry(windowGeometry) .SetXapPaths(silverlightTask.GetXapPaths()) .SetDllPaths(silverlightTask.GetDllPaths()) .SetMethodsToTest(testMethods.Select(m => m.GetFullMethodName()).ToList()); }