Skip to content

Feat/get resource log category #36

Feat/get resource log category

Feat/get resource log category #36

GitHub Actions / WinPS71 Test Results failed Mar 28, 2024 in 0s

6 fail, 7 pass in 0s

13 tests  ±0   7 ✅  - 1   0s ⏱️ ±0s
 5 suites ±0   0 💤 ±0 
 1 files   ±0   6 ❌ +1 

Results for commit 373ff87. ± Comparison against earlier commit f27cc3e.

Annotations

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Property Initialization.should validate correct data input failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
    +             throw ($errors -join "`n")
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at $ValidObj1Properties.SourceType) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:82
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:79

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Constructors Tests.Should create the object with separate properties failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
    +             throw ($errors -join "`n")
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at $ValidObj1Properties.SourceType) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:104
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:101

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Constructors Tests.should create an object with constructor from hashtable failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
Expected no exception to be thrown, but an exception "SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty" was thrown from D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41 char:13
    +             throw ($errors -join "`n")
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~.
at { $obj = [ResourceLogCategory]::new($ValidObj1Properties) } | Should -Not -Throw, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:108
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:108

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should handle resource type with diagnostic settings available failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:117

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should handle resource type with no diagnostic settings failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:123

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / WinPS71 Test Results

ResourceLogCategory Class Unit Tests.ResourceLogCategory Class Methods Tests.should return a string representation of the object failed

output/testResults/CodeCoverageWinPS7/NUnitXml_CyberShell_v0.1.0-pr0009.Windows.PSv.7.4.1.xml [took 0s]
Raw output
RuntimeException: SourceType cannot be null or empty
ContainerId cannot be null or empty
ResourceTypeName cannot be null or empty
at Validate, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:41
at ResourceLogCategory, D:\a\CyberShell\CyberShell\output\module\CyberShell\0.1.0\CyberShell.psm1:59
at <ScriptBlock>, D:\a\CyberShell\CyberShell\tests\Unit\Class\ResourceLogCategory.tests.ps1:129