public void GetReferencedAssemblies() { Caliburn.Micro.IEventAggregator stubEventAgg = new Caliburn.Micro.EventAggregator(); var stubVerChk = new VersionCheckMock(); var stubHost = new Mocks.MockDaxStudioHost(); var hlp = new DaxStudio.UI.ViewModels.HelpAboutViewModel(stubEventAgg, stubVerChk, stubHost); var ra = hlp.ReferencedAssemblies; Assert.IsTrue(ra.Count >= 32); }
public void GetAssemblyList() { Caliburn.Micro.IEventAggregator stubEventAgg = new Caliburn.Micro.EventAggregator(); var stubVerChk = new VersionCheckMock(); var stubHost = new Mocks.MockDaxStudioHost(); var hlp = new DaxStudio.UI.ViewModels.HelpAboutViewModel(stubEventAgg, stubVerChk, stubHost); var ra = hlp.ReferencedAssemblies; foreach (var a in ra) { System.Diagnostics.Debug.WriteLine(a.Key); } Assert.IsTrue(ra["DaxStudio.Interfaces"].Length > 0); }