mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add missing -Tag 'CI' to describe blocks. (#18316)
This commit is contained in:
@@ -540,7 +540,7 @@ Describe "Error handling within a single 'Clean' block" -Tag 'CI' {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Multiple errors from 'Clean' and another named block" {
|
||||
Describe "Multiple errors from 'Clean' and another named block" -Tag 'CI' {
|
||||
|
||||
BeforeAll {
|
||||
function MultipleErrors {
|
||||
|
||||
@@ -142,7 +142,7 @@ Describe "Tests for hashtable to PSCustomObject conversion" -Tags "CI" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Error message with settable Property information" {
|
||||
Describe "Error message with settable Property information" -Tag 'CI' {
|
||||
BeforeAll {
|
||||
Add-Type @"
|
||||
namespace HashtableConversionTest {
|
||||
|
||||
@@ -162,7 +162,7 @@ Describe "Will error correctly if an attempt to set variable to improper value"
|
||||
}
|
||||
}
|
||||
|
||||
Describe "find.exe uses legacy behavior on Windows" {
|
||||
Describe "find.exe uses legacy behavior on Windows" -Tag 'CI' {
|
||||
BeforeAll {
|
||||
$currentSetting = $PSNativeCommandArgumentPassing
|
||||
$PSNativeCommandArgumentPassing = "Windows"
|
||||
|
||||
@@ -50,7 +50,7 @@ Describe 'Switch-Process tests for Unix' -Tags 'CI' {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Switch-Process for Windows' {
|
||||
Describe 'Switch-Process for Windows' -Tag 'CI' {
|
||||
BeforeAll {
|
||||
$originalDefaultParameterValues = $PSDefaultParameterValues.Clone()
|
||||
if (!$IsWindows)
|
||||
|
||||
@@ -230,7 +230,7 @@ decimal : 4567.123456789
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Format-List color tests' {
|
||||
Describe 'Format-List color tests' -Tag 'CI' {
|
||||
BeforeAll {
|
||||
$originalRendering = $PSStyle.OutputRendering
|
||||
$PSStyle.OutputRendering = 'Ansi'
|
||||
|
||||
@@ -866,7 +866,7 @@ A Name B
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Table color tests' {
|
||||
Describe 'Table color tests' -Tag 'CI' {
|
||||
BeforeAll {
|
||||
$originalRendering = $PSStyle.OutputRendering
|
||||
$PSStyle.OutputRendering = 'Ansi'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
Describe 'OutputRendering tests' {
|
||||
Describe 'OutputRendering tests' -Tag 'CI' {
|
||||
BeforeEach {
|
||||
if ($null -ne $PSStyle) {
|
||||
$oldOutputRendering = $PSStyle.OutputRendering
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
Describe 'Tests for $PSStyle automatic variable' {
|
||||
Describe 'Tests for $PSStyle automatic variable' -Tag 'CI' {
|
||||
BeforeAll {
|
||||
$styleDefaults = @{
|
||||
Reset = "`e[0m"
|
||||
@@ -380,7 +380,7 @@ Describe 'Tests for $PSStyle automatic variable' {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Handle strings with escape sequences in formatting' {
|
||||
Describe 'Handle strings with escape sequences in formatting' -Tag 'CI' {
|
||||
|
||||
BeforeAll {
|
||||
function Get-DemoObjects {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
Describe "Isolated module scenario - load the whole module in custom ALC" {
|
||||
Describe "Isolated module scenario - load the whole module in custom ALC" -Tag 'CI' {
|
||||
It "Loading 'IsolatedModule' should work as expected" {
|
||||
## The 'IsolatedModule' module can be found at '<repo-root>\test\tools\Modules'.
|
||||
## The module assemblies are created and deployed by '<repo-root>\test\tools\TestAlc'.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
Describe 'Tests for OrderedHashtable' {
|
||||
Describe 'Tests for OrderedHashtable' -Tag 'CI' {
|
||||
|
||||
It 'Can create an empty OrderedHashtable' {
|
||||
$oh =[System.Management.Automation.OrderedHashtable]::new()
|
||||
|
||||
Reference in New Issue
Block a user