public void TestInitialize() { _page = new ApplicationPropPageVBWinForms(); _accessor = new Microsoft_VisualStudio_Editors_PropertyPages_ApplicationPropPageVBWinFormsAccessor(_page); _baseAccessor = new Microsoft_VisualStudio_Editors_PropertyPages_ApplicationPropPageVBBaseAccessor(_page); _standardApplicationPageTests = new StandardTestsForApplicationPropPageVBBaseDescendentPropertyPages(_page); _fakeHosting = new FakePropertyPageHosting_NonConfigDependent(); }
public void Standard_RootNamespaceChange() { _page = new ApplicationPropPageVBWinFormsMock_OnRootNamespaceChanged(); _fakeHosting.InitializePageForUnitTests(_page); _page.RootNamespaceTextBox.Text = "RootNamespace2"; _page.OnPropertyChanged("RootNamespace", null, "RS1", "RS2"); Assert.IsTrue(((ApplicationPropPageVBWinFormsMock_OnRootNamespaceChanged)_page).Fake_OnRootNamespaceChangedWasCalled, "OnRootNamespaceChanged wasn't called"); }
public void TestInitialize() { _page = new ApplicationPropPageVBWinForms(); _accessor = new Microsoft_VisualStudio_Editors_PropertyPages_ApplicationPropPageVBWinFormsAccessor(_page); }