Ilya
e177fcaef6
CodeFactor code style cleanup: replace literal empty strings with 'string.Empty' ( #6950 )
2018-06-12 12:30:10 -07:00
Ilya
a5f77955e8
Fix xUnit test GetTempFileName ( #6943 )
...
Use Path.GetTempFileName() to get a temporary file.
2018-05-31 11:03:14 +05:00
Steve Lee
c1c5344a88
Update copyright and license headers ( #6134 )
...
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.
Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.
Separate PR coming to update contribution document for new source files: #6140
Manually reviewed each change.
Fix #6073
2018-02-13 09:23:53 -08:00
Dongbo Wang
117e83a025
Add xUnit tests for reading Policy settings from config file
2018-01-04 13:40:51 -08:00
Chunqing Chen
52df947080
Fix xunnit test for PS ( #4780 )
...
* Initial work to enable xunit
* Moved AssemblyOriginatorKeyFile to csharp.tests.csproj
* Native binary has dylib extension on macOS
2017-11-30 14:44:41 -08:00
Jonathan Muller
ad17640d48
Clean up use of 'Runspaceconfiguration' from comments and xunit test code ( #5569 )
2017-11-29 09:38:04 -08:00
Ilya
4ad4b194fc
Convert tab indentations to spaces in *.cs files ( #3551 )
...
Prepare to pass meta test.
2017-04-13 13:45:46 -07:00
Jason Shirk
02b5f357a2
Remove trailing whitespace ( #3001 )
2017-01-16 13:31:14 -08:00
Josh Soref
2badb244de
spelling fixes: test
2016-08-25 17:49:32 +00:00
Andrew Schwartzmeyer
4234b3db73
Remove CoreConsoleHost from xUnit tests
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
bfaad3f057
Programmatic update of core console host rename
2016-04-08 10:59:41 -07:00
Andrew Schwartzmeyer
5a1666c984
Fix programatic references to Linux.Host
2016-04-01 19:15:41 -07:00
JumpingYang001
b4ec4bf0d8
Fix travis fail with different Mode format in special machine for FileSytemProvider xunit test
2016-03-24 02:02:50 -07:00
JumpingYang001
81a31ab07e
Fix travis fail for FileSytemProvider xunit test
2016-03-24 01:38:35 -07:00
JumpingYang001
7c5a13ec74
Update FileSystemProviderTest to let all test method works for #120
2016-03-24 01:11:11 -07:00
JumpingYang001
31ec32896f
Update Fact Skip for not work tests for FileSystemProvider xunit test
2016-03-22 20:23:37 -07:00
JumpingYang001
5c35053350
Update test fix for test_FileSystemProvider.cs
2016-03-22 20:23:37 -07:00
JumpingYang001
920bc1f3f8
Add FileSystemProvider xUnit test for issue 120
2016-03-22 20:23:37 -07:00
Andrew Schwartzmeyer
6d93a1766b
Add all classes to AssemblyLoadContext collection
...
To ensure that the initializer is called before any other code. This is
as close to a global init hook as I can find.
2016-03-17 18:15:39 -07:00
Andrew Schwartzmeyer
bbebf2f76a
Reorganize tests
...
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00