Example #1
0
 public void CreateTestData()
 {
     // Constructor for DictionaryConfigViewerStub also creates DictionaryConfigPresenterStub
     // subclass of DictionaryConfigManager that is more easily tested.
     m_testView      = new DictionaryConfigViewerStub();
     m_testPresenter = m_testView.TestPresenter;
 }
 public void DeleteTestData()
 {
     m_testView = null;
     m_testPresenter = null;
 }
 public void CreateTestData()
 {
     // Constructor for DictionaryConfigViewerStub also creates DictionaryConfigPresenterStub
     // subclass of DictionaryConfigManager that is more easily tested.
     m_testView = new DictionaryConfigViewerStub();
     m_testPresenter = m_testView.TestPresenter;
 }
Example #4
0
 public void DeleteTestData()
 {
     m_testView      = null;
     m_testPresenter = null;
 }
 public DictionaryConfigViewerStub()
 {
     m_presenter = new DictionaryConfigTestPresenter(this);
     m_listItems = new List <Tuple <string, string> >();
 }
 public DictionaryConfigViewerStub()
 {
     m_presenter = new DictionaryConfigTestPresenter(this);
     m_listItems = new List<Tuple<string, string>>();
 }