Commit Graph
555 Commits
Author SHA1 Message Date
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
Alex Perovich b768474750 Fix S.IO.FS.Performance tests on uapaot (dotnet/corefx#18403)
* Fix S.IO.FS.Performance tests on uapaot

* Don't be windows only


Commit migrated from https://github.com/dotnet/corefx/commit/008877e13652b28fd65e421466bcc573f7bee633
2017-04-14 18:50:31 -05:00
Alex Perovich f3d4d23517 Fix S.IO.FileSystem tests running on uapaot
Commit migrated from https://github.com/dotnet/corefx/commit/518e739ee935bb00b375b757330f74368957ad90
2017-04-13 17:53:04 -07:00
Viktor Hofer 5c9c58a947 Revert "Reenabled DirectoryLongerThanMaxLongPath test" (dotnet/corefx#18298)
Commit migrated from https://github.com/dotnet/corefx/commit/9ec3892e490580dd4c7be8c9c50ff7719b0fdaeb
2017-04-12 23:49:55 +02:00
Dan Moseley 7ff36f9dd9 Fix IsDriveNTFS (dotnet/corefx#18039)
* Fix IsDriveNTFS

* Case insensitive.

* string


Commit migrated from https://github.com/dotnet/corefx/commit/9f742250f9b93411697bb1a6773db088f5cf304d
2017-04-06 22:35:09 -04:00
Alex Perovich c40989b8f7 Check if destination exists in Directory.Move (dotnet/corefx#17913)
* Check if destination exists in Directory.Move

Fixes dotnet/corefx#12396

* Fix tests

* Update DirectoryInfo.MoveTo as well


Commit migrated from https://github.com/dotnet/corefx/commit/074bf02532c4c4496e7c79e03b4801e848848509
2017-04-04 21:20:51 -07:00
Ian Hays e0f936a931 Merge pull request dotnet/corefx#17699 from ianhays/IO_netfxtestaudit
Get IO.FileSystem tests running on NetFX

Commit migrated from https://github.com/dotnet/corefx/commit/6800c0b0c1eead7e1b6053cfd28ecc80d1014afd
2017-04-04 02:27:10 -07:00
Alex Perovich fc4bb66b9f Fold or rename *.netstandard.cs files (dotnet/corefx#17697)
* Win32.Primitives

* System.Collections.Specialized

* System.Diagnostics.Process

* System.Globalization

* System.Globalization.Calendars

* System.IO

* System.IO.Compression

* System.IO.FileSystem

* System.IO.FileSystem.Watcher

* System.IO.Pipes

* System.Linq.Expressions

* System.Net.Primitives

* System.Net.Requests

* System.Net.Sockets

* System.Net.WebHeaderCollection

* System.ObjectModel

* System.Reflection

* System.Reflection.Emit

* System.Resources.ResourceManager

* System.Runtime

* System.Runtime.Extensions

* System.Runtime.Handles

* System.Runtime.InteropServices

* System.Security.Cryptography.X509Certificates

* System.Text.Encoding

* System.Text.Encoding.CodePages

* System.Threading

* System.Threading.Tasks

* System.Threading.Thread

* System.Threading.Timer

* System.ValueTuple


Commit migrated from https://github.com/dotnet/corefx/commit/023b6bdd6086271cbb6ca932c33d7783f8406062
2017-03-30 17:28:22 -05:00
Ian Hays 17206626b1 Fix netfx disabled tests in IO FS
Commit migrated from https://github.com/dotnet/corefx/commit/245486297467081f6d105085e3d74ece8351c897
2017-03-30 13:58:24 -07:00
Ian Hays 59871c58b2 PR feedback for IO test audit for netfx
Commit migrated from https://github.com/dotnet/corefx/commit/48014e40bcc539f6a71c09aaf38779d06fbb716e
2017-03-30 13:19:35 -07:00
Ian Hays ebe8f66e34 Get IO.FileSystem tests running on NetFX
There were a high number of failing FileSystem tests for NetFX. This PR modifies the tests to run on NetFX without failures and adds comments for the reasons for the tests that had to be disabled.


Commit migrated from https://github.com/dotnet/corefx/commit/7d7b9be2c0eb870658722b1b78f850fbb08b4a97
2017-03-30 12:16:21 -07:00
Ian Hays 9bef00f9b6 Update IO test for new Wildcard chars
This test has been disabled since the new Wildcard characters were allowed. This PR re-enables them and handles the new characters.


Commit migrated from https://github.com/dotnet/corefx/commit/fc2817fc00006757aa835d8aa11dbd113b9093b0
2017-03-29 10:54:43 -07:00
Ian Hays 1ba1ed145a Move SetCurrentDirectory test to RemoteInvoke. (dotnet/corefx#17456)
Tests that alter the current directory should all be done via remoteinvoke to not interfere with other tests that rely on the currentdirectory in some form or fashion.

Commit migrated from https://github.com/dotnet/corefx/commit/a0b0e14a7e04355e84924c540caa3dd0510257be
2017-03-23 18:22:10 -07:00
Viktor Hofer e0d9f18004 Reenabled DirectoryLongerThanMaxLongPath test
Commit migrated from https://github.com/dotnet/corefx/commit/5b5ae0692247a921160f4a428d4131abd849f1b0
2017-03-21 20:19:03 +01:00
Viktor Hofer 31d2798633 removed outdated comments from System.IO.FileSystem tests
Commit migrated from https://github.com/dotnet/corefx/commit/e4cc8fc1a4b9711e3d4348db5d94d89e8b8bad7d
2017-03-21 11:31:38 +01:00
Viktor Hofer 81fe899ad1 Changed ExpectedException to NotSupportedException for methods that use GetFullPath
Commit migrated from https://github.com/dotnet/corefx/commit/e2f385ea59fb971706cc72592a2e12b01efd2e8f
2017-03-21 02:20:00 +01:00
Steve Harter 1380db7ec3 Change tests that use async void to async Task
Commit migrated from https://github.com/dotnet/corefx/commit/39883264a961957d29bd535e2854eed8056343f0
2017-03-10 10:47:53 -06:00
Santiago Fernandez Madero fec48e1004 Desktop tests run progress (dotnet/corefx#16706)
* Desktop tests run progress


Commit migrated from https://github.com/dotnet/corefx/commit/e927c26d055acc9fbd841fe53366488da237d299
2017-03-07 13:44:12 -08:00
Tom Deseyn 7129659f1c Detect Unix paths on Unix and Dos&Unc paths on Windows (dotnet/corefx#15925)
* Uri: detect Unix path on Unix, detect Dos&Unc path on Windows

* Update System.IO.Packaging/tests

* Update System.Xml.XmlSchema.XmlSchemaValidatorApi.Tests

* Update Common.Tests

* Update System.Private.Uri.Functional.Tests

* Update System.Private.Uri.ExtendedFunctional.Tests

* Update System.Runtime/tests

* Uri.MethodsTests.cs: comment out failing inputs

* Restore uri minimal length of 3

* Require unix paths to start with a /

* Allow Unix path file uri to start with '\'

* FileWebRequestTest: revert extra slashes added (file:/// back to file://)

* Uri: fix empty newHost bug and revert workaround in IriTest

* Annotate PlatformSpecific tests

* IdentityHelperTests: use file path that works on Windows and Linux

* System.IO.Packaging/tests: rename s_LocalFile to s_fullPathToLocalFile

* Uri: update comments on minimal Uri length check, don't check length twice on Windows

* Use PlatformDetection.IsWindows

* Ensure Roslyn gets rid of UnixPath checks on Windows by adding IsWindowsSystem (const bool) checks

* Uri: Fix uapaot build by including Uri.Windows.cs

* IdentityHelperTests: rename GetNormalizedUrlHash_Unix -> GetNormalizedUrlHash

* Uri.MethodsTests: don't require GetHashCode to return different values when Uris only differ in case

* s_IsWindowsSystem -> s_isWindowsSystem

* Detect Dos and Unc paths on Unix

* Update tests

* Clean-up

* Clean-up II

* Clean-up III

* Clean-up IV

* Clean-up V

* Move Flags.UnixPath to the end of the Flags enum


Commit migrated from https://github.com/dotnet/corefx/commit/7df6b74cc4aeebc86e76b5c7901a59fa7fa793f6
2017-03-04 16:37:19 -05:00
Ian Hays cb1c596f44 Add fileshare verification to lock/unlock osx test
Commit migrated from https://github.com/dotnet/corefx/commit/79b2895eae0d31872cc348307556e07f9c631a74
2017-02-24 14:28:04 -08:00
Ian Hays ffc47c6dd0 Cleanup File Lock/Unlock OSX tests.
Commit migrated from https://github.com/dotnet/corefx/commit/21dd604a2a8d1e76925f01f34849ad442308f28f
2017-02-24 13:21:42 -08:00
Drew Scoggins e01f5d923c Update performance csprojs
Update the csproj files of all of the performance tests to reference the
PerfRunner csproj.  Also make a change to the PerfRunner csproj to mark
it as a test project so that it can use the generated test runtime for
dependency resolution.


Commit migrated from https://github.com/dotnet/corefx/commit/495e4e8dbdeb0fbe904c323a0ac83f630d44bc8d
2017-02-22 15:50:42 -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
Dennis "D.C." Dietrich 18308e9141 Enabling overflow checks for debug (dotnet/corefx#16189)
* Marking code as unchecked (pt 9)

Additional unchecked for new test code and missed cases in BitConverter

* Marking code as unchecked (pt 9a)

Added unchecked to two casts in ManagedWebSocket

* CI test failure fixes

Overflow exceptions in:
 - Windows NT Debug dotnet/corefx#3458
 - OS X Debug dotnet/corefx#3357

* CI test failure fixes

Overflow exceptions in:
 - Windows 7 Debug Outerloop (build 8)
 - OS X Debug Outerloop (build 45)

* CI test failure fixes

Fixed overflow exception from OS X Debug Outerloop (build 46)


Commit migrated from https://github.com/dotnet/corefx/commit/7f6ac8bf97a84666ed3e7ef6b77c1a9470ae78c8
2017-02-16 14:42:33 -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
Jan Kotas 9af9e339e2 Cleanup netstandard ifdefs and conditions (dotnet/corefx#16072)
* Cleanup netstandard conditions in csproj files
* Cleanup netstandard17 ifdefs
* Disable failing tests

Commit migrated from https://github.com/dotnet/corefx/commit/608267af43311b131d20e4111477ffb1109233a0
2017-02-11 21:40:35 -08:00
Dennis "D.C." Dietrich a841a37279 Marking code as unchecked (pt 5)
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)


Commit migrated from https://github.com/dotnet/corefx/commit/05c544cb5fe109357d61d1391b3ab4860a5b2eaf
2017-02-10 01:47:19 +01: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
Tarek Mahmoud Sayed addda8630e Enable tests to compile with netstandard (dotnet/corefx#15956)
* Enable tests to compile with netstandard

Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration

The changes include some fixes to compile teh sources too.

* Fix System.Collections.Immutable

* update src configuration

* remove netstandard17 defines

* Split netcoreapp code to its own files

* Remove 17 from the test class name


Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
2017-02-08 15:32:53 -08:00
sepidehMS deb2ad1d33 Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/81604bbc112e87a24a85d226ae678b3e911ff7af
2017-02-08 15:14:15 -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
Dennis "D.C." Dietrich af037b977b Fixed cross-process tests
Several tests that use a secondary process fail when the path
contains spaces.

Fix dotnet/corefx#15891


Commit migrated from https://github.com/dotnet/corefx/commit/614b3bd9559a6ca1cea4dea0d345fe4c181f731a
2017-02-07 22:53:42 +01: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
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 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
Jon Hanna 2feef93820 Add async File.ReadAll*, File.AppendAll* and File.WriteAll
Fixes dotnet/corefx#11220


Commit migrated from https://github.com/dotnet/corefx/commit/8afa43291b97861020885b21572e23102841ade2
2017-01-23 21:55:50 +00: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 564b3ddc5a Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/e56a0253a30d5cf44f8457b469c3ecc3345ca957
2017-01-13 09:04:15 -08:00
Jeremy Kuhne dfe38d9b48 Fix tests run on desktop (dotnet/corefx#15100)
* 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


Commit migrated from https://github.com/dotnet/corefx/commit/551fe49174378adcbf785c0ab12fc69355cef6e8
2017-01-12 15:20:33 -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
Eric St. John 5a54ba2eea Fix *special* test projects
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.


Commit migrated from https://github.com/dotnet/corefx/commit/198dd4a4471301eaed577e0710bf033464d7c2ac
2017-01-10 17:33:56 -08:00
Alex Perovich ae1810f29c Automated rename of tfm specific files
Commit migrated from https://github.com/dotnet/corefx/commit/ca330455c9b884ffcca5b8b98d28a129e2248fe6
2017-01-10 16:20:59 -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
Alex Perovich c3087a2ed5 Manual changes for ns2.0 rename
Commit migrated from https://github.com/dotnet/corefx/commit/7bba15c1d2518d3f0bb85c40ed87322edfdf87eb
2017-01-10 16:20:29 -08:00
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
John Chen (CLR) f2e4ee37be Replace API Set with Win32 DLL in tests
API Sets are not available on Windows 7, thus tests need to
import from Win32 DLL to run successfully on Windows 7.
Resolves issue dotnet/corefx#14728.


Commit migrated from https://github.com/dotnet/corefx/commit/21296d01c360e5febf4f9d7c501158cf740c604c
2017-01-04 16:27:17 -08:00
Eric Mellino dd3d24027d Add Configurations.props files for test projects, include tests in build.proj (dotnet/corefx#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 dotnet/corefx@1efc4d9a02.

* 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.


Commit migrated from https://github.com/dotnet/corefx/commit/2c0352ec38f9f6f602ae819f0cafb02c1908f137
2017-01-03 13:27:19 -08:00
Ian Hays c751f966e5 Enable tests for Linux FileStream Lock/Unlock (dotnet/corefx#13923)
Enable tests for Linux FileStream Lock/Unlock


Commit migrated from https://github.com/dotnet/corefx/commit/d0db741197a65cfa1ea5a7dca07981cb12906666
2016-12-12 15:10:50 -08:00
Eric Mellino da3c47cf33 Port first third of tests to build against the targeting pack / runtime (dotnet/corefx#14450)
* Change first third of test projects to compile against targeting pack.

* Add supplemental test data into an external project


Commit migrated from https://github.com/dotnet/corefx/commit/65780ef192c4f2214e65816e7ac90899be6a5557
2016-12-12 14:19:07 -08:00
Stephen Toub 3987fb2fed Remove stale P2P refs
Commit migrated from https://github.com/dotnet/corefx/commit/963bbf421720f2d1a321f17360c2ad3c04d3d4da
2016-12-09 12:55:14 -05:00