Introduce and use common calendar test base (dotnet/corefx#35150)
authorHugh Bellamy <hughbellars@gmail.com>
Wed, 13 Feb 2019 15:58:15 +0000 (15:58 +0000)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Wed, 13 Feb 2019 15:58:15 +0000 (07:58 -0800)
commit5defc0128e18a266cd39fd85534dc3ec24d31408
tree8ff08febdd97bebd90aca69afe150d725a0a63e9
parentd9883f06f34e6b754a61cd80eebf2a15616173e8
Introduce and use common calendar test base (dotnet/corefx#35150)

* Introduce common test base for Calendars

* Consolidate more tests

* Fix netfx test run

* Fix TwoYearDigitMax tests

Commit migrated from https://github.com/dotnet/corefx/commit/8be17f83dfb6f9615b960d9fd048e1bb17c30533
32 files changed:
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarCtor.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarEras.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarMaxSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarMinSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarTwoDigitYearMax.cs
src/libraries/System.Globalization.Calendars/tests/JapaneseCalendar/JapaneseCalendarEras.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/JapaneseCalendar/JapaneseCalendarMaxSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/JapaneseCalendar/JapaneseCalendarMinSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarMaxSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarTwoDigitYearMax.cs
src/libraries/System.Globalization.Calendars/tests/System.Globalization.Calendars.Tests.csproj
src/libraries/System.Globalization.Calendars/tests/System/Globalization/CalendarTestBase.cs [moved from src/libraries/System.Globalization.Calendars/tests/CalendarHelpers.cs with 52% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/ChineseLunisolarCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/EastAsianLunisolarCalendarTestBase.cs [moved from src/libraries/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarMinSupportedDateTime.cs with 55% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/GregorianCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/HebrewCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/HijriCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/JapaneseCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/JapaneseLunisolarCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/JulianCalendarTests.cs [moved from src/libraries/System.Globalization.Calendars/tests/TaiwanCalendar/TaiwanCalendarEras.cs with 61% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/KoreanCalendarTests.cs [moved from src/libraries/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarEras.cs with 61% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/KoreanLunisolarCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/PersianCalendarTests.cs [moved from src/libraries/System.Globalization.Calendars/tests/PersianCalendar/PersianCalendarTest.cs with 99% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/TaiwanCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/TaiwanLunisolarCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/ThaiBuddhistCalendarTests.cs [moved from src/libraries/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarEras.cs with 60% similarity]
src/libraries/System.Globalization.Calendars/tests/System/Globalization/UmAlQuraCalendarTests.cs [new file with mode: 0644]
src/libraries/System.Globalization.Calendars/tests/TaiwanCalendar/TaiwanCalendarMaxSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/TaiwanCalendar/TaiwanCalendarMinSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarMaxSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarMinSupportedDateTime.cs [deleted file]
src/libraries/System.Globalization.Calendars/tests/ThaiBuddhistCalendar/ThaiBuddhistCalendarTwoDigitYearMax.cs