コード例 #1
0
 protected override void CreateSetCurrentDemoActions(ModuleDescription module, bool checkMemoryLeaks)
 {
     base.CreateSetCurrentDemoActions(module, checkMemoryLeaks);
     AddConditionAction(DocumentBuildCompletedConditionFactory.Create(this), null);
     AddSimpleAction(delegate() {
         if (DemoBaseTesting.CurrentDemoModule != null)
         {
             DocumentPreviewControl activePreview = LayoutHelper.FindElement(DemoBaseTesting.CurrentDemoModule, IsDocumentViewer) as DocumentPreviewControl;
             Assert.IsNotNull(activePreview);
         }
     });
 }
コード例 #2
0
 void WaitDocumentBuildCompleted()
 {
     AddConditionAction(DocumentBuildCompletedConditionFactory.Create(this), null);
 }