Jlalond
a1f1c75d4b
Added Tests for Setting Element ( dotnet/corefx#27807 )
...
* Added Tests for Setting Element
* Cleaning as per the corefx standards
* including .net license
Commit migrated from https://github.com/dotnet/corefx/commit/7e6436467cebb844bdad1a54b8f9877460a25ec5
2018-03-08 09:14:02 -08:00
Jeremy Kuhne
5e5c83f923
Add missing IInternalConfigHost method ( dotnet/corefx#27832 )
...
The intital implementation of ConfigurationManager predated the Core impl of Security.
Commit migrated from https://github.com/dotnet/corefx/commit/122cad4d21a474a48e23e6f9686b39171d7d30b7
2018-03-07 20:45:47 -08:00
Stano Peťko
075d9bd420
Added tests for throwing correct Exception. ( dotnet/corefx#25822 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/06967ad9b2344438527745bb749ba1402c19f598
2017-12-14 15:08:30 -05:00
Eric St. John
e047f03838
Fix errors with new CSC due to missing comma between attributes
...
Commit migrated from https://github.com/dotnet/corefx/commit/535828b1423795a71f0b17e0c9d00e99021deed5
2017-08-25 14:05:48 -07:00
Atsushi Kanamori
7472eecd29
Disable tests that fail on ILC due to not actually running in AppX ( dotnet/corefx#23295 )
...
Fixes https://github.com/dotnet/corefx/issues/23000
Commit migrated from https://github.com/dotnet/corefx/commit/91d8d189c0bb33ad36cfadfef5f49be31cb2dfa7
2017-08-16 09:53:04 -07:00
Atsushi Kanamori
f99b8ccd00
Fix System.Configuration.ConfigurationManagerNullComparerThrows test on ILC ( dotnet/corefx#23163 )
...
Fixes https://github.com/dotnet/corefx/issues/21004
Commit migrated from https://github.com/dotnet/corefx/commit/3048b7329f98354e69e1ef844da400289ed9851f
2017-08-11 10:39:35 -07:00
Tarek Mahmoud Sayed
3765a6069b
Moving PlatformDetection to Corefx.Private.TestUtilities assembly ( dotnet/corefx#23109 )
...
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly
The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.
* Fix Linux BB
* Update the xunit package reference
* Fix wrong condition on one of the tests
* Update the ConditionalFact/Theory to use Type as a parameter
Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Jeremy Kuhne
f3351916d9
Use new WinRT APIs for SpecialFolders ( dotnet/corefx#22664 )
...
* Use new WinRT APIs for SpecialFolders
* Update tests
* Update test package
Fix test verification
* Clean up project files
* Add back test skip condition
* Add comments and fallback Windows dir.
Commit migrated from https://github.com/dotnet/corefx/commit/aaaffdf7b8330846f6832f43700fbcc060460c9f
2017-08-03 14:49:35 -07:00
Hugh Bellamy
887c94e252
Expose SystemDrawingSection
...
Commit migrated from https://github.com/dotnet/corefx/commit/66c5b99c8ce7b705fc1798e1a12ffba5a75556d5
2017-07-11 09:17:30 +07: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
7cdcaf5fc5
Convert Assert.Throws<ArgumentException> to AssertExtensions ( dotnet/corefx#21491 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/868f123881e520285ab09600380e38abdd457a06
2017-06-27 21:13:26 -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
tijoytk
b151debb5c
Fix the netcore test runs
...
Commit migrated from https://github.com/dotnet/corefx/commit/7da80436ffcebe031593dfc9e354613ceba02f5e
2017-06-15 17:07:49 -07:00
tijoytk
9bbf5d75b2
Fix the remaining System.ConfigManager tests.
...
Commit migrated from https://github.com/dotnet/corefx/commit/69a86949938828b2845bafaf6e236330f4086a80
2017-06-13 13:03:31 -07:00
Santiago Fernandez Madero
e8c0db60b4
Update buildtools and extensions and do tests cleanup for new attributes behavior ( dotnet/corefx#20333 )
...
* Update buildtools and extensions and do tests cleanup for new attributes behavior
Commit migrated from https://github.com/dotnet/corefx/commit/bc73a9b7ca2a644efd9fc3cb51dde3bc3726ecd7
2017-05-26 02:13:52 -05:00
Dan Moseley
ffeb4a6fd1
Disable 2 configuration tests failing on unix ( dotnet/corefx#19962 )
...
* Disable failing tests
* Fix activeissue
Commit migrated from https://github.com/dotnet/corefx/commit/dc98063aa36ff017ac02cd553b07190f6d676084
2017-05-18 22:24:38 -07:00
Jeremy Kuhne
4599f929c0
Don't manually define UriSection on NetFX ( dotnet/corefx#19574 )
...
Desktop defines UriSection in the machine.config. We don't define
anything that lives outside of ConfigurationManager in the implicit
machine.config in CoreFX.
Commit migrated from https://github.com/dotnet/corefx/commit/b92843e3f0e3bc314018b3e9dc6ac53e14213d0b
2017-05-09 20:08:21 -07:00
Jeremy Kuhne
f5618778fc
Disable Core unit test on Desktop ( dotnet/corefx#19576 )
...
Test is unit testing a CoreFx internal implemenation
Commit migrated from https://github.com/dotnet/corefx/commit/28ecf0345716ea1a58eb6851d3a2b3c2f2d53bd0
2017-05-09 19:51:48 -07:00
Viktor Hofer
3e81e922b1
Disabling xunit AppDomain in System.Configuration.ConfigurationManager in favor of consistent BaseDirectory path behavior ( dotnet/corefx#19546 )
...
* Disabled xunit AppDomain in favor of consistent BaseDirectory behavior
* Activated test again
* Refined XUnitNoAppdomain comment
Commit migrated from https://github.com/dotnet/corefx/commit/bf5ffea787235fdb095adaeb842b3362f58fcc7c
2017-05-09 17:48:36 -04:00
Jiayi Li
84b8adf536
Disable failed tests for 9 issues. ( dotnet/corefx#19463 )
...
* Disable failed tests for 9 issues.
Commit migrated from https://github.com/dotnet/corefx/commit/4d89905a77edf6e6ff42fdb682a4c70c3dfc1239
2017-05-08 13:35:34 -07:00
Jiayi Li
8ca8c4b8c8
Disable failed tests for issue 18196 and 18718. ( dotnet/corefx#19465 )
...
* Disable Failed tests For issue 18196.
Commit migrated from https://github.com/dotnet/corefx/commit/c7f5b4bb55e66ea5c6ff9eb5dc5c8781f63f03f9
2017-05-08 11:45:04 -07:00
Jiayi Li
ab9698db27
Disable failed tests for 6 issues. ( dotnet/corefx#19464 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/5efe9f60ffe252496ca6cf98cb94e29b7d088b49
2017-05-08 02:43:56 -07:00
Jiayi Li
843c8d7398
Disable failed tests for issue 19339. ( dotnet/corefx#19393 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/064f192251a20fc44612b50b507ae9eb29eca912
2017-05-05 01:44:24 -07:00
Jiayi Li
daa445156e
Disable failed test for 19340. ( dotnet/corefx#19394 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/15155258ae6957d735ed1204d78701dad81722ce
2017-05-05 01:43:48 -07:00
Jiayi Li
b0769d0e32
Disable failed tests for issue 19341. ( dotnet/corefx#19395 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/4caae55d8e8357abddcfe1a1c0b2317f571f75a5
2017-05-05 01:41:45 -07:00
Jiayi Li
ae67c436ef
Disable failed test for issue 19338. ( dotnet/corefx#19392 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/d84b1c4b21444f9b1baa3f8be132c28e40634c9d
2017-05-05 00:49:48 -07:00
Jiayi Li
a79269acd1
Disable failed test for issue 19336. ( dotnet/corefx#19391 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/21ff5d95e69d778f67c42296ccfb6992a5f16001
2017-05-05 00:45:31 -07:00
Darren Hoehna
66ae093fa1
Adding StringValidatorAttribute tests ( dotnet/corefx#19206 )
...
* Adding StringValidatorAttribute tests
* Removing extra line breaks
Commit migrated from https://github.com/dotnet/corefx/commit/0e900d86ffda1fcbf02fa7eb2856faa1408bfdfe
2017-05-04 23:28:15 -04:00
Stephen Toub
796eb1955a
Merge pull request dotnet/corefx#19348 from Jiayili1/DisableFailedTestsFor18832
...
Disable failed tests for issue 18832.
Commit migrated from https://github.com/dotnet/corefx/commit/de7219ffb476051b3dd313199d62bd9f172b1020
2017-05-04 09:31:49 -04:00
FAREAST\v-lijiay
bbeed6626d
Disable Failed test for issue 18831.
...
Commit migrated from https://github.com/dotnet/corefx/commit/01cdb56ff029ed95e44bf7fb17a8177cf71ea52f
2017-05-04 02:14:10 -07:00
FAREAST\v-lijiay
616c558c4c
Disable failed tests for issue 18832.
...
Commit migrated from https://github.com/dotnet/corefx/commit/76082ce34386eeaa03e05810732f952dcb93702e
2017-05-04 02:07:12 -07:00
Darren Hoehna
fabcc955ce
Testing the System.Configuration.ConfigurationManager.StringValidator class ( dotnet/corefx#18642 )
...
* Adding tests
* Adding tests for Validate
* Adding tests for the Validate method
* Removing a compile directive
* Re adding the compiler directive since the branch still can't automatically merge.
* Removed the wrong exception statement. I re-added them.
* Removing inline data, replaced with member data.
* SImplfying boolean tests.
* Testing contructors with reflections
* Removing tests that use reflections
Commit migrated from https://github.com/dotnet/corefx/commit/964da1015dc5460b93dd94350fb982df81c301e9
2017-04-26 07:24:34 -04:00
Santiago Fernandez Madero
917354ed7f
Fix unix time ( dotnet/corefx#18640 )
...
* Change Unix creation time to min(ctime, mtime)
Commit migrated from https://github.com/dotnet/corefx/commit/03691e62e92c73bc0fe511c25723bee70bedffc3
2017-04-19 15:16:22 -07:00
Santiago Fernandez Madero
53576168ae
Disable ConfigurationSaveTest class ( dotnet/corefx#18536 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/2f26a644670bd2ab09375e3c04fc3d2a21cfb88b
2017-04-17 23:45:24 -07:00
Santiago Fernandez Madero
e8dbf4a2f5
Disable MonoTests.System.Configuration.ConfigurationSaveTest.NotModifiedAfterSave ( dotnet/corefx#18508 )
...
* Add ActiveIssue to MonoTests.System.Configuration.ConfigurationSaveTest.NotModifiedAfterSave
* Disable other test
Commit migrated from https://github.com/dotnet/corefx/commit/29cfa210a18b18600f02fdc2dd7ff10427354f13
2017-04-17 14:45:04 -07:00
Stephen Toub
739e23741a
Disable more ConfigurationSaveTests
...
ModifyListElement and ModifyListElement2 have been failing with the same errors.
Commit migrated from https://github.com/dotnet/corefx/commit/0f36cab05faa931d886241b922a4a04dc3bf2c5d
2017-04-17 09:05:31 -04:00
Stephen Toub
2f37111d29
Merge pull request dotnet/corefx#18455 from safern/DisableConfigurationTest
...
Disable MonoTests.System.Configuration.ConfigurationSaveTest.TestElementWithCollection2
Commit migrated from https://github.com/dotnet/corefx/commit/faa08b29591ceff9ac4e2c392ee7e2e42c0501b7
2017-04-16 17:56:45 -04:00
Santiago Fernandez
ebce32a593
Disable MonoTests.System.Configuration.ConfigurationSaveTest.TestElementWithCollection2
...
Commit migrated from https://github.com/dotnet/corefx/commit/7bd27a096f7a51d3cd6d90a19578bee85f2606cf
2017-04-16 14:53:40 -07:00
Stephen Toub
42198a2db4
Also disable AddDefaultListElement, which is also failing
...
Commit migrated from https://github.com/dotnet/corefx/commit/239c73fc4a4197e1ef666bed9fb2daf176bd09a7
2017-04-16 11:04:12 -04:00
Stephen Toub
fb1df455c7
Disable frequently failing AddDefaultListElement2 test
...
Commit migrated from https://github.com/dotnet/corefx/commit/3b5f2be4bcf778e5ba9592eb34ad050c95c96c32
2017-04-16 08:49:33 -04:00
Darren Hoehna
f544bfc0fb
Adding tests for the SubclassTypeValidatorAttribute class. ( dotnet/corefx#17908 )
...
* Adding tests
* COnslodating tests into one theory.
Commit migrated from https://github.com/dotnet/corefx/commit/4fa40fe6d51f9637a983da75c5c812e2152e23d4
2017-04-05 22:43:35 -04:00
Darren Hoehna
0b98d53e21
Adding tests for the TimeSpanValidator class ( dotnet/corefx#17694 )
...
* Adding the TimeSpanValidatorAttributeTests class. Yeah.
* Forgot the csproj file
* Starting adding tests.
* Adding MaxValueString tests.
* Adding ExcludedRange tests.
* Adding GetMinValue
* Switching computers
* Removing 0
* CHanging a name of a file
* Removing the incorrectly named file.\
* Adding test for a too big max value
* Adding test for a too big max value
* Removing unused usings
* Fixing some merge comments.
Commit migrated from https://github.com/dotnet/corefx/commit/0c7359586614c5e0b3001e0f39d70c6e19c7782d
2017-03-30 14:50:40 -07:00
Stanislav Ushakov
6ee0b54a5a
Update ConfigurationManagerTest to write to temp directory ( dotnet/corefx#17384 )
...
* Update ConfigurationManagerTest to write to temp directory
Use TempDirectory instead of the current directory where the test is running
Fix dotnet/corefx#17199
* Fixes after code review
Commit migrated from https://github.com/dotnet/corefx/commit/66f971ac90f65dd6e4e184f9fa19f5f84fb03ac2
2017-03-23 11:00:02 -07:00
Darren Hoehna
c39c8c436c
Adding tests for System.Configuration.ConfigurationManager.UrlPath ( dotnet/corefx#16984 )
...
* Adding GetDirectoryOrRootName tests.
* Adding tests for EqualOrSubDirectory, messing with params
* Finishing or IsEqualOrSubDirectory().
* Using TempDirectory and TempFile instead of the exe path.
* Fixing typo.
* Removing constants.
* Removing TempDirectory and TempFile. They were making tests on different OSs fail.
* Removing adding a slash to the end of the return value of GetDirectoryOrRoot.
* Fixing types
* Removing blank line to make spacing uniform.
Commit migrated from https://github.com/dotnet/corefx/commit/e4e417440e7aa658891ab4cf4cd1923adf4a08d5
2017-03-21 09:51:31 -07:00
Pavel Maltsev
ee7438969a
Add tests for System.Configuration.NameValueConfigurationCollection ( dotnet/corefx#16434 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/73b47a2a44a52e6fb0e61f9c483f33e88a170c09
2017-02-24 10:55:13 -08:00
Pavel Maltsev
0cb1b32cc8
Tests for System.Configuration.ApplicationSettingsBase class ( dotnet/corefx#16304 )
...
* Tests for System.Configuration.ApplicationSettingsBase class
* Typo fixed
Commit migrated from https://github.com/dotnet/corefx/commit/9576ed4fa15022b802950880dc9c44647cb3769f
2017-02-23 17:26:55 -08:00
Jeremy Kuhne
a91a07647f
Robustify Mono configuration tests ( dotnet/corefx#16273 )
...
Creating a temp file and deleting then rewriting over it is risky. File
deletions aren't synchronous- they are just flagged for deletion.
This change uses one of our existing temp directory classes and creates
random filenames within.
See dotnet/corefx#16270
Commit migrated from https://github.com/dotnet/corefx/commit/2c36834c5e8dd00e7aaf09cfb25717271ff16f18
2017-02-17 12:20:07 -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
Pavel Maltsev
c511611667
Fix for System.Configuration.SettingsPropertyValue ( dotnet/corefx#16239 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/35a3c5802f2a34c28ffbf3dfad70cd373c2b9f33
2017-02-16 20:20:18 -08:00
Pavel Maltsev
1f06be1def
Add tests for System.Configuration.UriSection ( dotnet/corefx#15832 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/cfed28ccb666fdf99cf45600f03c826c133f6567
2017-02-07 10:03:07 -08:00