Commit 9be9c57
Enable analyzer for xUnit2000 (Constants and literals should be the expected argument) (dotnet/corefx#39842)
* Enable xUnit2000 analyzer
This commit enables xUnit2000 (Constants and literals should be the expected argument) and apply fixes for the existing violating codes.
* a Massive commit fixing xUnit2000
* fixing some 2003 errors
* Fix mistakes
* Fix missed errors for unix
Commit migrated from dotnet/corefx@93d7aa11 parent 0d73813 commit 9be9c57
189 files changed
Lines changed: 1390 additions & 1390 deletions
File tree
- src/libraries
- Common/tests
- System/Security/Cryptography/AlgorithmImplementations/ECDsa
- Tests/System
- Text
- Microsoft.VisualBasic.Core/tests/Microsoft/VisualBasic
- FileIO
- MyServices
- System.Buffers/tests/ArrayPool
- System.Collections.Concurrent/tests
- System.Collections.NonGeneric/tests
- System.Collections/tests/Generic/List
- System.ComponentModel.Composition.Registration/tests/System/ComponentModel/Composition/Registration
- System.ComponentModel.Composition/tests/System
- ComponentModel/Composition
- AttributedModel
- Hosting
- ReflectionModel
- Integration
- System.ComponentModel.TypeConverter/tests
- System.Composition.Convention/tests
- System.Composition/tests
- System.Configuration.ConfigurationManager/tests/System/Configuration
- System.Data.Common/tests/System/Data
- Common
- SqlTypes
- System.Data.SqlClient/tests
- FunctionalTests
- ManualTests/SQL
- ParameterTest
- TransactionTest
- UdtTest
- WeakRefTest
- System.Diagnostics.DiagnosticSource/tests
- System.Diagnostics.Process/tests
- System.Diagnostics.Tracing/tests/BasicEventSourceTest
- Harness
- System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory
- System.Drawing.Common/tests/Drawing2D
- System.Globalization.Calendars/tests/Misc
- System.Globalization.Extensions/tests/IdnMapping
- System.Globalization/tests/System/Globalization
- System.IO.FileSystem.AccessControl/tests
- System.IO.FileSystem.DriveInfo/tests
- System.IO.Packaging/tests
- System.IO.UnmanagedMemoryStream/tests
- System.IO/tests
- StreamReader
- TextReader
- System.Json/tests/System/Json
- System.Linq.Expressions/tests
- Dynamic
- Lambda
- SequenceTests
- Switch
- System.Linq/tests
- System.Memory/tests
- MemoryMarshal
- ReadOnlyBuffer
- System.Net.Http/tests/FunctionalTests
- System.Net.Mail/tests/Functional
- System.Net.Primitives/tests/FunctionalTests
- System.Net.Requests/tests
- System.Net.Sockets/tests/FunctionalTests
- System.Numerics.Vectors/tests
- System.Private.Uri/tests
- ExtendedFunctionalTests
- FunctionalTests
- System.Private.Xml.Linq/tests
- SDMSample
- TreeManipulation
- events
- System.Private.Xml/tests
- XmlDocument
- XmlDocumentTests
- XmlElementTests
- XmlNamedNodeMapTests
- XmlNodeTests
- XmlNodeReader/System.Xml.XmlNodeReader.Tests
- XmlSchema
- XmlSchemaSet
- XmlSchemaValidatorApi
- XmlSerializer
- Xslt/XslCompiledTransformApi
- System.Reflection.Emit/tests/ModuleBuilder
- System.Reflection.MetadataLoadContext/tests/src/Tests
- MetadataLoadContext
- TypeInfoFromProjectN
- Type
- System.Reflection.Metadata/tests
- Metadata
- Utilities
- System.Reflection.TypeExtensions/tests/ConstructorInfo
- System.Reflection/tests
- System.Runtime.Caching/tests/AdditionalCacheTests
- System.Runtime.Extensions/tests/System
- IO
- System.Runtime.Numerics/tests/BigInteger
- System.Runtime.Serialization.Formatters/tests
- System.Runtime.Serialization.Json/tests
- System.Runtime.Serialization.Xml/tests
- System.Runtime/tests/System
- Reflection
- Runtime/CompilerServices
- System.Security.Cryptography.Xml/tests
- System.Text.Encoding.Extensions/tests
- System.Text.Json/tests
- NewtonsoftTests
- Serialization
- System.Threading.Tasks.Dataflow/tests/Dataflow
- System.Threading.Tasks.Parallel/tests
- System.Threading.Tasks/tests
- Task
- System.Threading/tests
- System.Transactions.Local/tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2618 | 2618 | | |
2619 | 2619 | | |
2620 | 2620 | | |
2621 | | - | |
| 2621 | + | |
2622 | 2622 | | |
2623 | 2623 | | |
2624 | 2624 | | |
| |||
2628 | 2628 | | |
2629 | 2629 | | |
2630 | 2630 | | |
| 2631 | + | |
2631 | 2632 | | |
2632 | 2633 | | |
2633 | 2634 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
Lines changed: 21 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
403 | | - | |
| 403 | + | |
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
| 544 | + | |
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
| 557 | + | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | 574 | | |
575 | | - | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
0 commit comments