Commit Graph
13 Commits
Author SHA1 Message Date
Marek Habersack 0a6c794f1e [system] Part of fix for bug #683339. NameValueCollection.Add (NameValueCollection) must call the Get* overloads instead of BaseGet*
Otherwise classes wrapping NameValueCollection will not be able to intercept the Add call which leads to errors in MVC3's
FormCollection.
2011-04-01 11:55:09 +02:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Robert Jordan b2b4ea5f30 2009-06-26 Robert Jordan <[email protected]>
* BitVector32Test.cs, NameValueCollectionTest.cs:
	Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=136954
2009-06-26 12:49:57 +00:00
Roei Erez 4114bedb60 Bug fix for NameValueCollection constructors:
** NameValueCollection(IEqualityComparer) that gets null as an argument..
** NameValueCollection(NameValueCollection).
Two test cases added.

svn path=/trunk/mcs/; revision=78007
2007-05-27 13:02:10 +00:00
Ilya Kharmatsky 38978683b8 Proper exceptions throwing / handling under NET_2_0 target.
svn path=/trunk/mcs/; revision=76446
2007-04-29 09:08:22 +00:00
Sebastien Pouliot ced1d4c988 2005-11-30 Sebastien Pouliot <[email protected]>
* BitVector32Cas.cs: New. CAS unit tests.
	* BitVector32Test.cs: More test cases to increase coverage.
	* CollectionsUtilCas.cs: New. CAS unit tests.
	* HybridDictionaryCas.cs: New. CAS unit tests.
	* HybridDictionaryTest.cs: More test cases to increase coverage.
	* ListDictionaryCas.cs: New. CAS unit tests.
	* ListDictionaryTest.cs: More test cases to increase coverage.
	* NameObjectCollectionBaseCas.cs: New. CAS unit tests.
	* NameObjectCollectionBaseTest.cs: New. Unit tests.
	* NameValueCollectionCas.cs: New. CAS unit tests.
	* NameValueCollectionTest.cs: More test cases to increase coverage.
	* OrderedDictionaryCas.cs: New. CAS unit tests.
	* OrderedDictionaryTest.cs: New. Unit tests.
	* StringCollectionCas.cs: New. CAS unit tests.
	* StringCollectionTest.cs: More test cases to increase coverage.
	* StringDictionaryCas.cs: New. CAS unit tests.
	* StringDictionaryTest.cs: New. Unit tests.


svn path=/trunk/mcs/; revision=53679
2005-11-30 13:55:40 +00:00
Jackson Harper c71481a2f6 * NameValueCollection.cs: Don't crash when we have empty
collections.


svn path=/trunk/mcs/; revision=49149
2005-08-30 19:48:30 +00:00
Sebastien Pouliot 0bae4d8bb1 2004-06-14 Sebastien Pouliot <[email protected]>
* NameValueCollectionTest.cs: Added test for remove (case insensitive).

svn path=/trunk/mcs/; revision=29545
2004-06-14 20:09:06 +00:00
Sebastien Pouliot 4c43e39933 2004-06-14 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an non-empty dictionary.
	* NameValueCollectionTest.cs: Added tests for CopyTo(Array,int).

svn path=/trunk/mcs/; revision=29533
2004-06-14 19:06:10 +00:00
Sebastien Pouliot d497ff12cd 2004-06-05 Sebastien Pouliot <[email protected]>
* HybridDictionaryTest.cs: Added cases with an empty diectionary.
	* NameValueCollectionTest.cs: Added tests to add and replace (set)
	existing values in collection. Added tests for CopyTo.

svn path=/trunk/mcs/; revision=28890
2004-06-05 23:47:06 +00:00
Martin Willemoes Hansen 2320c1fddc * Removed: Old AllTests.cs files
* NUnit20ified the tests.

svn path=/trunk/mcs/; revision=12666
2003-03-18 21:45:41 +00:00
Lawrence Pit 21897fd452 WebHeaderCollection implemented
svn path=/trunk/mcs/; revision=4531
2002-05-11 15:30:44 +00:00
Lawrence Pit b04cb804fe Moved StringCollectionTest.cs and NameValueCollectionTest to this dir
svn path=/trunk/mcs/; revision=4445
2002-05-09 13:28:33 +00:00