public void ProcessPreviewInfoPropertyTestNavigationPaneDockingStyle() { //Arrange PreviewInfo previewInfo = new PreviewInfo(); PreviewInfoPropertyReader.ProcessPreviewInfoProperty(previewInfo, "NavigationPaneDockingStyle", "Bottom"); string expectedResult = "Bottom"; //Act string actualResult = previewInfo.Properties["NavigationPaneDockingStyle"]; //Assert Assert.AreEqual(expectedResult, actualResult); }
public void ProcessPreviewInfoPropertyTestToolBars() { //Arrange PreviewInfo previewInfo = new PreviewInfo(); PreviewInfoPropertyReader.ProcessPreviewInfoProperty(previewInfo, "ToolBars", "false"); string expectedResult = "false"; //Act string actualResult = previewInfo.Properties["ToolBars"]; //Assert Assert.AreEqual(expectedResult, actualResult); }
public void ProcessPreviewInfoPropertyTestCaption() { //Arrange PreviewInfo previewInfo = new PreviewInfo(); PreviewInfoPropertyReader.ProcessPreviewInfoProperty(previewInfo, "Caption", "ABC"); string expectedResult = "ABC"; //Act string actualResult = previewInfo.Properties["Caption"]; //Assert Assert.AreEqual(expectedResult, actualResult); }