Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-29Remove ChangeLog files from the repoAlexander Köplinger
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29[corlib] Improve CancellationTokenSource testAlexander Köplinger
Get rid of the Thread.Sleep calls that are prone to timing issues.
2016-01-28[bcl] Fix dll names and InternalsVisibleTo for test assembliesAlexander Köplinger
The format of the test assembly name changed in 860334ff45a8d1c5886b8dbcfadaf28ac55b9393 from System.Web_test_net_4_x.dll to net_4_x_System.Web_test.dll. This fixes all the places where the old name was used.
2016-01-23[mobile_static] Fixed AES class usage for mobile_static profileAlexander Kyte
2016-01-23[mobile_static] Work around a test that breaks with aot loadingAlexander Kyte
2016-01-23[mobile_static] Fix test by replicating monotouch behaviorAlexander Kyte
2016-01-23[mobile_static] Disable task test described to fail on Touch.Unit and ↵Alexander Kyte
clearly on mobile_static
2016-01-23[bcl] Mark finalizer-dependent test as not working because finalizers are ↵Alexander Kyte
not guaranteed, too flaky for bcl test suite
2016-01-23[mobile_static] Fixed test that needed test .dlls explicitly namedAlexander Kyte
2016-01-23[mobile_static] Added missing mobile_static blacklistsAlexander Kyte
2016-01-23[bcl/mobile] Fixed TimeZoneTest on non-xammac/non-monotouch mobile profilesAlexander Kyte
2016-01-23[bcl] Exclude tests for mobile_static excluded on monotouchAlexander Kyte
2016-01-21[corlib] Throw correct exception for GetCultureInfo(0)Sandy Armstrong
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=37848
2016-01-16[corlib] Improve CancellationTokenSource testMarek Safar
2016-01-11[reflection] Test MethodInfo.ReflectedType propertyAleksey Kliger
Test cases for [#12205](https://bugzilla.xamarin.com/show_bug.cgi?id=12205)
2016-01-09[corlib] Disable Thread test that started failing after ↵Alexander Köplinger
d5768a7f141e2a579cbca26f76c791c215f4aabf Setting the priority before starting a Thread doesn't work right now as there's no handle to the native thread at that point (the current implementation doesn't store the priority, it just tries setting it on the native thread) so the test would remember the default 'Normal' priority instead of 'BelowNormal', causing the test to fail later on. Added an assert to verify that the thread priority can be set before starting and disable the test for now. Note: variable names 'before' and 'after' were switched in the test, fixed those as well.
2016-01-07[corlib] Remove multiple appdomain support (AppDomain.CreateDomain, etc) ↵Rolf Bjarne Kvinge
from tvOS/watchOS.
2016-01-04[corlib] Remove RijndaelManaged test that makes no sense with ↵Alexander Köplinger
referencesource impl The CreateEncryptor_KeyNull and CreateDecryptor_KeyNull tests tried to verify the previous Mono behavior of throwing a CryptographicException when a null key is passed to the methods [1]. However, with the move to referencesource this no longer happens since when a null key is passed a random one is generated instead [2]. The existing tests passed out of pure luck because a different CryptographicException is thrown later on: ``` System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, System.Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) [0x007b5] in /Users/alexander/dev/mono/external/referencesource/mscorlib/system/security/cryptography/rijndaelmanagedtransform.cs:751 at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock (System.Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) [0x000bb] in /Users/alexander/dev/mono/external/referencesource/mscorlib/system/security/cryptography/rijndaelmanagedtransform.cs:336 at MonoTests.System.Security.Cryptography.RijndaelManagedTest.CreateDecryptor_KeyNull () [0x00066] in /Users/alexander/dev/mono/mcs/class/corlib/Test/System.Security.Cryptography/RijndaelManagedTest.cs:233 ``` Unfortunately, sometimes it happens with the random key that this exception *doesn't* get thrown as the padding is valid, which makes the test randomly fail on Jenkins. Deleting those tests is the simplest fix. [1] https://github.com/mono/mono/blob/mono-4.0.0-branch/mcs/class/corlib/System.Security.Cryptography/RijndaelManagedTransform.cs#L107 [2] https://github.com/mono/referencesource/blob/33edf60ec4d35aba11850872777c8b3a484ca484/mscorlib/system/security/cryptography/rijndaelmanaged.cs#L66
2016-01-02[runtime] Avoid a crash if a generic type definition is passed to ↵Zoltan Varga
RuntimeHelpers.RunClassConstructor (). Fixes #37313.
2015-12-14Bump reference souces to include fix for #36786Marek Safar
2015-12-13[corlib] Fix String.PadLeft/Right tests and add a new test for large stringAlexander Köplinger
We didn't catch the regression that is fixed in a780c52749695141c2037a5828808a82880292f6 because the tests didn't check the actual string or that an OOM is raised. Add a new test for creating a large string (which works on 64bit Mono) to test a similar codepath.
2015-12-11[threadpool] Fix GetAvailableThreads testLudovic Henry
2015-12-10[threadpool] Fix System.Web tests failuresLudovic Henry
2015-12-10Merge pull request #2310 from lambdageek/dev/bug-36305Aleksey Kliger (λgeek)
[reflection] Fix MethodInfo.GetBaseDefinition for open constructed types (close #36305)
2015-12-09[threadpool] Fix get min and available threads icallsLudovic Henry
Fix bug #36414
2015-12-09[reflection] Test case for 36305.Aleksey Kliger
When the base type of a generic type is an open constructed generic type, GetBaseDefinition() must take the instantiation into account while traversing the class hierarchy.
2015-12-06Merge pull request #2276 from lambdageek/dev/bug-36283Rodrigo Kumpera
[reflection] Fix Type.GetProperties() for generic class instances
2015-12-05[corlib][tests] Disable tests that requires Windows (dllimport) on mobile ↵Sebastien Pouliot
profile This enables building the tests w/bitcode enabled on AppleTV (and they were already excluded from the results anyway). Part of the fix for https://bugzilla.xamarin.com/show_bug.cgi?id=36569
2015-12-03Failing test case for 36283Aleksey Kliger
2015-12-03Test case for #36418Aleksey Kliger
2015-11-21[corlib] Bump reference source for .net 4.6 hotfix. Fixes #36003Marek Safar
2015-11-20[corlib] Disable an attribute test which fails on mobile because of linking.Zoltan Varga
2015-11-19[corlib] Update long/short timepatterns. Reference source DateTimeInfo uses ↵Marek Safar
different logic for single pattern extraction. Fixes part of #36003
2015-11-19Remove Thread.[Abort|Suspend|Resume] from TvOS/WatchOS.Rolf Bjarne Kvinge
In tests replace usages of Thread.Abort with Thread.Interrupt when it looks like it can work, otherwise just disable the complete test.
2015-11-18[tests] Skip Local name (incorrect) assumption for iOS/tvOS/watchOS/OSX in ↵Sebastien Pouliot
TimeZoneInfo tests
2015-11-18[runtime] Fix the lookup of nested types in type forwarders. Fixes #35447.Zoltan Varga
2015-11-16Updated Assert.Equals to Assert.AreEqualMarcos Henrich
2015-11-15[runtime] Fix Thread.CurrentThread in non-root appdomains by setting the tls ↵Zoltan Varga
slot in start_wrapper, otherwise Thread.CurrentThread would create a new Thread object so there would be two. Fixes #35828.
2015-11-13Merge pull request #2227 from esdrubal/tzparseRodrigo Kumpera
[corlib] Fixes TimeZoneInfo.ParseTZBuffer abbrevs.
2015-11-13[corlib] Tests TimeZoneInfo.ParseTZBufferMarcos Henrich
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=31432 Tests TimeZoneInfo.ParseTZBuffer with Europe/Moscow data that thrown at System.ThrowHelper.ThrowKeyNotFoundException () at System.Collections.Generic.Dictionary`2[System.Int32,System.String].get_Item (Int32 key)mscorlib/system/collections/generic/dictionary.cs:176 at System.TimeZoneInfo.ParseTimesTypes (System.Byte[] buffer, Int32 index, Int32 count, System.Collections.Generic.Dictionary`2 abbreviations) [0x0002f] in mcs/class/corlib/System/TimeZoneInfo.cs:1293 at System.TimeZoneInfo.ParseTZBuffer (System.String id, System.Byte[] buffer, Int32 length)
2015-11-12Rewrite the test case from commit b503b87a to not use Assert.IsInstanceOfType().Martin Baulig
2015-11-11Crashing test in mono_class_init() from a MonoGenericClass.Aleksey Kliger
[#35375](https://bugzilla.xamarin.com/show_bug.cgi?id=35375)
2015-11-11[corlib] Fix Array.Sort throwing when fewer keys than items are providedAlexander Köplinger
The `Sort<TKey, TValue> (TKey [] keys, TValue [] items, IComparer<TKey> comparer)` overload in Array throwed when keys.Length != items.Length. However, on .NET you can pass in a keys array with fewer elements than in items and it'd sort the elements in items up to that point. Fixed our implementation by only throwing when keys.Length > items.Length. This was revealed by the coreclr/tests/src/CoreMangLib/cti/system/array/arraysort12.exe test. I decided to port the test into our testsuite so we catch regressions earlier.
2015-11-10[corlib] Disable FullNameGetTypeParseEscapeRoundtrip test on Android.Alex Rønne Petersen
This requires the symbol writer which is not available on Android.
2015-11-10[runtime] Fix Enum.GetHashCode when basetype is short or sbyte.Rodrigo Kumpera
In addition to fixing the runtime, fix the test suite to correctly detect this problem. This popped up because, for some reason, those two types have hashcodes that don't return identity on reference sources.
2015-10-29[tests] Adjust MathTest double epsilon valueLudovic Henry
The double.Epsilon value represent the smallest value that double is able to represent. And that is diferent from the machine epsilon, which is the smallest difference between two double values. The second is equal to 2 ^ (-52), because there are 52bits to represent the mantissa in a IEEE 754 double.
2015-10-28Use 'using SD = System.Diagnostics' to avoid ambiguous references.Martin Baulig
2015-10-28[tests] Fix Math.Pow precision bug on AndroidLudovic Henry
2015-10-24Add a new Moono_GetStackTraces method to Thread which can be used to obtain ↵Zoltan Varga
stack traces for all running threads.
2015-10-22[corlib] Add non-overlapping buffer MemoryCopy implementationMarek Safar