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
Pavel Maltsev
b827fa46ee
Add tests for Configuration SectionGroups ( dotnet/corefx#15794 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/262c16719587fdd61ad6ae26497daab52703bda2
2017-02-04 18:05:06 -08:00
Pavel Maltsev
09eb3661fe
Added test for ConnectionStrings section read ( dotnet/corefx#15701 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/3ad5098ea0b72d6d3f7452e3b96be897ceaa3149
2017-02-01 17:48:01 -08:00
Jeremy Kuhne
6ac91dc88f
Rename System.Configuration ( dotnet/corefx#15256 )
...
* Rename System.Configuration folder
Changing the name of System.Configuration to
System.Configuration.ConfigurationManager. This change renames the folder.
* Rename files and change code
Rename the project files and change assembly name usages to match the new
assembly name.
* Merge in solution changes
Commit migrated from https://github.com/dotnet/corefx/commit/a8dce7c1c905e994c9519e0f26b0497832942a10
2017-01-17 16:12:23 -08:00