Commit Graph
21 Commits
Author SHA1 Message Date
Stephen ToubandJan Kotas ccf6aedb63 Address more issue numbers in the code (#1888)
* Address more issue numbers in the code

Replaced a bunch of unadorned issue numbers with links, so we know which repo the issue is for.  In some cases the repo was named, but for consistency I still replaced it with a link.

In some cases, in particular where the issue had been closed saying effectively "we're not going to do anything here", I removed TODOs and the associated issue numbers.

In a few cases, the TODO and issue number was to say "we should do X when Y is fixed", so I did X since Y was fixed.

* Apply suggestions from code review

Co-Authored-By: Jan Kotas <[email protected]>

* Address PR feedback

* Fix OrderedEnumerable by using MemoryExtensions.Sort

Co-authored-by: Jan Kotas <[email protected]>
2020-01-18 00:52:17 -08:00
Stephen Toub 04f22268ef Change all ActiveIssues to use Uris instead of numbers (#1768) 2020-01-15 23:21:36 -05:00
Viktor Hofer ef7a0e676a Enable XUnit Analyzers (dotnet/corefx#38676)
* Enable XUnit Analyzers


Commit migrated from https://github.com/dotnet/corefx/commit/b8a7f34e1b64e5c594f591aa8683f34506eb9736
2019-07-05 22:50:57 +02:00
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Dávid Kaya 7470570d4b Added support for UF_HIDDEN flag on macOS and FreeBSD (dotnet/corefx#29323) (dotnet/corefx#34560)
* Added support for UF_HIDDEN flag on macOS and FreeBSD (dotnet/corefx#29323)

* Changes based on review

* Reverted UserFlags field

* Sorted include in csproj

* Changed comparison style

* Reverted UserFlags field

* Fixed parentheses

* Changes based on PR review

* Add missing newline

* Add missing newline


Commit migrated from https://github.com/dotnet/corefx/commit/b37f0185ac05c9431389f333f5b2b0fc5fe93e6a
2019-03-28 09:56:08 -04:00
Anirudh Agnihotry 8516f17308 DriveFormat returns null on WSL (dotnet/corefx#32372)
* added default value for isHFS

* using and operator


Commit migrated from https://github.com/dotnet/corefx/commit/3a206a056f765b4d0df02e5d0ff6d0f7bdfe23c2
2018-09-20 15:56:01 -07:00
Anirudh Agnihotry 8e9c9c4a75 Another Case where millisecond Granularity was missed (dotnet/corefx#31593)
* MilliSeconds added

* Test Added for move operation

* LastAccessTimeTest

* avoid overflow and using both seconfs and nanoseconds of the native

* feedback addressed

* Tests fixed for CI

* Feedback addressed

* method signature changed

* removing comments

* named argument added


Commit migrated from https://github.com/dotnet/corefx/commit/510eaf10912ce5790302addb0171916b9a134000
2018-08-08 22:06:57 -07:00
Anirudh Agnihotry 3dcd3db585 Using Utimes instead of utime hence setting millisecond attribute of last access and last modified time to non-zero (dotnet/corefx#31522)
* using utimes instead of utime

* Test for checking millisec attribute is set or not

* Documenting the values in case of the failure

* NanoSecond enabled

* feedback addressed

* int64_t added

* Fixing build on ci Osx(on which utimensat is not available)

* Minor nits done


Commit migrated from https://github.com/dotnet/corefx/commit/cd62bb271e98410319460b4ba48332416bcccf65
2018-08-02 14:10:30 -07:00
Anirudh Agnihotry e527d170fe Maintaining the consistency of tests among master and release branch (dotnet/corefx#31164)
* Feedback Addressed

* Fixing original tests and for appContainers

* comment corrected


Commit migrated from https://github.com/dotnet/corefx/commit/7d916b0fe6c5e723374be7232c79706eedc64466
2018-07-23 13:42:06 -07:00
Anirudh Agnihotry fee351144f MilliSecond Granualrity added to Copy operation on unix (dotnet/corefx#30996)
* test added

* Test Modified

* Adding Implementation

* tabs removed

* modifyingTest

* Fixing build on HFS

* Space around arithemetic operator


Commit migrated from https://github.com/dotnet/corefx/commit/387aa6c624f0cc8b1c0c013dfddeb115f7c16e27
2018-07-12 10:19:39 -07:00
Maryam Ariyan 6d9d4c0357 Updating test to assert milisecond granularity for (dotnet/corefx#30763)
- non any linux or
- OSX non-HFS driver formats

Fixes dotnet/corefx#30472

Commit migrated from https://github.com/dotnet/corefx/commit/a399e51941f6435063052df8b47182ddca0b4496
2018-07-03 15:54:48 -07:00
Dan Moseley f384b7e87f Prevent CMake 2.8 tests failing for unused variable (causing millisec to be dropped from stat calls) (dotnet/corefx#28573)
* Prevent CMake 2.8 tests failing for unused variable

* Make sterror_r test fail as it should

* Reenable tests



Commit migrated from https://github.com/dotnet/corefx/commit/2c0a662262a6ad8bfdfb97dd786db2734c24754b
2018-03-29 11:32:50 +02:00
Dan Moseley 7ff0126590 Disable Millisec test on Linux (dotnet/corefx#28345)
* Disable Millisec test on Linux

* Feedback


Commit migrated from https://github.com/dotnet/corefx/commit/3a59545a9fb5a6d7cdd272cb79c6fc8251ac2e0c
2018-03-21 21:56:12 -07:00
Jan Kotas cab7e9e4a0 WIP: Enable TimesIncludeMillisecondPart on selected filesystems only (dotnet/corefx#28242)
* Enable TimesIncludeMillisecondPart on selected filesystems only

Use filesystem name to suppress the test failure

* Make the test fail

* Break out tests


Commit migrated from https://github.com/dotnet/corefx/commit/a31762f7fd5b580a6f583b3bbb69fb9e75b87d14
2018-03-20 22:17:25 -07:00
Jeremy Kuhne 10c2a8b41a Add more alternate data stream tests (dotnet/corefx#27945)
Commit migrated from https://github.com/dotnet/corefx/commit/de1878e129d4e44f4bccac3bae28612357c6a79d
2018-03-10 23:31:04 -08:00
Dan Moseley 0c07197707 Logging for TimesIncludeMillisecondPart test and reenable for Linux (dotnet/corefx#27559)
* Logging for TimesIncludeMillisecondPart test

* Enable test for Linux

* Formatting


Commit migrated from https://github.com/dotnet/corefx/commit/0c4fe29556861d5e728cd1f47afb687eb2711623
2018-02-28 21:45:20 -08:00
Dan Moseley 81727726e0 Disable Millisec test for all Unix (dotnet/corefx#26384)
* Disable Millisec test for all Unix

* Typo


Commit migrated from https://github.com/dotnet/corefx/commit/c8593a626b6f59b835876a4579ce2b32f56e1077
2018-01-17 16:11:33 -08:00
Dan Moseley b1b1d91e25 Disable Msec test on macOS (dotnet/corefx#26350)
Commit migrated from https://github.com/dotnet/corefx/commit/04e2be220ee82171aaacef560d2b8270f82282dc
2018-01-15 15:51:49 -08:00
Dan Moseley 5319d7787e Add nanosecond granularity to Unix filesystem time reads (dotnet/corefx#26176)
* Update PAL

* Revert PAL

* Add SxS struct

* Test

* CompareTo

* Simple creation time test

* CompareTo public

* Simple creation time test

* typo

* Extract method

* CR feedback

* Look for birthtimespec

* Rework to PAL approach

* comment

* typos

* typo

* Comment


Commit migrated from https://github.com/dotnet/corefx/commit/d75610efce77c2f2562c4f35de901ea38b6d43b7
2018-01-15 08:10:27 -08:00
Jeremy Kuhne 2863418862 Check actual set time for test (dotnet/corefx#20820)
There is already a test that checks the time is in range.
The time here shouldn't change at all- and the range I was
using wasn't tolerant enough for all of our targets.

Commit migrated from https://github.com/dotnet/corefx/commit/06b92192b96e9b377efc272b3c8749209b857f5e
2017-06-08 12:50:55 -07:00
Jeremy Kuhne 9ff1ec49c4 Fill out FileSystemInfo state when enumerating (dotnet/corefx#20716)
* Fill out FileSystemInfo state when enumerating

On Windows FileSystemInfos are filled in with state as we have
all of the state from FindFirstFileEx.

* Add more tests

Refactor Time tests and add cases for refresh state.
Fix positive attribute assertion.

* Missed one of the cases

* Tweaking the time tolerance didn't succeed.

Putting it back to -3 seconds.

* Refactor tests

Gets coverage consistent
Fixes test bug in DirectoryInfo where it was creating files for invalid attributes

* Address feedback


Commit migrated from https://github.com/dotnet/corefx/commit/9468aedba81b7d0b43f5545fc840a53544164694
2017-06-07 19:53:15 -07:00