|
using BlueMarble.Genesis.Infrastructure.Behaviors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Windows;
namespace BlueMarble.Genesis.Infrastructure.Test.Behaviors
{
/// <summary>
///This is a test class for RegionPopupBehaviorsTest and is intended
///to contain all RegionPopupBehaviorsTest Unit Tests
///</summary>
[TestClass()]
public class RegionPopupBehaviorsTest
{
private TestContext testContextInstance;
/// <summary>
///Gets or sets the test context which provides
///information about and functionality for the current test run.
///</summary>
public TestContext TestContext
{
get
{
return testContextInstance;
}
set
{
testContextInstance = value;
}
}
#region Additional test attributes
//
//You can use the following additional attributes as you write your tests:
//
//Use ClassInitialize to run code before running the first test in the class
//[ClassInitialize()]
//public static void MyClassInitialize(TestContext testContext)
//{
//}
//
//Use ClassCleanup to run code after all tests in a class have run
//[ClassCleanup()]
//public static void MyClassCleanup()
//{
//}
//
//Use TestInitialize to run code before running each test
//[TestInitialize()]
//public void MyTestInitialize()
//{
//}
//
//Use TestCleanup to run code after each test has run
//[TestCleanup()]
//public void MyTestCleanup()
//{
//}
//
#endregion
/// <summary>
///A test for CreatePopupRegionWithNamePropertyChanged
///</summary>
[TestMethod()]
[DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
public void CreatePopupRegionWithNamePropertyChangedTest()
{
DependencyObject hostControl = null; // TODO: Initialize to an appropriate value
DependencyPropertyChangedEventArgs e = new DependencyPropertyChangedEventArgs(); // TODO: Initialize to an appropriate value
RegionPopupBehaviors_Accessor.CreatePopupRegionWithNamePropertyChanged(hostControl, e);
Assert.Inconclusive("A method that does not return a value cannot be verified.");
}
/// <summary>
///A test for GetContainerWindowStyle
///</summary>
[TestMethod()]
public void GetContainerWindowStyleTest()
{
DependencyObject owner = null; // TODO: Initialize to an appropriate value
Style expected = null; // TODO: Initialize to an appropriate value
Style actual;
actual = RegionPopupBehaviors.GetContainerWindowStyle(owner);
Assert.AreEqual(expected, actual);
Assert.Inconclusive("Verify the correctness of this test method.");
}
/// <summary>
///A test for GetCreatePopupRegionWithName
///</summary>
[TestMethod()]
public void GetCreatePopupRegionWithNameTest()
{
DependencyObject owner = null; // TODO: Initialize to an appropriate value
string expected = string.Empty; // TODO: Initialize to an appropriate value
string actual;
actual = RegionPopupBehaviors.GetCreatePopupRegionWithName(owner);
Assert.AreEqual(expected, actual);
Assert.Inconclusive("Verify the correctness of this test method.");
}
/// <summary>
///A test for IsInDesignMode
///</summary>
[TestMethod()]
[DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
public void IsInDesignModeTest()
{
DependencyObject element = null; // TODO: Initialize to an appropriate value
bool expected = false; // TODO: Initialize to an appropriate value
bool actual;
actual = RegionPopupBehaviors_Accessor.IsInDesignMode(element);
Assert.AreEqual(expected, actual);
Assert.Inconclusive("Verify the correctness of this test method.");
}
/// <summary>
///A test for RegisterNewPopupRegion
///</summary>
[TestMethod()]
public void RegisterNewPopupRegionTest()
{
DependencyObject owner = null; // TODO: Initialize to an appropriate value
string regionName = string.Empty; // TODO: Initialize to an appropriate value
RegionPopupBehaviors.RegisterNewPopupRegion(owner, regionName);
Assert.Inconclusive("A method that does not return a value cannot be verified.");
}
/// <summary>
///A test for SetContainerWindowStyle
///</summary>
[TestMethod()]
public void SetContainerWindowStyleTest()
{
DependencyObject owner = null; // TODO: Initialize to an appropriate value
Style style = null; // TODO: Initialize to an appropriate value
RegionPopupBehaviors.SetContainerWindowStyle(owner, style);
Assert.Inconclusive("A method that does not return a value cannot be verified.");
}
/// <summary>
///A test for SetCreatePopupRegionWithName
///</summary>
[TestMethod()]
public void SetCreatePopupRegionWithNameTest()
{
DependencyObject owner = null; // TODO: Initialize to an appropriate value
string value = string.Empty; // TODO: Initialize to an appropriate value
RegionPopupBehaviors.SetCreatePopupRegionWithName(owner, value);
Assert.Inconclusive("A method that does not return a value cannot be verified.");
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.