~ubuntu-branches/debian/squeeze/gnome-do-plugins/squeeze

« back to all changes in this revision

Viewing changes to BundledLibraries/libgoogle-data-mono-1.4.0.2/src/unittests/youtube/BooksTest.cs

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2009-06-27 16:11:49 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090627161149-b74nc297di2842u1
* New upstream release
  + Pidgin plugin now supports initial text for messages (LP: #338608)
  + Pidgin plugin opens conversations on the correct IM network (LP: #370965)
* debian/rules:
  + Update get-orig-source target.  Upstream no longer ships gdata* binaries,
    so we no longer need to strip them
* debian/patches/00_use_system_gdata
  + Drop.  Upstream now builds against system libgdata.
* debian/patches/04_fix_pidgin_dbus_ints
* debian/patches/10_fix_rhythmbox_file
* debian/patches/15_twitter_api
* debian/patches/20_twitter_overflow:
  + Drop.  Included upstream.
* debian/patches/01_firefox_iceweasel_rename:
  + Refresh for new version
* debian/patches/02_fix_banshee_plugin:
  + Drop refernce to /usr/lib/banshee-1/Banshee.CollectionIndexer.dll.
    This is unnecessary, and causes errors when Banshee isn't installed.
* debian/patches/00_debian_default_plugins:
  + Enable a bunch of useful plugins that do not require configuration from 
    the "Official" plugin set by default.  Makes Do more useful out of the 
    box.
* debian/control:
  + Bump versioned build-dep on gnome-do to 0.8.2
  + Split out gnome-do-plugin-evolution package, now that this is possible.
    libevolution5.0-cil has an annoyingly large dependency stack.
    (LP: #351535) (Closes: #524993).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
using NUnit.Framework;
2
 
using Google.GData.Client.UnitTests;
3
 
using Google.GData.YouTube;
4
 
 
5
 
namespace Google.GData.Client.UnitTests.YouTube
6
 
{
7
 
 
8
 
 
9
 
    /// <summary>
10
 
    ///This is a test class for BooksTest and is intended
11
 
    ///to contain all BooksTest Unit Tests
12
 
    ///</summary>
13
 
    [TestFixture]
14
 
    [Category("YouTube")]
15
 
     public class BooksTest
16
 
    {
17
 
       private TestContext testContextInstance;
18
 
 
19
 
        /// <summary>
20
 
        ///Gets or sets the test context which provides
21
 
        ///information about and functionality for the current test run.
22
 
        ///</summary>
23
 
        public TestContext TestContext
24
 
        {
25
 
            get
26
 
            {
27
 
                return testContextInstance;
28
 
            }
29
 
            set
30
 
            {
31
 
                testContextInstance = value;
32
 
            }
33
 
        } 
34
 
 
35
 
#region Additional test attributes
36
 
        // 
37
 
        //You can use the following additional attributes as you write your tests:
38
 
        //
39
 
        //Use ClassInitialize to run code before running the first test in the class
40
 
        //[ClassInitialize()]
41
 
        //public static void MyClassInitialize(TestContext testContext)
42
 
        //{
43
 
        //}
44
 
        //
45
 
        //Use ClassCleanup to run code after all tests in a class have run
46
 
        //[ClassCleanup()]
47
 
        //public static void MyClassCleanup()
48
 
        //{
49
 
        //}
50
 
        //
51
 
        //Use TestInitialize to run code before running each test
52
 
        //[TestInitialize()]
53
 
        //public void MyTestInitialize()
54
 
        //{
55
 
        //}
56
 
        //
57
 
        //Use TestCleanup to run code after each test has run
58
 
        //[TestCleanup()]
59
 
        //public void MyTestCleanup()
60
 
        //{
61
 
        //}
62
 
        //
63
 
#endregion
64
 
 
65
 
 
66
 
        /// <summary>
67
 
        ///A test for Books Constructor
68
 
        ///</summary>
69
 
        [Test]
70
 
        public void BooksConstructorTest1()
71
 
        {
72
 
            Books target = new Books();
73
 
            Assert.AreEqual(target.Value, null, "Book value should be null after construction");
74
 
        }
75
 
 
76
 
        /// <summary>
77
 
        ///A test for Books Constructor
78
 
        ///</summary>
79
 
        [Test]
80
 
        public void BooksConstructorTest()
81
 
        {
82
 
            string initValue = "A,B,c";
83
 
            Books target = new Books(initValue);
84
 
            Assert.AreEqual(target.Value, initValue, "object should have same value after construction");
85
 
        }
86
 
    }
87
 
}