~ubuntu-branches/ubuntu/jaunty/gnome-do-plugins/jaunty-proposed

« back to all changes in this revision

Viewing changes to BundledLibraries/libgoogle-data-mono-1.4.0.2/src/unittests/core/GDataRequestExceptionTest.cs

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Daniel T Chen, Iain Lane
  • Date: 2009-03-18 00:40:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090318004051-ujn1ja3kiu3ky7ru
Tags: 0.8.1.3+dfsg-0ubuntu1
[ Daniel T Chen ]
* New upstream release (LP: #344578)
  + Banshee plugin goes crazy if banshee isn't loaded first
    (LP: #289802)
  + gnome-do gCalculate plugin fails to display "times" symbol
    (LP: #274252)
  + Banshee-1 fails to build in Mono 2.0 (LP: #309188)
  + Pidgin 2.5.4 has incompatible dbus interface. s/uint/int/
    (LP: #314927)
  + Pidgin plugin hangs opening a chat if pidgin is unresponsive
    (LP: #315565)
  + twitter plugin still reports friend updates even when
    deactivated (LP: #317674)
  + Misspelling in microblogging plugin confirmation message
    (LP: #319433)
  + make install uses mdtool, but configure doesn't check for it
    (LP: #322951)
  + Virtualbox Icon in 2.10 are broken because of a new
    specification (LP: #323902)
  + Google Maps Plugin shouldn't always use route (LP: #324271)
  + Fix for Google Maps when using newlines and other special
    characters (LP: #324667)
  + VirtualBox failed to load icon (LP: #325712)
  + 'Read Man Pages' plugin makes Gnome-Do unresponsive
    (LP: #325935)
  + Search returns broken URLs (LP: #327855)
  + Default action for SSH hosts is "open" (LP: #328236)
  + Files and Folders Configuration doesn't use standard buttons
    (LP: #328236)
  + Window manager maximize action should focus if window is not
    currently focused (LP: #258893)
  + Locate plugin has no error message (LP: #262360)
  + Wishlist: Let user specify files and folders to ignore
    (LP: #263177)
  + ts-client plugin doesn't index subdirectories (LP: #322352)
  + Max 3000 items in Files and Folders plugin (LP: #324105)
  + putty cannot find host when running from gnome do
    (LP: #324282)
  + locate plugin with globbing (LP: #334798)
  + Twitter plugin encountered an error in UpdateFriends
    (LP: #317575)
  + gnome-terminal profiles no longer work (LP: #321977)
  + Creating a task using Remember the Milk plugin can fail if
    no task list is specified (LP: #324066)
  + bundled libraries makefile needs destdir (LP: #324704)
  + Typographical error in del.icio.us plugin (LP: #330525)
  + ImageShack fails to upload (LP: #337324)
* debian/copyright
  + Refresh for new upstream version; new plugins added.
* debian/patches/00_dfsg_autofoo.dpatch
  + Update for new upstream version
  + Don't build the YouTube plugin due to removal of shipped
    exes and dlls causing FTBFS
* debian/patches/02_ssh_respect_exec_arg.dpatch
  debian/patches/03_buildsystem_respect_mcs.dpatch
  debian/patches/04_fix_pidgin_dbus_ints.dpatch
  + Drop; fixed upstream

[ Iain Lane ]
* debian/rules: Update repackaging to not delete *.dll; upstream now ships
  source copies of google-gdata meaning we can now enable the Google and
  Youtube plugins.
* debian/patches/00_dfsg_autofoo: Drop, fixed by including and building
  these libs now. 
* debian/copyright: Update with information for google-gdata. 
* debian/patches/04_fix_pidgin_dbus_ints.dpatch: Add left out piece of patch
* debian/control: Bump gnome-do build-dep to require current version. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using Google.GData.Client;
 
2
using NUnit.Framework;
 
3
using Google.GData.Client.UnitTests;
 
4
 
 
5
    
 
6
    
 
7
 
 
8
using System.Net;
 
9
using System.Runtime.Serialization;
 
10
using System;
 
11
 
 
12
namespace Google.GData.Client.UnitTests.Core
 
13
{
 
14
    
 
15
    
 
16
    /// <summary>
 
17
    ///This is a test class for GDataRequestExceptionTest and is intended
 
18
    ///to contain all GDataRequestExceptionTest Unit Tests
 
19
    ///</summary>
 
20
    [TestFixture][Category("CoreClient")]
 
21
    public class GDataRequestExceptionTest
 
22
    {
 
23
 
 
24
 
 
25
        private TestContext testContextInstance;
 
26
 
 
27
        /// <summary>
 
28
        ///Gets or sets the test context which provides
 
29
        ///information about and functionality for the current test run.
 
30
        ///</summary>
 
31
        public TestContext TestContext
 
32
        {
 
33
            get
 
34
            {
 
35
                return testContextInstance;
 
36
            }
 
37
            set
 
38
            {
 
39
                testContextInstance = value;
 
40
            }
 
41
        }
 
42
 
 
43
        #region Additional test attributes
 
44
        // 
 
45
        //You can use the following additional attributes as you write your tests:
 
46
        //
 
47
        //Use ClassInitialize to run code before running the first test in the class
 
48
        //[ClassInitialize()]
 
49
        //public static void MyClassInitialize(TestContext testContext)
 
50
        //{
 
51
        //}
 
52
        //
 
53
        //Use ClassCleanup to run code after all tests in a class have run
 
54
        //[ClassCleanup()]
 
55
        //public static void MyClassCleanup()
 
56
        //{
 
57
        //}
 
58
        //
 
59
        //Use TestInitialize to run code before running each test
 
60
        //[TestInitialize()]
 
61
        //public void MyTestInitialize()
 
62
        //{
 
63
        //}
 
64
        //
 
65
        //Use TestCleanup to run code after each test has run
 
66
        //[TestCleanup()]
 
67
        //public void MyTestCleanup()
 
68
        //{
 
69
        //}
 
70
        //
 
71
        #endregion
 
72
 
 
73
 
 
74
        /// <summary>
 
75
        ///A test for ResponseString
 
76
        ///</summary>
 
77
        [Test]
 
78
        public void ResponseStringTest()
 
79
        {
 
80
            GDataRequestException target = new GDataRequestException(); // TODO: Initialize to an appropriate value
 
81
            string actual;
 
82
            actual = target.ResponseString;
 
83
            Assert.IsNull(actual);
 
84
        }
 
85
 
 
86
        /// <summary>
 
87
        ///A test for Response
 
88
        ///</summary>
 
89
        [Test]
 
90
        public void ResponseTest()
 
91
        {
 
92
            GDataRequestException target = new GDataRequestException(); // TODO: Initialize to an appropriate value
 
93
            WebResponse actual;
 
94
            actual = target.Response;
 
95
            Assert.IsNull(actual);
 
96
        }
 
97
 
 
98
        /// <summary>
 
99
        ///A test for GDataRequestException Constructor
 
100
        ///</summary>
 
101
        [Test]
 
102
        public void GDataRequestExceptionConstructorTest()
 
103
        {
 
104
            string msg = "TestValue"; // TODO: Initialize to an appropriate value
 
105
            WebException exception = new WebException();
 
106
            GDataRequestException target = new GDataRequestException(msg, exception);
 
107
 
 
108
            Assert.IsNotNull(target);
 
109
            Assert.AreEqual(msg, target.Message);
 
110
            Assert.AreEqual(exception, target.InnerException);
 
111
        }
 
112
    }
 
113
}