Commit Graph
11 Commits
Author SHA1 Message Date
Marcos Henrich da04211894 Test Calendar.DaysInYear. Covers #21930. 2014-09-11 12:53:25 +01:00
Zoltan Varga 227b251f89 2009-06-25 Zoltan Varga <[email protected]>
* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136880
2009-06-25 20:16:53 +00:00
Atsushi Eno d33e17636c 2007-07-17 Atsushi Enomoto <[email protected]>
* CalendricalCalculations.cs, JulianCalendar.cs :
	  true fix for bug #81783. GetMonths() should consider month part
	  going beyond 12.

	* CalendarTest.cs : true test for bug #81783 (overflown month in
	  AddMonths().)


svn path=/trunk/mcs/; revision=82072
2007-07-17 02:34:27 +00:00
Atsushi Eno 8a50d92ad4 2007-07-10 Atsushi Enomoto <[email protected]>
* HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
	  GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs :
	  implemented ToFourDigitYear(), actually base implementation mostly
	  works as is.

	* CalendarTest.cs : enabled ToFourDigitYear() test from 5 years ago.
	  and added some more ToFourDigitYear() tests.


svn path=/trunk/mcs/; revision=81688
2007-07-10 07:01:38 +00:00
Atsushi Eno 33e726b5b4 2007-07-09 Atsushi Enomoto <[email protected]>
* CalendarTest.cs : added GetWeekOfYear() test.


svn path=/trunk/mcs/; revision=81624
2007-07-09 09:37:34 +00:00
Atsushi Eno 8111fd9f67 2007-07-03 Atsushi Enomoto <[email protected]>
* CalendarTest.cs, EastAsianLunisolarCalendarTest.cs :
	  more tests needed mark as NotWorking.


svn path=/trunk/mcs/; revision=81281
2007-07-03 17:31:17 +00:00
Atsushi Eno a87721a7ce 2007-07-02 Atsushi Enomoto <[email protected]>
* UmAlQuraCalendar.cs
	  EastAsianLunisolarCalendar.cs
	  ChineseLunisolarCalendar.cs
	  TaiwanLunisolarCalendar.cs
	  JapaneseLunisolarCalendar.cs
	  KoreanLunisolarCalendar.cs : new 2.0 calendars.
	* Calendar.cs
	  HijriCalendar.cs HebrewCalendar.cs ThaiBuddhistCalendar.cs
	  GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
	  TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
	  added GetLeapMonth().
	* CalendricalCalculations.cs : added some lunisolar calendar stuff.
	  mostly stubs.

	* EastAsianLunisolarCalendarTest.cs : new test, totally not-working.
	* CalendarTest.cs : added couple of 2.0 tests. Some are not working.

	* corlib.dll.sources : added couple of new 2.0 calendars.
	* corlib_test.dll.sources : added EastAsianLunisolarCalendarTest.cs.


svn path=/trunk/mcs/; revision=81162
2007-07-02 08:33:31 +00:00
Atsushi Eno d7e3c98820 2007-06-01 Atsushi Enomoto <[email protected]>
* Calendar.cs DateTimeFormatInfo.cs : 2.0 API fixes.
	* CalendricalCalculations.cs : fixed AddMonth() and AddYears() to
	  consider that the max days in the target month (for AddYears()
	  leap year month could matter). Fixed bug #81783.

	* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
	  (similar issue).


svn path=/trunk/mcs/; revision=78429
2007-06-01 16:40:20 +00:00
Atsushi Eno 3b68ed659f 2006-03-21 Atsushi Enomoto <[email protected]>
* HebrewCalrndar.cs : simply use CCHebrewCalendar.last_day_of_month().
	  Patch by Yaacov Akiba Slama. Fixed bug #76252.

	* CalendarTest.cs : added test for bug #76252.


svn path=/trunk/mcs/; revision=58211
2006-03-21 01:49:24 +00:00
Nick Drochak 99a25b98bd 2002-12-21 Nick Drochak <[email protected]>
* all: make tests build and run under nunit2

svn path=/trunk/mcs/; revision=9817
2002-12-21 14:15:43 +00:00
Ulrich Kunitz 1e55fd531a added my tests for the calendars
svn path=/trunk/mcs/; revision=3464
2002-03-28 20:07:42 +00:00