public BuildAction() { _assemblerService = DependencyFactory.Resolve <IAssemblerService>(); _debuggerService = DependencyFactory.Resolve <IDebuggerService>(); _projectService = DependencyFactory.Resolve <IProjectService>(); _statusBarService = DependencyFactory.Resolve <IStatusBarService>(); }
public BackgroundAssemblerService(IAssemblerService assemblerService, IProjectService projectService, IStatusBarService statusBarService) { _projectService = projectService; _assemblerService = assemblerService; _statusBarService = statusBarService; }
// //You can use the following additional attributes as you write your tests: // //Use ClassInitialize to run code before running the first test in the class //[ClassInitialize()] //public static void MyClassInitialize(TestContext testContext) //{ //} // //Use ClassCleanup to run code after all tests in a class have run //[ClassCleanup()] //public static void MyClassCleanup() //{ //} // //Use TestInitialize to run code before running each test //[TestInitialize()] //public void MyTestInitialize() //{ //} // //Use TestCleanup to run code after each test has run //[TestCleanup()] //public void MyTestCleanup() //{ //} // #endregion internal virtual IAssemblerService CreateIAssemblerService() { // TODO: Instantiate an appropriate concrete class. IAssemblerService target = null; return(target); }
public OutputWindow() { InitializeComponent(); _assemblerService = DependencyFactory.Resolve <IAssemblerService>(); outputWindowBox.ContextMenu = contextMenu1; Settings.Default.SettingChanging += Default_SettingChanging; _assemblerService.AssemblerProjectFinished += AssemblerService_OnAssemblerProjectFinished; }
Project(IAssemblerService assemblerService, IParserService parserService) { BuildSystem = new BuildSystem(this, false); this.IncludeDirs = new List <string>(); ProjectOutputs = new List <string>(); LabelOutputs = new List <string>(); ListOutputs = new List <string>(); AssemblerService = assemblerService; ParserService = parserService; }
public void AssembleFileTest() { IAssemblerService target = CreateIAssemblerService(); // TODO: Initialize to an appropriate value FilePath inputPath = null; // TODO: Initialize to an appropriate value FilePath outputPath = null; // TODO: Initialize to an appropriate value IList <IDefine> defines = null; // TODO: Initialize to an appropriate value AssemblyFlags flags = new AssemblyFlags(); // TODO: Initialize to an appropriate value Action <string> callback = null; // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.AssembleFile(inputPath, outputPath, defines, flags, callback); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }