Age | Commit message (Collapse) | Author |
|
* [System.Data] cleanup
* Remove DataProviderTests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Roslyn looks only inside `$msbuild_bin/Roslyn/` and does not fallback to
the framework path. msbuild worked around this by setting `CscToolPath`:
https://github.com/mono/msbuild/commit/157a0f4d1a7aadd4e561e3ca8c784cbc2529926f
But this kicks in only if the default msbuild target files are imported!
If the `Csc` task is being used without importing them, then we fail
with
`error MSB3082: Task failed because "csc.exe" was not found.`
`Microsoft.CodeAnalysis.VisualBasic.dll` is the only file not being
symlinked, after this change. So, instead we will symlink all the files.
Fixes bxc #60340 .
|
|
Preserve
`System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType`. It
is called from `object.c:mono_object_new_specific_checked` when
constructing remoting or com objects.
I didn't add `feature="remoting"` because it is used also for com
objects.
Added linker test. Without the LinkerDescriptor addition, it fails
like this:
Unhandled Exception:
System.NotSupportedException: Linked away.
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
at C.Main () [0x00001] in /Users/rodo/git/mono/mcs/tools/linker/Tests/mscorlib/test-remoting.cs:11
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Linked away.
at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
at C.Main () [0x00001] in /Users/rodo/git/mono/mcs/tools/linker/Tests/mscorlib/test-remoting.cs:11
|
|
security Transport|Message). (#5842)
See also:
* https://stackoverflow.com/questions/37813752/wcf-and-data-contract-with-template
* https://bugzilla.xamarin.com/show_bug.cgi?id=58261
|
|
|
|
corefx.unix.sources wasn't included in the tarball so it failed.
|
|
|
|
This broke "make dist" after 61559965a188d03456d6f7840a0cdabdf35c2400
because comments were added to System.Data_test.dll.sources
and they weren't stripped when TEST_FILES was computed so it tried
to include them in the tarball as files.
|
|
[System.URI] Don't reset host string processing on Unicode paths. Fix…
|
|
* [System.Data] move to corefx
* [System.Data] Missing API: SqlTypesSchemaImporters
* [System.Data] Missing API: SqlNotification*
* [System.Data] Missing API: SqlDataSourceEnumerator
* [System.Data] Missing API: SQLDebugging
* [System.Data] fix build
* [System.Data] remove public API from different assemblies
* Apply corefx changes
* Hide some PropertiesTest (missing API in corefx)
* Missing API: TypedDataSetGenerator*, etc
* Missing API: SqlClientMetaDataCollectionNames
* Missing API: SqlCredential
* SqlMetaDataFactory.cs is actually sqlmetadatafactory.cs (case sensitive)
* Missing API: PoolBlockingPeriod
* Fix case-sensitive issues
* Odbc support (requires changes in corefx)
* ODBC support
* Re-enable ODBC ProviderTests
* Apply corefx changes
* temp commit: fix build
* Missing API: Microsoft.SqlServer.Server.*
* Missing API: DBDataPermission, OdbcPermission, SqlClientPermission
* Missing API: DbProviderFactoriesConfigurationHandler, DbProviderConfigurationHandler, DbProviderFactory.CreatePermission
* Missing API: DbProviderFactories
* Missing API: SqlCommand BeginXXX methods, SqlException.Message, OdbcFactory.CreatePermission
* Add System.Data.SqlClient.SqlMetaData.xml (embedded resource)
* reorganize *.sources files for win32, macos and linux
* bump corefx
* [System.Data] API: SqlDataSourceEnumerator, SqlClientFactory, SqlParameter, SqlMetaData
* [System.Data] cleanup
* [System.Data] mobile profile, cleanup
* [System.Data] Fix few odbc tests (changes are in corefx PR)
* [System.Data] fix Open_ConnectionString_DatabaseInvalid test
* [System.Data] enable all tests
* Add AsynchronousProcessing and ConnectionReset to SqlConnectionStringBuilder
* [System.Data] fix build
* fix all ProvierTests
* fix tests (files several issues against the corefx)
* system-data code cleanup
* system-data code cleanup
* add SqlTypesSchemaImporters
* remove corefx/RuntimeInformation.cs, add OleDbPermission stub
* OleDbPermission should be serializable (fixing tests)
* remove ODBC from mobile profile
* fix linux build - add 619 (obsolete) to nowarn list.
* temp commit
* fix a few api diff issues
* add OleDbType type (currently exists even in mobile profiles)
* add stubs
* Add stubs for OleDb
* improve oledb stubs
* improve oledb stubs
* improve oledb stubs
* more oledb stubs
* add xunit tests from corefx
* Add SqlClient corefx tests
* use corefx sources for System.Data.DataSetExtensions
* Remove [InternalsVisibleTo ("System.Data.DataSetExtensions")] from System.Data
* [System.Data] sync with external/corefx
* fix linux\macOS builds
* Fix xunit tests
* System.Data/Makefile cleanup
* tabify System.Data
* Rollback changes in System.Web & SqlSharpCli
* small cleanup
* [System.Data] Remove redundant .sources files
* [System.Data] update odbc Res.cs
* [System.Data] Remove redundant .sources files
* fix System.Data.dll.sources (add a blank line)
* remove TypeForwarder for DBNull and register xunit tests for System.Data
* Bump API snapshot submodule
|
|
These tests classes are already included in the corlib test assembly.
Having them duplicated in System.Core causes issues in XA because
both test assemblies are in the same process.
To solve this we introduce abstract *TestBase classes that we can
share between the test assemblies and only mark the concrete test
class implementations with [TestFixture]
|
|
|
|
* [bcl] Remove AssertExtensions helper classes
Since we're on nunitlite now we can use the proper `Assert.Throws<>()`
instead and remove the helper class (which we actually duplicated!)
|
|
|
|
|
|
|
|
This may not be the final fix; the Mono-only workaround was introduced in b5dc9a4951bd35b61b29faa4df93bca3c31bfa3e to fix a crash with Unicode paths in TryCreate. However the test case for that issue now succeeds without the workaround.
|
|
|
|
|
|
#60233) (#5813)
* [test] ILGenerator test for duplicate methodspec tokens
Regression test for [Bugzilla #60233](https://bugzilla.xamarin.com/show_bug.cgi?id=60233)
* [sre] mono_dynamic_image_register_token: Change asserts to warnings
This partly relaxes the changes in 792b5367cd3a6ffa1a192c4d2d7ace3509cbb646
which added the assertions.
In practice the assertions introduced a crash in heavy uses of
System.Reflection.Emit such as unit testing frameworks and dynamic languages.
We still want to know if there are surprising uses of
mono_dynamic_image_register_token, but we don't need a crash. SRE used to work
before 792b5367cd3a6ffa1a192c4d2d7ace3509cbb646, so no need to break it.
* [sre] Register a canonical reflected method for a methodspec token (Fixes #60233)
This is like the fix for [bugzilla
59364](https://bugzilla.xamarin.com/show_bug.cgi?id=59364) but this time it's a
methodspec token, not a memberref token.
|
|
|
|
* [System.IdentityModel] Add excludes for tests that don't compile on monodroid profile
Also add a new test for X509CertificateValidator so the assembly
isn't empty on monodroid.
* [System.ServiceModel] Add excludes for tests that don't compile on monodroid profile
* [System.Security] Add excludes for tests that don't compile on monodroid profile
Also reduce duplication between common.sources and System.Security.dll.sources
* [System.Web.Services] Add excludes for tests that don't compile on monodroid profile
* [System.ComponentModel.DataAnnotations] Make tests compile on monodroid profile
|
|
Otherwise the assembly won't get rebuilt when you modify .exclude.sources
which can be quite confusing.
|
|
|
|
|
|
|
|
|
|
Just over a year ago Xamarin.Android switched to running BCL tests straight
from the Mono sources but at the time we decided we didn't want to enable
a number of "new" tests (in the sense - never previously ran on XA) to avoid
introducing new failures in time which required focusing on more important
goals.
Currently, Xamarin.Android no longer uses Mono **sources** to build its tests
but, rather, it uses test **assemblies** built by Mono. This commit restores
the previously excluded tests in preparation for full BCL test coverage in
the near future.
|
|
There was very little test coverage of the I18N encodings before.
This adds a bunch of tests based on Latin1EncodingTest.cs since
latin1 is quite similar to these encodings.
A few of the added tests fail in some encodings due to what looks
like bugs in the implementation, disabled those temporarily, see FIXME's.
(filed https://bugzilla.xamarin.com/show_bug.cgi?id=60216 for tracking)
|
|
This adds about 9800 Encoding related tests from corefx, all passing
after the latest fixes.
|
|
Also remove some debug spew.
|
|
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=53296
|
|
This is just confusing in the final output.
|
|
We need to modify charIndex/charCount _after_ we called
the fallback encoder otherwise it'll get the wrong index.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=45893
|
|
|
|
When I added temp dir handling to SaveTest in https://github.com/mono/mono/pull/5727
I copied the Setup/TearDown from TypeBuilderTest.
However that class doesn't actually save+load the assemblies so
it doesn't run into the issue on Windows where assemblies can't
be deleted because they're still loaded in the AppDomain.
To fix this follow CustomAttributeBuilderTest and ModuleBuilderTest,
i.e. just catch all Exception's in teardown...
|
|
We need this because XA is now starting to use the test assemblies
we build in the Mono repo instead of using the .cs source directly
and this would conflict.
|
|
[System.Windows.Forms] In MonthCalendar added validation on acceptable date interval. Fixes #60115
|