mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
add tags to describe blocks that didn't have any tags
This commit is contained in:
1 parent
19e1cc450b
commit
1b9565ae89
7 files changed
+17
-17
No files matched your search
@@ -649,7 +649,7 @@ function test-it([EE]$ee){$ee}
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Type building' -Tags "DRT" {
|
||||
Describe 'Type building' -Tags "CI" {
|
||||
It 'should build the type only once for scriptblock' {
|
||||
$a = $null
|
||||
1..10 | % {
|
||||
@@ -671,7 +671,7 @@ Describe 'Type building' -Tags "DRT" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'RuntimeType created for TypeDefinitionAst' {
|
||||
Describe 'RuntimeType created for TypeDefinitionAst' -Tags "CI" {
|
||||
|
||||
It 'can make cast to the right RuntimeType in two different contexts' -pending {
|
||||
|
||||
@@ -707,7 +707,7 @@ class Derived : Base
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'TypeTable lookups' {
|
||||
Describe 'TypeTable lookups' -Tags "CI" {
|
||||
|
||||
Context 'Call methods from a different thread' {
|
||||
$b = [powershell]::Create().AddScript(
|
||||
@@ -733,7 +733,7 @@ class B
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Protected method access' {
|
||||
Describe 'Protected method access' -Tags "CI" {
|
||||
|
||||
Add-Type @'
|
||||
namespace Foo
|
||||
@@ -816,7 +816,7 @@ return [A]::new()
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'variable analysis' {
|
||||
Describe 'variable analysis' -Tags "CI" {
|
||||
It 'can specify type construct on the local variables' {
|
||||
class A { [string] getFoo() { return 'foo'} }
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@ Describe "Exception error position" -Tags "CI" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Exception from initializer" -Tags "DRT" {
|
||||
Describe "Exception from initializer" -Tags "CI" {
|
||||
class MSFT_6397334a
|
||||
{
|
||||
[int]$a = "zz"
|
||||
|
||||
@@ -81,7 +81,7 @@ Describe 'Classes inheritance syntax' -Tags "CI" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Classes inheritance syntax errors' -Tags "DRT" {
|
||||
Describe 'Classes inheritance syntax errors' -Tags "CI" {
|
||||
ShouldBeParseError "class A : NonExistingClass {}" TypeNotFound 10
|
||||
ShouldBeParseError "class A : {}" TypeNameExpected 9
|
||||
ShouldBeParseError "class A {}; class B : A, {}" TypeNameExpected 24
|
||||
@@ -118,7 +118,7 @@ Describe 'Classes inheritance syntax errors' -Tags "DRT" {
|
||||
ShouldBeParseError "class A : C {}; class B : A {}; class C : B {}" TypeNotFound 10 -SkipAndCheckRuntimeError
|
||||
}
|
||||
|
||||
Describe 'Classes methods with inheritance' -Tags "DRT" {
|
||||
Describe 'Classes methods with inheritance' -Tags "CI" {
|
||||
|
||||
Context 'Method calls' {
|
||||
|
||||
@@ -367,7 +367,7 @@ Describe 'Classes methods with inheritance' -Tags "DRT" {
|
||||
}
|
||||
|
||||
|
||||
Describe 'Classes inheritance ctors syntax errors' -Tags "DRT" {
|
||||
Describe 'Classes inheritance ctors syntax errors' -Tags "CI" {
|
||||
|
||||
#DotNet.Interface.NotImplemented
|
||||
ShouldBeParseError "class MyComparable : system.IComparable {}" TypeCreationError 0 -SkipAndCheckRuntimeError
|
||||
@@ -382,7 +382,7 @@ Describe 'Classes inheritance ctors syntax errors' -Tags "DRT" {
|
||||
ShouldBeParseError 'class A { A([int]$a) {} }; class B : A {}' BaseClassNoDefaultCtor 27 -SkipAndCheckRuntimeError
|
||||
}
|
||||
|
||||
Describe 'Classes inheritance ctors' -Tags "DRT" {
|
||||
Describe 'Classes inheritance ctors' -Tags "CI" {
|
||||
|
||||
It 'can call base ctor' {
|
||||
class A {
|
||||
@@ -508,7 +508,7 @@ Describe 'Classes inheritance ctors' -Tags "DRT" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Type creation' {
|
||||
Describe 'Type creation' -Tags "CI" {
|
||||
It 'can call super-class methods sequentially' {
|
||||
$sb = [scriptblock]::Create(@'
|
||||
class Base
|
||||
|
||||
@@ -73,7 +73,7 @@ Describe 'enums' -Tags "CI" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe 'Basic enum errors' -Tags "DRT" {
|
||||
Describe 'Basic enum errors' -Tags "CI" {
|
||||
|
||||
Import-Module $PSScriptRoot\..\LanguageTestSupport.psm1
|
||||
|
||||
|
||||
Reference in new issue
Block a user