1
using Google.GData.Photos;
3
using Google.GData.Client.UnitTests;
6
namespace Google.GData.Client.UnitTests.Picasa
11
///This is a test class for GPhotoBytesUsedTest and is intended
12
///to contain all GPhotoBytesUsedTest Unit Tests
14
[TestFixture][Category("Picasa")]
15
public class GPhotoBytesUsedTest
19
private TestContext testContextInstance;
22
///Gets or sets the test context which provides
23
///information about and functionality for the current test run.
25
public TestContext TestContext
29
return testContextInstance;
33
testContextInstance = value;
37
#region Additional test attributes
39
//You can use the following additional attributes as you write your tests:
41
//Use ClassInitialize to run code before running the first test in the class
43
//public static void MyClassInitialize(TestContext testContext)
47
//Use ClassCleanup to run code after all tests in a class have run
49
//public static void MyClassCleanup()
53
//Use TestInitialize to run code before running each test
55
//public void MyTestInitialize()
59
//Use TestCleanup to run code after each test has run
61
//public void MyTestCleanup()
69
///A test for GPhotoBytesUsed Constructor
72
public void GPhotoBytesUsedConstructorTest1()
74
GPhotoBytesUsed target = new GPhotoBytesUsed();
75
Assert.IsNotNull(target);
76
Assert.IsTrue(String.IsNullOrEmpty(target.Value));
80
///A test for GPhotoBytesUsed Constructor
83
public void GPhotoBytesUsedConstructorTest()
85
string initValue = "TestValue";
86
GPhotoBytesUsed target = new GPhotoBytesUsed(initValue);
87
Assert.AreEqual(initValue, target.Value);