PowerShell/test/powershell/Language
Staffan Gustafsson fa901b646f Add ErrorMessage property to ValidatePattern, ValidateSet and ValidateScript attributes (#2728)
This makes it possibe to write for example
[ValidatePattern('[A-Z]:',  ErrorMessage='The Drive should be specified as a single letter followed by a colon, for example "D:"')]
[string] $Drive,

The element being validated is also passed, so {0} can be used in the custom error message
2017-04-20 11:31:57 -07:00
..
Classes Move powershell to .NET Core 2.0 (#3556) 2017-04-17 11:52:38 -07:00
Interop/DotNet Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Operators Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Parser Move powershell to .NET Core 2.0 (#3556) 2017-04-17 11:52:38 -07:00
Scripting Add ErrorMessage property to ValidatePattern, ValidateSet and ValidateScript attributes (#2728) 2017-04-20 11:31:57 -07:00
CompletionTestSupport.psm1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
LanguageTestSupport.psm1 Skip the parser tests that are run by 'ShouldBeParseError' in Travis Full Build (#3479) 2017-04-04 09:23:51 -07:00
map.json Fix try/catch to choose the more specific exception handler (#2429) 2016-12-09 12:37:08 -08:00