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

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-13Merge branch master into dev/engJose Perez Rodriguez
2017-01-13Fix tests run on desktop (#15100)Jeremy Kuhne
* Fix tests run on desktop Conditionalize tests appropriately so long path and new syntax support are taken into account. Move some test data into Theories for easier debugging. Fix and add issue to colon check tests until we fix CoreCLR. * Address feedback
2017-01-11Fix *special* test projectsEric St. John
WebServer.csproj doesn't conform to any of our repo project guidelines, don't try to build it. Other test "utility" assemblies were working around the previous config system by undefining properties. This should no longer be needed.
2017-01-11Automated rename of tfm specific filesAlex Perovich
2017-01-11Automated update of ns1.7->ns2.0 and nca1.1->nca2.0Alex Perovich
2017-01-11Manual changes for ns2.0 renameAlex Perovich
2017-01-04Add Configurations.props files for test projects, include tests in ↵Eric Mellino
build.proj (#14663) * [WIP]Created src\tests.proj which is mostly building all tests * Convert test project .builds to Configuration.props * Fix test paths in targetingpack.props, move test-runtime. * Move test-runtime under external. * Rename RuntimeDir->RuntimePath in targetingpacks.props and Xunit.Runtime.depproj. * Remove test-runtime project.json from the SupplementalTestData list in dir.targets. * Remove XUnit.Runtime.depproj from tests.proj * Convert test .builds files to Configuration.props. * Revert "Convert test project .builds to Configuration.props" This reverts commit 1efc4d9a02d1c2eced0f20a544abcbcd0092f40c. * Fix compilation error in System.Collections.Concurrent.Tests * Fix condition in System.Collections ref project * Fix two more Collections test project issues * Add Configuration.props for System.Collections ref * Fix TargetGroup conditions in System.Collections.Tests.csproj. * Fix compilation problems with NameResoltion.Pal.Tests. * Fix compilation errors in SqlClient Stress tests * Fix IO.Compression.Performance tests compilation * Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj. * Fix compilation issues in System.Private.Xml.Linq tests * Disable XsltScenarios.Tests project, like it was before. * Fix missing DefineConstants for System.Linq ref project. * Fix compilation of System.Net.Primitives.Pal.Tests.csproj * Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj * Fix compilation of System.Security.Cryptography.Cng.Tests.csproj. * Fix compilation of System.Net.Primitives reference project * Fix compilation of System.Net.Security ref project * Fix compilation of SYstem.Net.Security.Tests.csproj * Fix configuration of X509Certificates ref project * Fix compilation errors in System.Net.Http.Unit.Tests.csproj * Fix Common.Tests.csproj * Fix System.Diagnostics.Debug.Tests.csproj * Fix Microsoft.Win32.Registry.Tests.csproj * Add runtime.native.System.Data.SqlClient.sni to external project * Fix System.Diagnostics.TraceSource.Tests.csproj * Fix System.IO.Compression.Performance.Tests.csproj * Move supplemental test data into test-runtime/project.json * Fix System.IO.FileSystem.Watcher.Tests.csproj * Fix System.IO.FileSystem.Tests.csproj * Fix System.IO.Pipes.AccessControl.Tests.csproj * Fix System.IO.MemoryMappedFiles.Tests.csproj * Fix System.IO.Pipes.Tests.csproj * Fix System.Json.Tests.csproj * Add missing supplemental test data for net security tests * Fix resource names in System.Xml.XPath.XDocument.Tests.csproj * Fix Assembly.Location test case * Fix assembly loading paths in DefaultLoadContextTest.cs * Fix issues in System.Runtime.Loader.Tests.csproj * Fix RootNamespace in ResourceManager tests * Mark OpenSSL tests as unsupported on Windows * Fix RootNamespace in System.Xml.XPath.Tests.csproj * Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj * Fix System.IO.Compression.Tests.csproj * Add missing Configurations.props files for System.Net projects * Fix compilation issues in WinHttpHandler tests * Add fixes and a workaround for Linq.Expressions tests * Add workaround for System.Runtime.Tests * Use extension methods explicitly in Ref.Emit tests * Hook up test projects into build * Fix build configuration of Crypto.Primitives for netcoreapp * Enable VB tests outside Windows * Enable Mail tests outside windows * Don't run Unsafe tests outside windows * Don't build Unsafe tests outside Windows * Don't build WebServer project outside of Windows. * Fix corerun path for Unix tests. * Fix casing of 'Native' directory in NETCoreApp private pkgproj * Remove runtime-specific stuff from Xunit.Runtime.depproj * Move tests into a separate project ('tests.msbuild') which isn't built in build.proj * Remove duplicate types from NameResolution.Pal tests * Skip tests in a project if there is no compatible configuration. * Include internal socket types only on Windows in NameResolution tests * Manually fix S.R.InteropServices configurations * Rename tests.msbuild -> tests.builds * Manually fix System.Text.Encoding.Tests.csproj configuration * Manually fix System.Threading.Tests configuration * Manually clean up System.Runtime.Tests.csproj * Fix System.IO.FileSystem.Tests configurations * Manually fix System.Globalization.Tests configurations * Manually fix System.IO.Pipes.Tests configurations * Manually fix System.IO.Compression.Tests configurations * Manually fix System.Runtime.Extensions.Tests configurations * Manually fix System.IO.MemoryMappedFiles.Tests configurations * Manually fix S.Diagnostics.Process.Tests configurations * Manually fix System.ComponentModel.TypeConverter.Tests configurations * Misc PR feedback. * Use HostRunnerName instead of HostRunner in Process tests * Fix configurations for S.ServiceProcess.ServiceController.Tests * Revert to using ConfigurationErrorMsg to check if tests should be skipped. Configuration still defaults to 'Debug' even if there is no valid configuration.
2016-12-13Port first third of tests to build against the targeting pack / runtime (#14450)Eric Mellino
* Change first third of test projects to compile against targeting pack. * Add supplemental test data into an external project
2016-12-09Remove stale P2P refsStephen Toub
2016-11-11Moving part of System.Security.Permissions down to System.Runtime.Extensions ↵Jose Perez Rodriguez
(#13476) * Moving part of System.Security.Permissions down to System.Runtime.Extensions
2016-11-11Add Replace methods to System.IO.FileInfo (#13563)Santiago Fernandez Madero
* Add Replace methods to System.IO.FileInfo
2016-11-10Move IO types into System.Runtime.Extensions (#13451)Jeremy Kuhne
Move all of System.IO into System.Runtime.Extensions. Finish moving System.IO.Primitives into System.Runtime.
2016-11-04Update to CoreCLR FileStream (#13229)Jeremy Kuhne
* Json changes for updating to new CLR * Take new CoreCLR Uses new copy of FileStream from CoreCLR Moves FileStream to System.Runtime Forwards from old locations Various workarounds/fixes * Update to CoreCLR beta-24704-03
2016-10-18Combine test dependencies into a common project.json.Karthik Rajasekaran
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.
2016-10-18Add System.IO.FileSystem serializationStephen Toub
2016-10-05Update project ToolsVersions to 14.0 (#12355)Alex Perovich
2016-10-01Changing test projects to default to netcoreapp1.1 instead of netcoreapp1.0Jose Perez Rodriguez
2016-09-27Add negative tests for Begin/EndJeremy Kuhne
Adds negative tests for Begin/End, removes unnecessary block for `\\.\` paths. (The block for `\\.\` paths fulfills a need that predates our supported Windows OSes. You cannot inadvertently mess up "raw" drives. In addition we currently allow `\\?\` which is another form of device path access.)
2016-09-20Merge branch dev/apiJose Perez Rodriguez
2016-09-13Add missing APIs to System.IO.FileSystemStephen Toub
Adds: - File.WriteAllLines(string, string[]) - File.WriteAllLines(string, string[], Encoding) - File.Replace(string, string, string) - File.Replace(string, string, string, bool) - File.Encrypt(string) - File.Decrypt(string) - FileInfo.Encrypt() - FileInfo.Decrypt() - FileStream.Handle - FileStream.Lock(long, long) - FileStream.Unlock(long, long) Currently throws PlatformNotSupportedException from: - Encrypt/Decrypt on all platforms. These can be implemented on Win32, but the APIs needed are not currently exposed as allowed in buildtools. - Lock/Unlock on Unix and WinRT. These can be implemented on Unix; I just didn't in this commit.
2016-09-13Merge remote-tracking branch 'mainrepo/dev/api' into MergeDevApiJose Perez Rodriguez
2016-09-10Add tests for FileStream.CopyToAsyncStephen Toub
2016-09-09Removing pkgproj references from csprojsJose Perez Rodriguez
2016-09-07Merge pull request #11375 from stephentoub/fix_async_testStephen Toub
Fix FileStreamBase Begin/End race condition
2016-09-04Adding Reflection changes back after merge from master (#11386)Jose Perez Rodriguez
Adding Reflection changes back after merge from master
2016-09-02Fix FileStreamBase Begin/End race conditionStephen Toub
The new FileStreamBase.Begin/End overloads do argument and state validation similar to that of desktop. There is a subtle but critical difference, however: in this validation, desktop checks to see whether the stream is closed via ```_handle.IsClosed```, whereas FileStreamBase does it via ```SafeFileHandle.IsClosed```. ```SafeFileHandle``` is an abstract property that returns the handle... but it also flushes. The base Stream's Begin/End implementation has synchronization to ensure that only one async operation is in flight at a time, but this call to ```SafeFileHandle.IsClosed``` comes before that synchronization kicks in (it's in the base), and as such we end up potentially having a Flush invocations concurrently with Write invocations (Write is called asynchronously from the base BeginWrite), which is very unsafe. This commit fixes it by adding an IsClosed property that goes directly to the underlying handle, bypassing the publicly exposed SafeFileHandle (that flushes so that direct access to the file via the handle is consistent with operations already performed on the FileStream). (I also fixed a small issue in the ManyConcurrentWriteAsyncs that highlighted the issue. Order of async read/write operations is only guaranteed on FileStream when in async mode; in non-async mode, it's theoretically possible (though unlikely) for operations to complete out-of-order, but the test is validating that the operations completed in order. While I've never seen this fail, I'm proactively fixing it.)
2016-09-02Revert "Expose all Reflection APIs in System.Runtime"Jose Perez Rodriguez
2016-09-01Expose all Reflection APIs in System.Runtime (#11099)Sepideh Khoshnood
Expose all System.Reflection APIs
2016-09-01Enable netcoreapp1.1 tests to run as part of the CI build (#11236)Jose Perez Rodriguez
Enable netcoreapp1.1 tests to run as part of the CI build
2016-08-04Reving up the versions of the contracts where we have added Apis for ↵Jose Perez Rodriguez
netcoreapp1.1 (#10531) Reving up the versions of the contracts where we have added Apis for netcoreapp1.1
2016-07-29Merge from masterJose Perez Rodriguez
2016-07-21Moving Perf tests to their own csprojs (#10192)Deepak Shankargouda
2016-07-18Merge remote-tracking branch 'master' into dev/apiJose Perez Rodriguez
2016-06-29Add NugetTargetMoniker to test projects and update remaining project ↵Karthik Rajasekaran
references to pkgproj
2016-06-29Add GetLogicalDrives.Jeremy Kuhne
2016-06-15Update CoreFX tests to compile against a minimum of netstandard1.3 and add ↵Karthik Rajasekaran
supports clauses for tests CoreFX tests will now compile against netstandard1.3 as references and will now deploy for the platforms listed in their respective supports clause, provided the appropriate TestTFM is passed in. The supports are fully listed inside runtime.json in the new TestSuite metapackage in buildtools. The tests will default to netcoreapp1.0 as their TestTFM. CoreFx test projects now utilise a test csproj to pkgproj reference which determine the appropriate compile time and runtime assets needed. Dependent on https://github.com/dotnet/buildtools/pull/770
2016-04-09Merge pull request #7575 from ianhays/filesystem-enumeratenonexistentStephen Toub
Filesystem enumeratenonexistent
2016-04-08Make FileSystem EnumerateCurrentDirectory test remoteIan Hays
2016-04-05Add IsNotWindowsNanoServer to Platform detection.Lakshmi Priya Sekar
Disable failing Windows Nano tests.
2016-03-31Add missing tests to System.IO.FileSystemIan Hays
Adds missing tests to achieve strictly higher coverage than ToF and also adds some other new tests and cleans up existing tests.
2016-01-15Merge pull request #5020 from mjrousos/UnixGetAttributesFixStephen Toub
Get Unix file stats with LStat (instead of Stat)
2016-01-14Get Unix file stats with LStat (instead of Stat)Mike Rousos
Stat was ignoring symbolic links (and getting stats for the target instead) which caused checks for whether or not a path was a sym link to fail on Unix. Fixes dotnet/corefx#5015
2016-01-04Merge pull request #5125 from weshaggard/SupportAnyOSWes Haggard
Support for AnyOS
2016-01-03Update project files adding default configurationsWes Haggard
This add a default configuration before the Import of dirs.props for any projects that don't have Debug as the default configuration. Removed Configuration and Platform properties set after dirs.props as they would have no affect and just cause confusion. Removed OutputType=Library property as it isn't necessary.
2016-01-03Remove extra referencesStephen A. Imhoff
2015-12-14Consolidate facade project filesEric Mellino
2015-11-04Perf test targets were buggy and required specific setup to not fail. I've ↵Ian Hays
hardened them so that the tests can be more easily built without also running them. I also removed the v5.0 libraries requirement. This commit also allows the perf tests to be run as regular unit tests.
2015-10-14Update and addition to Performance testsIan Hays
- Made the existing perf tests for Linq follow the new syntax and use the new runner - Removed all references to v5.0 libraries being required as they no longer are - Added new tests using usage data from aspnet/benchmarks - Modified some existing tests to be more easily comparable using analysis tools that look at inlinedata/memberdata (e.g. System.IO.Compression) - Updated the lock files to use the latest xunit-performance package - Modified test structure and innerIteration loops to produce more consistently repeatable results - Updated docs with change to csproj requirements
2015-10-11Reorganize src\Common\testsstephentoub
Our common tests folder has gotten a bit unwieldy in its organization. This change simply moves files around to better map to how src\Common\src is organized. Files are now stored in a path based on functionality/namespace. I mostly kept groups of functionality together and did not attempt to reorganize at that level, e.g. I moved the src\Common\tests\System.Xml.XPath\ folder to be src\Common\tests\System\Xml\XPath\ and did not further reorganize all of the folders/files it contains. Such cleanup can be done separately on each individual area. Some of the files also need to be cleaned up internally, e.g. the namespace (or lack thereof), so I put such things in a path that I thought made sense even if it differs from the current namespace in the file; I wanted this change to be relatively simple and just be about moving files around to clean up the main hierarchy.
2015-09-24Added performance microbenchmarksIan Hays
- Added "Performance" folders containing perf xunit tests to a number of highly-used libraries (determined by Usage data) - Two sets of usage data from store apps; I added a test for every function used in more than 5% of the covered assemblies in both data sets. - This is a first-round pass of the most highly used libraries and does not include: abstract classes, interfaces, or Attributes - Created a static utility class for commonly used functions across perf tests, stored in src\Common\tests\Performance. - These tests will run using ```msbuild /t:BuildAndTest /p:performance=true``` from the projects test directory - Added conditional properties that check if v5.0 is installed on the user's computer when running perf tests. If it isn't, a detailed error is thrown with a link to a performance-test github page that I've also added.