You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,392 +0,0 @@
|
||||
2010-05-14 Damien Diederen <dd@crosstwine.com>
|
||||
|
||||
* IdnMappingTest.cs: U+0221 is not unassigned anymore, use U+18B0
|
||||
|
||||
U+0221 is LATIN SMALL LETTER D WITH CURL in Unicode 4.0,
|
||||
and is recognized as a valid letter in recent versions of the
|
||||
.NET framework. This causes GetAsciiInvalid to (unexpectedly)
|
||||
succeed, and the test to fail.
|
||||
|
||||
Use U+18B0 instead, which is unassigned as of Unicode 5.2 and
|
||||
.NET 3.5 SP1.
|
||||
|
||||
2009-12-09 Jb Evain <jbevain@novell.com>
|
||||
|
||||
* StringInfoTest.cs: test the default constructor.
|
||||
|
||||
2009-10-29 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs: Add test cases to validate parameters
|
||||
|
||||
2009-06-25 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* *.cs: Convert all tests to new-style nunit classes/methods.
|
||||
|
||||
2009-05-27 Zoltan Varga <vargaz@gmail.com>
|
||||
|
||||
* CultureInfoTest.cs: Fix the net 1.1 build.
|
||||
|
||||
2009-05-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : test zh-Hant.
|
||||
|
||||
2009-01-07 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for #462957.
|
||||
|
||||
2008-08-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #402128.
|
||||
|
||||
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* SortKeyTest.cs : new test, for bug #376171.
|
||||
|
||||
2007-11-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : enabled test for bug #332553.
|
||||
|
||||
2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : added test for bug #335298.
|
||||
|
||||
2007-10-10 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* DateTimeFormatInfoTest.cs: Added test for bug #332553.
|
||||
|
||||
2007-07-17 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : true test for bug #81783 (overflown month in
|
||||
AddMonths().)
|
||||
|
||||
2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* StringInfoTest.cs : new test.
|
||||
|
||||
2007-07-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : enabled ToFourDigitYear() test from 5 years ago.
|
||||
and added some more ToFourDigitYear() tests.
|
||||
|
||||
2007-07-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : added GetWeekOfYear() test.
|
||||
|
||||
2007-07-05 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Fixed UseUserOverride tests to pass on systems
|
||||
where invariant culture is default locale.
|
||||
|
||||
2007-07-03 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Added extra info in order to troubleshoot
|
||||
buildbot failure on redhat9-i386.
|
||||
|
||||
2007-07-03 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs, EastAsianLunisolarCalendarTest.cs :
|
||||
more tests needed mark as NotWorking.
|
||||
|
||||
2007-07-02 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* EastAsianLunisolarCalenderTest.cs: Fixed build.
|
||||
|
||||
2007-07-02 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* EastAsianLunisolarCalendarTest.cs : new test, totally not-working.
|
||||
* CalendarTest.cs : added couple of 2.0 tests. Some are not working.
|
||||
|
||||
2007-06-24 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CultureInfoTest.cs: Added exception tests when invoking NumberFormat
|
||||
or DateTimeFormat on a neutral culture. Added tests for bug #81930.
|
||||
No longer derive from deprecated Assertion class. Added tests for
|
||||
GetCultureInfo (2.0).
|
||||
|
||||
2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
|
||||
(similar issue).
|
||||
|
||||
2007-05-31 Rolf Bjarne Kvinge <RKvinge@novell.com>
|
||||
|
||||
* DateTimeFormatInfo.cs: Added EraName.
|
||||
|
||||
2007-05-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* IdnMappingTest.cs : new test.
|
||||
|
||||
2007-05-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* RegionInfoTest.cs : new tests.
|
||||
|
||||
2007-03-06 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #79714.
|
||||
|
||||
2007-02-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #80865.
|
||||
|
||||
2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for bug #80612.
|
||||
|
||||
2007-01-22 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added Compare() tests for hyphens.
|
||||
Removed NotWorking from previous new test (its existence wasn't
|
||||
even recognized until today).
|
||||
|
||||
2007-01-11 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* CompareInfoTest.cs: Added test for checking valid CompareOptions for
|
||||
GetSortKey.
|
||||
|
||||
2006-12-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for OrdinalIgnoreCase versions
|
||||
of IndexOf() and LastIndexOf(). Added Ordinal LastIndexOf() tests.
|
||||
|
||||
2006-11-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : why there was "return" before OrdinalIgnoreCase
|
||||
tests ...
|
||||
|
||||
2006-06-08 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs : added test for bug #78569.
|
||||
|
||||
2006-04-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : seems like Microsoft had introduced several
|
||||
bugs in CompareInfo, so marked many of them as NotDotNet.
|
||||
|
||||
2006-04-10 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #69652.
|
||||
|
||||
2006-03-21 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CalendarTest.cs : added test for bug #76252.
|
||||
|
||||
2006-01-25 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added test for bug #77347.
|
||||
|
||||
2005-12-08 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* DaylightTimeTest.cs: New. Serialization interop test cases.
|
||||
|
||||
2005-12-06 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* TextInfoTest.cs: Added new tests for serialization and for new 2.0
|
||||
features.
|
||||
|
||||
2005-12-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : split the last case in NullCharacter() out
|
||||
and marked it as NotDotNet (.NET is inconsistent between Compare
|
||||
and IndexOf).
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added NullCharacter() for bug #76702.
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for Compare() w/ OrdinalIgnoreCase.
|
||||
|
||||
2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more tests for some specific cultures
|
||||
(say, Japanese) that have replacement contraction in ASCII range
|
||||
and caused incorrect results for LastIndexOf() and all dependent
|
||||
members.
|
||||
|
||||
2005-10-14 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* DateTimeFormatInfoTest.cs: New test to make sure we do not
|
||||
return the same array from GetAllDateTimePatterns.
|
||||
|
||||
2005-09-27 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added testcase for bug #76243.
|
||||
|
||||
2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added empty string cases for IsPrefix/IsSuffix.
|
||||
|
||||
2005-09-09 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added another test for IsSuffix() that I found.
|
||||
|
||||
2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
|
||||
|
||||
* TextInfoTest.cs: Added ListSeparator test.
|
||||
|
||||
2005-08-11 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs : added OptionalCalendars().
|
||||
* CompareInfoTest.cs : added possible bug test for checkedFlags
|
||||
optimization.
|
||||
|
||||
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Some GetSortKey That tests got working.
|
||||
|
||||
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Uncommented tests that got working. Added two
|
||||
cornercase notworking LastIndexOf() tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : IsSuffix() extender tests got working.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
|
||||
with ignorable source character. Added some non-working tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
|
||||
that takes an expansion for target char.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : removed some FIXMEs. Added more extender tests.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : some special weight tests got working.
|
||||
Commented on some FIXME tests why they are so.
|
||||
|
||||
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added extender tests for GetSortKey(),
|
||||
Compare(), IsPrefix(), IndexOf() and LastIndexOf().
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Added Compare() test that contains expansion.
|
||||
Fixed CompareSpecialWeight() which was not testing what I intended.
|
||||
Added IsPrefix() tests with special weight (copying Compare() tests)
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added CompareSpecialWeight() and moved special
|
||||
weight comparison there.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added GetSortKey() testcase that tests a
|
||||
sequence of nonprimary character followed by an extender.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more culture-sensitive "empty" test.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : Test for IndexOf() and LastIndexOf() with
|
||||
"empty" target (in culture-sensitive context).
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added ignorable character in target for
|
||||
IsPrefix/IsSuffix/IndexOf/LastIndexOf methods.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more special weight testcases.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added Czech and Hungarian sorting tests.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added more diacritical tests.
|
||||
|
||||
2005-07-13 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added test for CJK mapping customization.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added GetSortKey() test for Thai.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added special weight GetSortKey() test.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added several GetSortKey() tests.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added shift weight testcases. Commented one
|
||||
French sort thingy out.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added another French testcase.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added LastIndexOf() contraction cases and more.
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IsSuffix(),
|
||||
IndexOf(string,string) and LastIndexOf(string,string).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IsPrefix() and optionally
|
||||
Compare() (which is currently used inside IsPrefix() which is
|
||||
however wrong when it comes to managed collation).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf().
|
||||
Fixed tests for Compare() - it should use overloaded ones of
|
||||
the tested library (do not call overloaded tests themselves).
|
||||
|
||||
2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs : added a few managed collation tests for
|
||||
GetSortKey() and Compare() (they are ignored when managed collation
|
||||
is off).
|
||||
|
||||
2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* GlobalizationAndDomains.cs: more tests for bugz.
|
||||
|
||||
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs: added test that tries setting the culture to a
|
||||
neutral culture that is not the InvariantCulture.
|
||||
|
||||
2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* CultureInfoTest.cs: added new test.
|
||||
|
||||
2005-04-05 Atsushi Enomoto <atsushi@ximian.com>
|
||||
|
||||
* TextInfoTest.cs : added further ToTitleCase() tests.
|
||||
|
||||
2004-10-27 Ben Maurer <bmaurer@ximian.com>
|
||||
|
||||
* TextInfoTest.cs: Fix up migster's type
|
||||
|
||||
2003-12-19 Dick Porter <dick@ximian.com>
|
||||
|
||||
* CompareInfoTest.cs: Added some Compare tests
|
||||
|
||||
2002-12-21 Nick Drochak <ndrochak@gol.com>
|
||||
|
||||
* all: make tests build and run under nunit2
|
@@ -1183,6 +1183,9 @@ public class CompareInfoTest
|
||||
AssertCompare ("#12", 0, "aE", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
AssertCompare ("#13", 0, "ae", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
AssertCompare ("#14", 0, "ola", "OLA", CompareOptions.OrdinalIgnoreCase);
|
||||
// check ignorable characters
|
||||
AssertCompare ("#15", 0, "AE\uFFFC", "AE", CompareOptions.None);
|
||||
AssertCompare ("#16", 1, "AE\uFFFC", "AE", CompareOptions.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@@ -428,10 +428,10 @@ namespace MonoTests.System.Globalization
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetCultureInfo_Identifier_Negative ()
|
||||
public void GetCultureInfo_Identifier_Nonpositive ()
|
||||
{
|
||||
try {
|
||||
CultureInfo.GetCultureInfo (-1);
|
||||
CultureInfo.GetCultureInfo (0);
|
||||
Assert.Fail ("#1");
|
||||
} catch (ArgumentOutOfRangeException ex) {
|
||||
Assert.AreEqual (typeof (ArgumentOutOfRangeException), ex.GetType (), "#2");
|
||||
|
Reference in New Issue
Block a user