コード例 #1
0
 public void Setup()
 {
     _mockProgressReporterProxy = new Mock <ProgressReporterProxy>();
     _testDeck = new TestDeck();
     _testDeck.SetProgressReporterProxy(_mockProgressReporterProxy.Object);
     _testElement = new ProjectLayoutElement("testElement");
 }
コード例 #2
0
 public void Setup()
 {
     _mockProgressReporterProxy = new Mock <ProgressReporterProxy>();
     _testDeck = new TestDeck();
     _testDeck.SetProgressReporterProxy(_mockProgressReporterProxy.Object);
     _testLine    = new DeckLine(new List <string>());
     _testElement = new ProjectLayoutElement(TEST_ELEMENT_NAME);
 }
コード例 #3
0
 public void Setup()
 {
     // JavaScriptTranslator uses a few settings from the project file
     ProjectManager.Instance.OpenProject(null);
     _mockProgressReporterProxy = new Mock <ProgressReporterProxy>();
     _testDeck = new TestDeck(new JavaScriptTranslatorFactory());
     _testDeck.SetProgressReporterProxy(_mockProgressReporterProxy.Object);
     _testLine    = new DeckLine(new List <string>());
     _testElement = new ProjectLayoutElement(TEST_ELEMENT_NAME);
 }