Age | Commit message (Collapse) | Author |
|
* Add serializable attribute and typeforward and adding serialization impl
* Expose ZLibException in impl assembly
* Remove deserialization negative tests
* Adding tests for exceptions
* Adding SqlError data to base exception data table
* System Data Facade
* Add netfx471 blob diffs for Hashtable and ListDictionary
* Build Microsoft.NETCore.App.deps.json after manual shims
* Disable currently failing uap/uapaot tests because of shim assembly load errors
|
|
Add ALPN support for SslStream.
|
|
If Send{Mail}Async fails to connect, an exception gets thrown/eaten, and the completion callback is never invoked / the returned Task is never completed.
|
|
If SmtpClient is disposed after a failed send and no successful sends, it attempts to call Close on a null NetworkStream field.
|
|
|
|
|
|
Use `GetByteCount` and the overload of `GetBytes` that avoids the
unnecessary `char[]` and `byte[]` allocations.
|
|
* readding 1 API and updating buildtools
* removing more APIs that were added
|
|
|
|
* Move AssertExtensions to Corefx.Private.TestUtilities
* Update csprojs
* Fix Linq.Expressions uapaot build
|
|
supported in UAP. (#21732)
* Removing Global mutex bug ID. Tracking ETW UAP test failures against a single issue.
* Disabling EKU tests for UAP.
|
|
With the recent implementation of System.Net.NetworkInformation for UWP,
we can re-enable some tests.
Also, the latest plan of record for serialization support in .NET Core
is such that serializing these exception types are not supported. So,
removing the test for that. FYI, the actual implementation of the
serialization overrides in the SmtpException class are already no-ops in
the code and simply call the base method.
Fixes #19604
Fixes #19585
|
|
AssertExtensions (#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 #21463
|
|
* Pinvoke updates
* S.S.AccessControl
* csp
* Networking
* Add issues
* comment
* Remove memory mapped file baseline
* Fix RtlGetVersion
* Remove unnecsesary baseline
* Remove dead condition
* Add comments
* Update buildtools
* Add GetKeyState to OneCore baseline
* baselines
* Fix violation in RI
|
|
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.
|
|
Disable tests related to RemoteExecutor which still doesn't work in UAP.
This PR results in a clean UAP test run for System.Net.Mail.
Contributes to #20131
|
|
This may cause new failures on ILC runs because of new tests
running. I did not check the state of every test.
|
|
...until the next one...
|
|
* Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed.
* Address code review comments.
* Change exceptions' GetObjectData to just call base rather than throw. This makes them behave consistently with exceptions that didn't override GetObjectData.
|
|
* Update xunit extensions to unify TargetFrameworkMonikers.Uap to include UapAot
|
|
Increment versions post 2.0
|
|
* Remove SerializableAttribute from many CoreFX types that will not be serializable.
* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.
* Remove unneeded pragmas
* Update based on review comments
|
|
|
|
* Fix a bunch of random test failures on ILC
- PlatformDetection - GetEnvironmentVariable() still
returns null on ILC - but Environment.GetSpecialFolder()
is fully functional (and it's a preferred idiom.)
- Other stuff is self-explanatory.
* Fix casing. Add comment.
|
|
|
|
* Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC
SmtpClient class is trying to fill in the "client host name"
checkbox for the HELO message. By default, it tries to
use the local host name but this is PNS on .Net Native.
This one hiccup makes SmtpClient unusable.
Since the client host name is apparently discretionary anyway,
fall back to LocalHost if the actual local host is PNS (or NS - why
not) as we do in the garbled-Unicode case.
* Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC
SmtpClient class is trying to fill in the "client host name"
checkbox for the HELO message. By default, it tries to
use the local host name but this is PNS on .Net Native.
This one hiccup makes SmtpClient unusable.
Since the client host name is apparently discretionary anyway,
fall back to LocalHost if the actual local host is PNS (or NS - why
not) as we do in the garbled-Unicode case.
* Fix 40 or so System.Net.Mail.Functional.Tests failures on ILC
SmtpClient class is trying to fill in the "client host name"
checkbox for the HELO message. By default, it tries to
use the local host name but this is PNS on .Net Native.
This one hiccup makes SmtpClient unusable.
Since the client host name is apparently discretionary anyway,
fall back to LocalHost if the actual local host is PNS (or NS - why
not) as we do in the garbled-Unicode case.
|
|
Reverting back file to avoid tabs instead of spaces.
|
|
Fixing files after build and tests.
|
|
Cleaning dead code. Code removed in common was done so after a grep.
Relative to issue #17905
|
|
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.
|
|
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
|
|
|
|
Fixed various configurations:
ValueTuple and RuntimeInformation are not part of netstandard and
so they cannot not have a netstandard configuration any longer. They are
now platform specific configurations.
No ref configurations.props should have an OS as it blocks the bin-placing
of the refs in some scenarios so cleaned out some of the OS configurations
(probably need to do a full pass).
Update resolveContract logic to probe for the ref in the refpath before doing
a project reference and only falling back to project reference if it is
truely needed.
|
|
|
|
Skip more NetEventSource logging tests on .NET Framework
|
|
Similar to PR #17348.
The 'NetEventSource' logging only works on .NET Core libraries. So, we
need to skip these tests when running on full .NET Framework.
|
|
|
|
|
|
Adding System.Net.HttpListener uapaot config
|
|
Adding System.Net.Mail to the uap and uapaot closures
|
|
|
|
There are a bunch of places throughout the System.Net libraries where exceptions are captured and later thrown, using `throw e;`. This overwrites their stack trace and bucket information, making it harder to diagnose problems when they occur. Over time we've chipped away at these, so there are many fewer now than there used to be, but some still remain.
I've audited all of the System.Net libs, and fixed all the locations I found where this pattern was being employed, replacing them with usage of ExceptionDispatchInfo to avoid losing the call stack data. There are still some `throw e`s I left, but those were typically of a form where it was obvious no data would be lost, e.g. the exception was just instantiated a few lines earlier. There are likely also a few straggling cases, e.g. where `throw SomeFunction()` is used and `SomeFunction()` returns a cached exception instance, but we can address those on a case-by-case basis as we find them.
|
|
|
|
|
|
* 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"
|
|
|
|
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue #3140)
|
|
* 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
|
|
|
|
|