Commit Graph
5 Commits
Author SHA1 Message Date
Marek Safar e690750541 2008-07-01 Marek Safar <[email protected]>
* ContentDispositionTest.cs: Fixed broken test.


svn path=/trunk/mcs/; revision=106968
2008-07-01 10:31:30 +00:00
Raja R Harinath 74e0026c67 * System.Net.Mime/ContentDispositionTest.cs: Use Assert.AreEqual
rather than Assert.IsTrue(foo == bar) where appropriate.
(ToStringTest):	Make it work on all timezones.

svn path=/trunk/mcs/; revision=55137
2006-01-06 10:44:25 +00:00
John Luke a895acd659 2006-01-02 John Luke <[email protected]>
* ContentDisposition.cs: remove [MonoTODO]'s
        access and store the properties in Parameters
        ToString is now just DispositionType + the parameters
        * ContentType.cs: remove [MonoTODO]'s
        use parameters to store Name, Boundary, and CharSet
        ToString is now just MediaType + the parameters
        throw FormatException for unrecognized paremeter in ctor
        * TransferEncoding.cs: remove [Serializable]

svn path=/trunk/mcs/; revision=54993
2006-01-03 01:31:59 +00:00
John Luke d46799b1c9 2005-12-26 John Luke <[email protected]>
* ContentDisposition.cs: Size is -1 by default
        throw ArgumentNullException and ArgumentException for
        set_DispositionType
        * ContentType.cs: throw ArgumentNullException, ArgumentException,
        and FormatException for set_MediaType
        don't print Boundary,Name in ToString() if they are ""

svn path=/trunk/mcs/; revision=54852
2005-12-26 18:21:47 +00:00
John Luke e0262fc1cc 2005-12-23 John Luke <[email protected]>
* ContentDisposition.cs: override GetHashCode and
        Equals, implement ToString,
        fix Size to be long not int,
        implement Inline property,
        implement the ctors
        * ContentType.cs: override GetHashCode and Equals
        implement ToString, implement the ctors


svn path=/trunk/mcs/; revision=54825
2005-12-24 03:31:21 +00:00