1
using Google.GData.Client;
3
using Google.GData.Client.UnitTests;
10
namespace Google.GData.Client.UnitTests.Core
15
///This is a test class for GDataVersionConflictExceptionTest and is intended
16
///to contain all GDataVersionConflictExceptionTest Unit Tests
18
[TestFixture][Category("CoreClient")]
19
public class GDataVersionConflictExceptionTest
23
private TestContext testContextInstance;
26
///Gets or sets the test context which provides
27
///information about and functionality for the current test run.
29
public TestContext TestContext
33
return testContextInstance;
37
testContextInstance = value;
41
#region Additional test attributes
43
//You can use the following additional attributes as you write your tests:
45
//Use ClassInitialize to run code before running the first test in the class
47
//public static void MyClassInitialize(TestContext testContext)
51
//Use ClassCleanup to run code after all tests in a class have run
53
//public static void MyClassCleanup()
57
//Use TestInitialize to run code before running each test
59
//public void MyTestInitialize()
63
//Use TestCleanup to run code after each test has run
65
//public void MyTestCleanup()
73
///A test for GDataVersionConflictException Constructor
76
public void GDataVersionConflictExceptionConstructorTest()
78
string msg = "TestValue"; // TODO: Initialize to an appropriate value
79
WebResponse response = null; // TODO: Initialize to an appropriate value
80
GDataVersionConflictException target = new GDataVersionConflictException(msg, response);
81
Assert.IsNotNull(target);
82
Assert.AreEqual(msg, target.Message);