Ian Hays
744cc7cfd5
Fix some whitespace in ZipFile classes
...
Commit migrated from https://github.com/dotnet/corefx/commit/647f59a14bba448430e37e282e4da0a334aa8a70
2018-06-13 14:41:13 -07:00
Ian Hays
3cf9ed0da4
Refactor, clean up ZipFile assembly.
...
This is a net-zero change PR to move around some files in the System.IO.Compression.ZipFile assembly in preparation for some upcoming major additions.
Commit migrated from https://github.com/dotnet/corefx/commit/c64068e57d37f7b494dc56c7c426f67a451aafdd
2018-06-13 12:56:30 -07:00
Jeremy Kuhne
973cec3dd6
Update tests for Path changes ( dotnet/corefx#27348 )
...
* Update tests for Path changes
Updates for https://github.com/dotnet/coreclr/pull/16478
* Add back Unix active issue (wishful thinking that this would get the same error on Unix)
* Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/92afa6ec21817739ebf45cd66b4569a03b54d4c0
2018-02-22 12:13:29 -08:00
Jan Kotas
e6c28ba3b1
Cleanup CodeContracts annotations ( dotnet/corefx#26324 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/a3e4e241c7b7c33750258082969287b9cf45d757
2018-01-14 14:19:41 -05:00
Ian Hays
8f20594da6
Expose ZipArchiveEntry.Crc32 and fix crc bug
...
- Exposes ZipArchiveEntry.Crc32 field
- Fixes a bug in our CRC calculation
- Adds tests for the crc32 field
Commit migrated from https://github.com/dotnet/corefx/commit/8537165e8da7035a1d163f21719ce9db34363172
2017-12-13 13:06:13 -08:00
Ian Hays
ba5c3d6242
Consolidate common Compression tests and apply fixes ( dotnet/corefx#25780 )
...
* Consolidate common Compression tests and apply fixes
- Fix a bug in DeflateStream where we will always read to the end of the input stream even if the Deflater has finished.
- Fix a bug in DeflateStream where disposing the Deflater with an in-progress async operation would trigger a failed Debug.Assert.
- Move DeflateStream/GZipStream unit and perf tests to Common and abstract them out. This makes them usable for any future streamable compression implementation (e.g. broti), minimizes duplication, and asserts that the behavior is equal amongst any current and future compression stream implementations.
Commit migrated from https://github.com/dotnet/corefx/commit/3d9854f6750dcc48cfd89b4d5007551ecdfd29c4
2017-12-13 11:29:00 -08:00
Stephen Toub
e492fe23ba
Disable failing tests after path validation updates
...
Commit migrated from https://github.com/dotnet/corefx/commit/c0817aec1c3fbf9ee8bdbba286edbf1c9c3c64c4
2017-12-03 12:08:32 -05:00
Tarek Mahmoud Sayed
150694a12a
Disable the System.IO failed test on OSX High Sierra ( dotnet/corefx#23276 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/5c63dfd54919e080841e46bfbd793d45f47a03e9
2017-08-15 22:22:15 -04:00
Stephen Toub
ae2d4c1b49
Override Read/Write(Span) on streams in System.IO.Compression ( dotnet/corefx#22927 )
...
In doing so, also fixed the build so that it uses the zlib crc32 rather than the managed implementation.
Commit migrated from https://github.com/dotnet/corefx/commit/f393456e0bc802d022a6d5d014e489af3ed3ab4e
2017-08-03 23:13:11 -04:00
Hugh Bellamy
98b18432b7
Move AssertExtensions to Corefx.Private.TestUtilities ( dotnet/corefx#21799 )
...
* Move AssertExtensions to Corefx.Private.TestUtilities
* Update csprojs
* Fix Linq.Expressions uapaot build
Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07:00
Hugh Bellamy
7cbcd5ed85
Convert most Assert.Throws<ArgumentException> without param name to AssertExtensions ( dotnet/corefx#21455 )
...
* Registry
* Collections
* ComponentModel
* Configuration
* Data
* Globalization
* Drawing
* Diagnostics
* IO
* Linq
* Add System.Net param names in tests
* Move ArgumentExceptions in System.Private.Xml to AssertExtensions
* Add System.Reflection.* ArgumentException param names
* Add param names for System.Runtime* ArgumentExceptions
* Add ArgumentException param names to System.Security.*
* Add ArgumentException param names to System.Text.*
* Add param names to ArgumentExceptions in misc projects
* Add System.Threading.* ArgumentException param names
* Fix missing files
* Fixes for unix and netfx
* Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with dotnet/corefx#21463
Commit migrated from https://github.com/dotnet/corefx/commit/59915687bb261efeae70565d0ca8990ac45ceb9c
2017-06-23 12:33:47 -07:00
Tarek Mahmoud Sayed
8754550d62
Enable UAP Remote Execution for all tests ( dotnet/corefx#21014 )
...
This change to enable remote execution of all corefx tests in UAP. Because the remote execution code for UAP is using WinRT APIs and to avoid forcing adding UAP configuration to all test projects, we factor the remote execution code into its own test library (called TestHelper) which is cross compiled.
Commit migrated from https://github.com/dotnet/corefx/commit/eb2f543b189e8f7f9ae4c31e832ac9d3c22bb41a
2017-06-14 13:26:57 -07:00
Eric St. John
e02c675179
Increment versions post 2.0
...
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Viktor Hofer
309eacda78
Fixing uap/uapaot test issues in System.IO.Compression.ZipFile ( dotnet/corefx#19751 )
...
* Using temppath instead of directly reading from execution location
* Removed temp copy for readonly operations, removed unnceccesary helper calls and method
* Correct disposal of stream in test method
* moved disposal and stream creation to avoid additional exceptions
Commit migrated from https://github.com/dotnet/corefx/commit/5caaee1525f25462f7c5fc7e3595df2fdeecfe82
2017-05-14 22:17:52 -04:00
Ian Hays
d2cceab9fd
Fix casing for Compression TestData package import
...
Commit migrated from https://github.com/dotnet/corefx/commit/39e44d65d5990c5ca69dd6e202b428f83407ecff
2017-04-19 11:21:29 -07:00
Ian Hays
92ba26627f
Expose the ExternalAttributes field in ZipArchive
...
The ExternalFileAttributes field of a ZipArchiveEntry is currently hidden within the implementation and not accessible. This has been fine in the Windows world since it's not used but it is used by Unix's zip/unzip programs to store file permissions of an entry. As it currently stands, there is no way to carry Unix RWX permissions within a zip, so at unzip time the unzipper has to guess at permissions and manually chmod the entries. This PR simply exposes the raw field so that it may be used in any circumstance that requires access to the field. Tests are added to ensure that this field is set, read, and roundtrips properly with zips created from other common programs which use the field.
Commit migrated from https://github.com/dotnet/corefx/commit/efd10d9d156e0d44be2a81adcaf2fb8e0e3eee73
2017-04-18 11:30:10 -07:00
Daniel Harvey
252cdc5e95
Bulk updates of tests for AssertExtensions ( dotnet/corefx#18491 )
...
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.
Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Wes Haggard
dacaabc206
Merge pull request dotnet/corefx#18165 from weshaggard/UpdateAssemblyKeys
...
Updates how we define which key an assembly uses
Commit migrated from https://github.com/dotnet/corefx/commit/4b0b313c3a40fefe793ab465f152f382484813d8
2017-04-10 16:48:43 -07:00
Eric Mellino
ddb473aac9
Move corefx onto the .NET Core 2.0 toolset
...
Commit migrated from https://github.com/dotnet/corefx/commit/8b471f76eef041f0cf40fec65c99a29b235bbe7d
2017-04-10 14:36:01 -07:00
Wes Haggard
4185183e8c
Updates how we define which key an assembly uses
...
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.
This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.
As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).
Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.
The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility
Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Dan Moseley
44ac2dd747
Remove dead string resources ( dotnet/corefx#16284 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Jon Hanna
aa4b36ebfa
Fix several typos ( dotnet/corefx#16264 )
...
* Fix several typos
coment → comment
rangecheck → range check
testcase → test case
deffer → defer
everytime → every time
whitespaces → whitespace (whitespace is uncountable)
white space → whitespace
white spaces → whitespace
the the → the
a → a
nametest → name test
scaned → scanned
and and → and
undecision → indecision
are no whitespace → is no whitespace
Whidbey casing
Everett casing
unkown → unknown
messsage → message
mesage → message
mesasage → message
publically → publicly (publically is attested but questionable).
exceptionto → exception to
mutatable → mutable
implemention → implementation
hadnt → hadn't
couldnt → couldn't
wouldnt → wouldn't
wont → won't
isntead → instead
preocessor → processor
particural → particular
interations → iterations
enterying → entering
stoppped → stopped
stoped → stopped
verication → verification
compuatation → computation
revisisted → revisited
partioner → partitioner
lock'ed → locked
table'd → table would
hashtable'ed → hashtabled (still coining, but tabled is analogous)
intialize → initialize
calcuate → calculate
perfom → perform
performr → perform
matthing → matching
corect → correct
thorw → throw
supress → suppress
reqeust → request
mutliple → multiple
ot → to
trival → trivial
upto → up to
specfices → specifies
patttern → pattern
descrepancy → discrepancy
explict → explicit
implict → implicit
usign → using
non-sensical → nonsensical
contination → continuation
producs → products
childred → children
parametr → parameter
approriate → appropriate
insted → instead
expection → exception
successsfully → successfully
funtion → function
unqiue → unique
apparant → apparent
expception → exception
conatined → contained
apssed → passed
propogate → propagate
cutoms → custom
currrent → current
curent → current
concurent → concurrent
coplted → completed
unexcepted → Unexpected (where the latter seems more appropriate)
to to → to
abd → and
refence → reference
particiant → participant
cuurrent → current
extratc → extract
cparticipant → participant
ehich → which
choosen → chosen
mske → make
alread → already
aquire → acquire
droppping → dropping
intial → initial
tru → true
aprticipant → participant
excption → exception
sempahore → semaphore
fileds → fields
threashold → threshold
duting → during
didnt → didn't
atribute → attribute
serliazation → serialization
localy → locally
channge → change
prperties → properties
attrbute → attribute
sentinal → sentinel
shoukd → should
existant → existent
commnent → comment
expeted → expected
propert → property
commnet → comment
datat → data
ther → the
mach → match
inhertiance → inheritance
convience → convenience
completley → completely
otheriwse → otherwise
actuall → actual
inefficent → inefficient
defalut → default
comparsion → comparison
charcters → characters
postion → position
aleady → already
charater → character
incosistent → inconsistent
seperate → separate
veify → verify
currentlly → currently
corect → correct
betwwen → between
omiting → omitting
readr → reader
compae → compare
allways → always
thown → thrown
with with → with
usecase → use case
avare → aware
lexem → lexeme
grammer → grammar
oposite → opposite
overrided → overridden
everithig → everything
chages → changes
memeber → member
proerties → properties
identifer → identifier
doesnot → does not
deriaved → derived
varialble → variable
* defered -> deferred
* Revert changes within clrcompression.
* Revert underreach → under-reach
* Fix casing broken while fixing spelling.
* Use type name instead of "Diagnostic sources"
Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -08:00
Wes Haggard
eb1f0e0530
Remove all .builds files under pkg/ref/src/tests library folders
...
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Wes Haggard
bc4980e42d
Remove the key conditions so it is always correctly set
...
Removes UseOpenKey and UseECMAKey conditions in projects because
they should always be set
Commit migrated from https://github.com/dotnet/corefx/commit/c49f4c4e1207e07cbbee3f7d40f09dcf3d7615df
2017-02-14 12:07:51 -08:00
Sepideh Khoshnood
50fea0be10
Merge pull request dotnet/corefx#15932 from sepidehMS/PlatformSpecificTests
...
Review all PlatformSpecific tests to ensure test coverage
Commit migrated from https://github.com/dotnet/corefx/commit/6451bed4d4a667d9c05a41c0843504d020d283ab
2017-02-08 15:53:46 -08:00
Jose Perez Rodriguez
d9c497be12
Prepare uap package ( dotnet/corefx#15866 )
...
Prepare uap package
Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
sepidehMS
e3d734c19d
Add comments to PlatformSpecific tests
...
Commit migrated from https://github.com/dotnet/corefx/commit/493cb79ff4976479be5cc7c6f1fe2d5d9b710425
2017-02-07 15:46:26 -08:00
Tarek Mahmoud Sayed
77cad86b1e
Remove versioned configuration from test projects ( dotnet/corefx#15879 )
...
The changes onclude some other minor clean up in the test project files
Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Wes Haggard
f2fd0ea78a
Update Solution files to use windows path slashes.
...
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John
c2dc83e56a
Sync BuildConfiguration with project PropertyGroups
...
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Tarek Mahmoud Sayed
7395af32ad
Enable compiling the test projects against the configuration ( dotnet/corefx#15743 )
...
* Enable compiling the test projects against the configuration
The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.
* Fix openssl test project on Linux distros
* Update the project configurations
* Update VS solution files
* update solution files
Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -08:00
Wes Haggard
c4e17cd362
Update all solution files using solution generation tool
...
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard
4effd546bc
Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Eric St. John
c61e84f6ec
Clean up desktop Configurations
...
Remove all cruft from projects related to building desktop configs which
now build in standard repo.
Commit migrated from https://github.com/dotnet/corefx/commit/93b36cc273391a40552613800b6fdaa8685179ae
2017-01-31 19:25:30 -08:00
Jose Perez Rodriguez
a840e703dd
Updating VS Configurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/8e7497f825856eddfd84f81fc4afc0104fb917b0
2017-01-31 15:10:43 -08:00
Jose Perez Rodriguez
f7c237e4e2
Adding missing Configurations for uap
...
Commit migrated from https://github.com/dotnet/corefx/commit/16ceba583604b00f12a173a8f3d218584ec2b0ee
2017-01-31 15:08:05 -08:00
Eric St. John
2ef0e9bfd8
Sync PropertyGroups and BuildConfigurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Jose Perez Rodriguez
f9d4e6795d
Removing netstandard configurations for things that are bellow netstandard ( dotnet/corefx#15373 )
...
Removing netstandard configurations for things that are bellow netstandard
Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -08:00
Jose Perez Rodriguez
dd708b105d
Adding missing Configurations.props for refs and fixing the existing ones ( dotnet/corefx#15291 )
...
Adding missing Configurations.props for refs and fixing the existing ones
Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric St. John
d75a59e7a1
Remove packages from NETStandard.Library 1.6
...
With one exception: System.Runtime.InteropServices.RuntimeInformation.
For the rest we will no longer ship packages.
Instead the types will be supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
netstandard.dll
2. In a netstandard1.x project via NETStandard.Library package and
closure which ship from servicing branches.
3. In a framework specific project via the framework's targeting pack
or framework package.
Commit migrated from https://github.com/dotnet/corefx/commit/d6bd0c5889c604bda6afcba4cd7848b7cb0fa6d3
2017-01-18 15:08:35 -08:00
Karthik Rajasekaran
4bbdadd88a
Update project configuration and sln files ( dotnet/corefx#15182 )
...
* Add ValidateVSConfigurations
* Update project config and sln files.
Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Jose Perez Rodriguez
24a5aef91d
Merge master into dev/eng
...
Commit migrated from https://github.com/dotnet/corefx/commit/a9dd06b73bdd71038217bb263decf2b7285fb8db
2017-01-12 10:09:09 -08:00
dotnet bot
fd2b99ee2a
Update CoreClr, CoreFx, ProjectNTfs to beta-24911-02, beta-24911-02, beta-24911-00, respectively ( dotnet/corefx#15071 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/f4dbd9ba2d8ae56b5960a5030a2bf0328fa37b3f
2017-01-11 09:11:26 -08:00
Alex Perovich
573869c47f
Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
...
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Jose Perez Rodriguez
c65aa91391
[dev/eng] Sorting and trimming Reference items in csprojs ( dotnet/corefx#15035 )
...
Sorting and trimming Reference items in csprojs
Commit migrated from https://github.com/dotnet/corefx/commit/d1a6358e7a6b1bc04223885c860701209d52a7e8
2017-01-10 13:24:35 -08:00
dotnet bot
250715866c
Update CoreClr, CoreFx, ProjectNTfs to beta-24910-02, beta-24910-02, beta-24910-00, respectively ( dotnet/corefx#15019 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/24bc3ffa34e5da233c98389309c4d68a4382b457
2017-01-10 08:50:42 -08:00
dotnet-bot
0a8bc1232a
Update CoreClr, CoreFx to beta-24909-03, beta-24909-02, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/4ac5235d4c33b6a040c70aa9c9ed0a9294f7ef75
2017-01-09 17:27:36 +00:00
dotnet-bot
88e6031b90
Update CoreClr, CoreFx, ProjectNTfs to beta-24909-02, beta-24909-01, beta-24909-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/d7e3e57699a54415092203f9baf81c29b1da3baa
2017-01-09 09:40:09 +00:00
dotnet-bot
f50c7ffedd
Update CoreClr, CoreFx to beta-24907-02, beta-24907-02, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/fb76aa1fb9c9a999eff950ba0caa46f50cb4356b
2017-01-07 16:11:20 +00:00
dotnet bot
2d69a1eec5
Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively (master) ( dotnet/corefx#14944 )
...
* Update CoreClr, CoreFx to beta-24906-04, beta-24906-03, respectively
* Fix build break due to version updates
Commit migrated from https://github.com/dotnet/corefx/commit/9064de8ce82634fddfc0ca326422957efdf2390f
2017-01-06 15:46:20 -08:00